GRE tunnels between Cisco and Linux routers using iproute

This article was first written in August 2004 for the BeezNest technical
website (

GRE tunnels between Cisco and Linux (2.4 and up) routers are possible.

Given the following two routers, each one gateway for its network:


Public IP:

Private network:

IP on that private network:


Public IP:

Private network:

IP on that private network:

See IP in IP or GRE tunnel using iproute for the Linux configuration part.

For the Cisco part, it is quite similar, as the needed portion of configuration is something like this:

interface Tunnel1
 description connection to Linux Network
 ip address
 tunnel source Dialer1
 tunnel destination
 tunnel mode gre ip

Where Dialer1 is the name of the interface of the Cisco router connected to Internet (it’s used to always match the actual and current public IP of the router).

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on TumblrEmail this to someone


  1. you could have put the linux example that matches the cisco example above.. is it possible to do encryption over this tunnel between cisco and linux?

    • Isn’t the Linux example (using iproute) in the other article linked from the present one?

      The encryption, at least at the time of writing, was not possible, because Cisco did not implement any open encryption mechanism that Linux could implement (sigh! patents!) in iOS.

      Hope this answers your questions.

Leave a Reply

Your email address will not be published. Required fields are marked *