cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2160
Views
0
Helpful
13
Replies

EIGRP Static route pointing to NULL 0

mudasir05
Beginner
Beginner

Hello Everyone,

I was just going through one of the labs in EIGRP in which I created two static routes both pointing to Null0.

However I observed that one of them got advertised and the other didn't.

R3#sh run | sec ip rou      ##router on which static route was created
ip route 11.0.0.0 255.0.0.0 Null0
ip route 55.55.55.0 255.255.255.0 Null0

 

R2#sh ip route    ###the neighbor router on which one of the static route was advertied but not the other.
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route

Gateway of last resort is not set

C    192.168.12.0/24 is directly connected, FastEthernet0/0
     1.0.0.0/24 is subnetted, 1 subnets
D       1.1.1.0 [90/409600] via 192.168.12.1, 00:05:37, FastEthernet0/0
     2.0.0.0/24 is subnetted, 1 subnets
C       2.2.2.0 is directly connected, Loopback0
     3.0.0.0/24 is subnetted, 1 subnets
D       3.3.3.0 [90/409600] via 192.168.23.3, 00:05:29, FastEthernet0/1
C    192.168.23.0/24 is directly connected, FastEthernet0/1
D    11.0.0.0/8 [90/281600] via 192.168.23.3, 00:05:29, FastEthernet0/1

 

 

Can anyone plz have a look and throw some light.

Thanks

 

 

 

2 Accepted Solutions

Accepted Solutions

Thank you for posting the configuration of both routers. It does make clear that there is not any filtering of routes on either router.

 

I believe that this behavior reflects the use of the statement network 0.0.0.0 under router EIGRP. There are two networks associated with interface Null 0 and EIGRP is picking up only one of them. I am not clear whether it is matching on the first one in the configuration or on the lowest numerical value. I do not believe that it is a question of classful vs classless behavior. I believe that if you were to change the static routes to this that the behavior would be the same

ip route 11.11.11.0 255.255.255.0 Null0
ip route 55.0.0.0 255.0.0.0 Null0

 

It would also be interesting to see what happens if you add network statements for both networks under router EIGRP

router eigrp 100

network 11.0.0.0

network 55.0.0.0

note that I am suggesting adding these to the existing network 0.0.0.0 and am not suggesting changing or eliminating it. Though it would also be interesting to see the results if you remove network 0.0.0.0 and put in network statements for the specific networks that you want to be advertised.

 

HTH

 

Rick

HTH

Rick

View solution in original post