Router#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, 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.10.0/24 is directly connected, FastEthernet0/0 C 192.168.20.0/24 is directly connected, Serial0/1/0 S 192.168.30.0/24 [1/0] via 192.168.20.2 S 192.168.40.0/24 [1/0] via 192.168.20.2 S 192.168.50.0/24 [1/0] via 192.168.20.2 Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.20.2 Router(config)#exit Router# %SYS-5-CONFIG_I: Configured from console by console
Router#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, 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 192.168.20.2 to network 0.0.0.0
C 192.168.10.0/24 is directly connected, FastEthernet0/0 C 192.168.20.0/24 is directly connected, Serial0/1/0 S 192.168.30.0/24 [1/0] via 192.168.20.2 S 192.168.40.0/24 [1/0] via 192.168.20.2 S 192.168.50.0/24 [1/0] via 192.168.20.2 S* 0.0.0.0/0 [1/0] via 192.168.20.2 Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#no ip route 192.168.30.0 255.255.255.0 192.168.20.2 Router(config)#no ip route 192.168.40.0 255.255.255.0 192.168.20.2 Router(config)#no ip route 192.168.50.0 255.255.255.0 192.168.20.2 Router(config)#exit Router# %SYS-5-CONFIG_I: Configured from console by console 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, 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 192.168.20.2 to network 0.0.0.0
C 192.168.10.0/24 is directly connected, FastEthernet0/0 C 192.168.20.0/24 is directly connected, Serial0/1/0 S* 0.0.0.0/0 [1/0] via 192.168.20.2 Router#
|