SETTING DEFAULT ROUTE  

Friday, November 14, 2008

setting a default route will do the trick

CODE
r2#config t
Enter configuration commands, one per line. End with CNTL/Z.
r2(config)#router ospf 1
r2(config-router)#default-information originate always
r2(config-router)#end
r2#

r1#ping 192.168.30.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.30.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 36/72/124 ms
r1#


CODE
r3#sir
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 172.16.23.2 to network 0.0.0.0

C 192.168.30.0/24 is directly connected, Loopback30
C 192.168.25.0/24 is directly connected, Loopback25
C 192.168.40.0/24 is directly connected, Loopback40
172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
C 172.16.23.0/24 is directly connected, Serial2/1
C 172.16.3.0/24 is directly connected, Loopback0
O 172.16.2.1/32 [110/65] via 172.16.23.2, 00:02:54, Serial2/1
C 192.168.20.0/24 is directly connected, Loopback20
C 192.168.35.0/24 is directly connected, Loopback35
O*E2 0.0.0.0/0 [110/1] via 172.16.23.2, 00:02:54, Serial2/1 -------*
r3#

Design by Blogger Buster | Distributed by Blogging Tips