howtonetwork.net

Cisco Certification Training

  • Products
  • CCNA
    • CCNA Videos
    • CCNA Lectures
    • CCNA Practice Exams
    • Challenge Labs
      • Challenge Video Solutions
    • Cisco Commands
  • CCNP ROUTE
    • ROUTE Exams
  • CCNP SWITCH
    • SWITCH Exams
  • CCNP TSHOOT
  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training
You are here: Home / IP Split-horizon

IP Split-horizon

Command

IP Split-horizon

Use

Split Horizon protects against routing loops by not accepting routes on the same interface that a router sends out the updates out.
This normally has to be turned off in hub and spoke topologies to ensure full reachability.

Syntax

Router(config-if)#no ip split-horizon

Example
simple

In this example, we will configure RIP on the frame-relay links.

R1(config)#router rip
R1(config-router)#version 2
R1(config-router)#no auto
R1(config-router)#network 10.0.0.0
R1(config-router)#network 1.1.1.1

R3(config)#router rip
R3(config-router)#version 2
R3(config-router)#no auto
R3(config-router)#network 3.3.3.3
R3(config-router)#network 10.0.0.0

R4(config)#router rip
R4(config-router)#version 2
R4(config-router)#no auto
R4(config-router)#network 4.0.0.0
R4(config-router)#network 10.0.0.0

Looking at the routing table on R1 and R3 reveals that they are only learning R4’s routes.

R1(config)#do sh ip route rip
4.0.0.0/24 is subnetted, 1 subnets
R 4.4.4.0 [120/1] via 10.4.4.4, 00:00:08, Serial1/0

R3(config-if)#do show ip route rip
4.0.0.0/24 is subnetted, 1 subnets
R 4.4.4.0 [120/1] via 10.4.4.4, 00:00:03, Serial1/0

R4 receives both R1 and R3 routes just fine.

R4(config-router)#do show ip route rip
1.0.0.0/32 is subnetted, 3 subnets
R 1.1.1.1 [120/1] via 10.4.4.1, 00:00:11, Serial0/0
R 1.3.3.3 [120/1] via 10.4.4.1, 00:00:11, Serial0/0
R 1.2.2.2 [120/1] via 10.4.4.1, 00:00:11, Serial0/0
3.0.0.0/32 is subnetted, 1 subnets
R 3.3.3.3 [120/1] via 10.4.4.3, 00:00:08, Serial0/0

Now we will disable split-horizon on R4’s S0/0.

R4(config-router)#int s0/0
R4(config-if)#no ip split-horizon

And now we receive all routes.

R3(config-if)#do show ip route rip
1.0.0.0/32 is subnetted, 3 subnets
R 1.1.1.1 [120/2] via 10.4.4.1, 00:00:02, Serial1/0
R 1.3.3.3 [120/2] via 10.4.4.1, 00:00:02, Serial1/0
R 1.2.2.2 [120/2] via 10.4.4.1, 00:00:02, Serial1/0
4.0.0.0/24 is subnetted, 1 subnets
R 4.4.4.0 [120/1] via 10.4.4.4, 00:00:02, Serial1/0

Get access to over 5 hours of IT webinar videos as well as regular study tips and ideas when you
join our mailing list

About This Site

We replaced this site some time ago with an upgraded version. Please feel free to enjoy the content and if you like what you see check out our brilliant new site:

howtonetwork.com

Keep In Touch

About Us

This is a free access website which has now been replaced by howtonetwork.com.

Navigation

  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training

Copyright

All content is protected by international copyright laws. Copyright Reality Press Ltd.

Copyright © 2023 · Dynamik Website Builder on Genesis Framework · WordPress · Log in