Re: Generate Default Routes for IGRP

From: John Mistichelli (jmistichelli@xxxxxxxxx)
Date: Sun May 12 2002 - 07:41:20 GMT-3


   
 Hi David,
I think you may be expecting IGRP to do something it doesn't do. When you use t
he 'ip default-network x.x.x.x' command it will mark network x.x.x.x as a defau
lt (marked with a *) in the routing table but will not insert a route to 0.0.0.
0.
For example:
200.200.200.0 (default) - RouterA -- 10.0.0.0 -- RouterB
ip default-network 200.200.200.0 on RouterA:
RouterA#sho ip ro
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
       U - per-user static route, o - ODR
Gateway of last resort is not set
 * 200.200.200.0/30 is subnetted, 1 subnets
C* 200.200.200.0 is directly connected, Loopback0
C 10.0.0.0/8 is directly connected, Ethernet0

NOTE: Notice the * in front of the default network.
RouterB:
Bart#sho ip ro
Codes: C - connected, S - static, I - IGRP, 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, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default
       U - per-user static route, o - ODR
Gateway of last resort is 10.0.0.1 to network 200.200.200.0
I* 200.200.200.0/24 [100/1600] via 10.0.0.1, 00:00:34, Ethernet0
C 10.0.0.0/8 is directly connected, Ethernet0

NOTE: The "Gateway of last resort" was set to 10.0.0.1 which is RouterA's addre
ss. You may consider adding "ip classless" in your configurations as well.

Hope that helps.
John
7536



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:58:55 GMT-3