DEFAULT ROUTING
Syntax:
Router(config)#ip route 0.0.0.0 0.0.0.0 {<Next hop IP address> or
< Exit Interface type><No.>}
ON DELHI:-
DELHI #configure terminal
DELHI(config) #ip routing
DELHI(config-if)#ip route 0.0.0.0 0.0.0.0 Serial 0
DELHI(config) #exit
DELHI#
To verify, the following commands can be give on all Routers
Show commands:
Router#show ip route
Output:
Delhi#sh 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.1.0/24 is directly connected, FastEthernet0/0
No comments:
Post a Comment