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 126.96.36.199 255.0.0.0 Null0 ip route 188.8.131.52 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 184.108.40.206/24 is subnetted, 1 subnets D 220.127.116.11 [90/409600] via 192.168.12.1, 00:05:37, FastEthernet0/0 18.104.22.168/24 is subnetted, 1 subnets C 22.214.171.124 is directly connected, Loopback0 126.96.36.199/24 is subnetted, 1 subnets D 188.8.131.52 [90/409600] via 192.168.23.3, 00:05:29, FastEthernet0/1 C 192.168.23.0/24 is directly connected, FastEthernet0/1 D 184.108.40.206/8 [90/281600] via 192.168.23.3, 00:05:29, FastEthernet0/1
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 220.127.116.11 255.255.255.0 Null0 ip route 18.104.22.168 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
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.