How to create a tunnel and connect 2 different ip subnets
- Friday, June 20, 2008, 8:51
- Study Guide
- 16 views
- Add a comment
This is a handy trick if you want to connect 2 different subnets (belonging to 2 routers that are some hops away) and you can’t use your own ip addresses.
Router1 – RouterX – RouterY – Router2
Router 1
interface Loopback0 ip address 100.1.6.6 255.255.255.0 ! int Serial0/0 ip address 100.2.6.6 255.255.255.0 ! interface Tunnel0 ip unnumbered Loopback0 tunnel source Serial0/0 tunnel destination 100.2.7.7 ! router ospf 111 passive-interface Loopback0 network 100.1.6.6 0.0.0.0 area 111
Router 2
Donwload Free PassGuide Braindumps-The Most Realistic Practice Questions and Answers,Help You Pass any Examsinterface Loopback0 ip address 100.1.7.7 255.255.255.0 ! int Serial0/0 ip address 100.2.7.7 255.255.255.0 ! interface Tunnel0 ip unnumbered Loopback0 tunnel source Serial0/0 tunnel destination 100.2.6.6 ! router ospf 111 passive-interface Loopback0 network 100.1.7.7 0.0.0.0 area 111
OSPF can work fine between different subnets, as long as ip unnumbered is used.
Just keep in mind that if you’re already using OSPF in these two routers, then you have to use a different OSPF process for this tunnel link. Also make sure you define the tunnel interfaces as passive under the other (main) process.
You can do the same (probably easier) if you use RIP and configure “no validate-update-source” under its process.
EIGRP doesn’t seem to provide a similar feature.
PassGuide Cisco Exams Questions & Training Materials
- Free CCNA 2 – Module 1 Exam Answers
- Free How to filter OSPF routes that have the same source ip
- Free How to setup a Cisco IP SLA TCP connect operation
- Free [offer] Ccna 640-802 Slides and P4s ccna
- Free CCNA Lab 2 Set Router Port Address/Label and Save Settings
- Free CCNA 2 – Module 2 Exam Answers
- Free Test4actual cisco ccna 640-802 v 9.8
- Free passguide jn0-360
- Free TrainSignal CCNP BSCI (642-901)
- Free [offer] Ccie Voice Home Lab With Dynamips/vmware
- Free Cisco CCNA video Mentor (640-802)
- Free juniper jn0-522 JNCIA-FWV braindumps
About the Author
Write a Comment
Gravatars are small images that can show your personality. You can get your gravatar for free today!

