3. default routing
¡¡ |
Command log
|
|
router# config
Enter configuration commands, one per line. End with CNTL/Z
router(config)# show route
Codes: C - connected, S - static, R - RIP, O - OSPF
C 127.0.0.0 is directly connected, 127.0.0.1 loopback0
168.126.0.0/16 is subnetted
C 168.126.62.0 is directly connected, 168.126.62.2 atm0.0
C 211.211.10.0 is directly connected, 211.211.10.1 ether0.0
router(config)# route 0.0.0.0
0.0.0.0 168.126.62.1
router(config)# show route
Codes: C - connected, S - static, R - RIP, O - OSPF
S 0.0.0.0/0 [5/0] via 168.126.62.1, atm0.0
C 127.0.0.0 is directly connected, 127.0.0.1
loopback0
168.126.0.0/16 is subnetted
C 168.126.62.0 is directly connected, 168.126.62.2 atm0.0
C 211.211.10.0 is directly connected, 211.211.10.1 ether0.0 |
¡¡
|