Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 10

Discard Routes and

Avoiding Routing Loops


Rick Graziani
Cabrillo College

Scenario
ISP Network

ISP has static routes for


172.16.0.0/16 and
192.168.1.0/24 to RTA

ISP
RTA has a static default
route 0.0.0.0/0 to ISP
Central Office

Remote Office

172.16.1.0/24

RTA
172.16.4.0/24
172.16.2.0/24
172.16.3.0/24

RTB

192.168.1.0/24
172.16.5.0/24

RTC

Customer Network
172.16.0.0/16 and 192.168.1.0/24

Situation Normal

RouterA#show ip route

C
C
R
R
S*

172.16.0.0/24 is subnetted, 3 subnets


172.16.1.0 is directly connected, Ethernet0
172.16.2.0 is directly connected, Ethernet1
172.16.3.0 [120/1] via 172.16.2.1, 00:00:20, Ethernet1
172.16.4.0 [120/2] via 172.16.2.1, 00:00:20, Ethernet1
0.0.0.0/0 is directly connected, Serial1

Link Down

Link Down

RouterA#show ip route

C
C
S*

172.16.0.0/24 is subnetted, 3 subnets


172.16.1.0 is directly connected, Ethernet0
172.16.2.0 is directly connected, Ethernet1
0.0.0.0/0 is directly connected, Serial1

Link down Solution


#1: no ip classless

RouterA#show ip route

C
C
S*

172.16.0.0/24 is subnetted, 3 subnets


172.16.1.0 is directly connected, Ethernet0
172.16.2.0 is directly connected, Ethernet1
0.0.0.0/0 is directly connected, Serial1

Link down Solution


#2: Discard Route

RTA(config)# ip route 172.16.0.0 255.255.0.0 null0

Link down Solution


#2: Discard Route

RTA(config)# ip route 172.16.0.0 255.255.0.0 null0


RouterA#show ip route

S
C
C
S*

172.16.0.0/16 is subnetted, 3 subnets, 2 masks


172.16.0.0/16 is directly connected, Null0
172.16.1.0/24 is directly connected, Ethernet0
172.16.2.0/24 is directly connected, Ethernet1
0.0.0.0/0 is directly connected, Serial1

Link down Solution #2: Discard Route


RouterA#show ip route

S
C
C
S*

172.16.0.0/16 is subnetted, 3 subnets, 2 masks


172.16.0.0/16 is directly connected, Null0
172.16.1.0/24 is directly connected, Ethernet0
172.16.2.0/24 is directly connected, Ethernet1
0.0.0.0/0 is directly connected, Serial1

When all links are up


RouterA#show ip route

S
C
C
R
R
S*

172.16.0.0/16 is subnetted, 5 subnets, 2 masks


172.16.0.0/16 is directly connected, Null0
172.16.1.0/24 is directly connected, Ethernet0
172.16.2.0/24 is directly connected, Ethernet1
172.16.3.0/24 [120/1] via 172.16.2.1, 00:00:20, Ethernet1
172.16.4.0/24 [120/2] via 172.16.2.1, 00:00:20, Ethernet1
0.0.0.0/0 is directly connected, Serial1

Discard Routes and


Avoiding Routing Loops
Rick Graziani
Cabrillo College

You might also like