From: cciein2006@yahoo.com
Date: Wed Oct 19 2005 - 11:29:07 GMT-3
Hello group,
Does the IP default-network command work for OSPF? When I configure it on my router the router creates a static summary route for the network specified in the default-network command but does not inject a 0.0.0.0 in my routing table (See example below). What good is that?
Also when I use the IP default-network command in conjunction with the default information originate command it will not advertise a default route without the "always" keyword.
My point is that if you have to use the "always" keyword, you don't even need the default-network command because a default route will be advertised regardless of whether a default route is in your routing table.
Any thoughts?
dental_ho#conf t
Enter configuration commands, one per line. End with CNTL/Z.
dental_ho(config)#
dental_ho(config)#ip default-network 128.10.1.0
dental_ho(config)#
1d02h: %SYS-5-CONFIG_I: Configured from console by console
dental_ho#show ip route
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, 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 <--- NO DEFAULT SET!!!
172.16.0.0/16 is variably subnetted, 4 subnets, 3 masks
O IA 172.16.10.0/28 [110/74] via 172.16.1.1, 1d00h, Serial2/1.1
[110/74] via 172.16.1.6, 1d00h, Serial2/1.1
C 172.16.2.4/30 is directly connected, Serial2/1.2
C 172.16.1.0/24 is directly connected, Serial2/1.1
O 172.16.3.0/24 [110/65] via 172.16.2.6, 1d00h, Serial2/1.2
128.10.0.0/16 is variably subnetted, 2 subnets, 2 masks
S 128.10.0.0/16 [1/0] via 128.10.1.0 <---WHAT GOOD IS THIS?!?
C 128.10.1.0/24 is directly connected, Ethernet0/0
dental_ho#
This archive was generated by hypermail 2.1.4 : Sun Nov 06 2005 - 22:00:51 GMT-3