Default Routing
Default Routing
➢ Router(config-if)#
➢ %LINK-5-CHANGED: Interface GigabitEthernet0/0, changed
state to up
➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#
4. IP configuration of serial interface 0/3/0 in router 1.
➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with
CNTL/Z.
➢ Router(config)#interface serial0/3/0
➢ Router(config-if)#ip address 10.0.0.2 255.0.0.0
➢ Router(config-if)#no shutdown
➢ Router(config-if)#
➢ %LINK-5-CHANGED: Interface Serial0/3/0, changed state to
up
➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#
5. IP configuration of serial interface 0/3/1 in router 1.
➢ Router(config-if)#exit
➢ Router(config)#interface serial0/3/1
➢ Router(config-if)#ip address 11.0.0.1 255.0.0.0
➢ Router(config-if)#no shutdown
➢ Router(config-if)#
➢ %LINK-5-CHANGED: Interface Serial0/3/0, changed state to
up
➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
7. IP configuration of interface gigabitethernet 0/0 in router 2.
➢ Router(config-if)#exit
➢ Router(config)#interface gigabitethernet0/0
➢ Router(config-if)#ip address 192.168.100.1 255.255.255.0
➢ Router(config-if)#no shutdown
➢
➢ Router(config-if)#
➢ %LINK-5-CHANGED: Interface GigabitEthernet0/0, changed
state to up
➢
➢ %LINEPROTO-5-UPDOWN: Line protocol on Interface
GigabitEthernet0/0, changed state to up
➢
➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#
➢ Router(config-if)#
8. IP configuration of PC0
9. IP configuration of PC1
10. IP configuration of PC2
➢ Router(config)#
16. Router 1
➢ Router(config)#do show ip route
➢ Codes: L - local, 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, 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
➢ Router(config)#
17. Router 2
➢ Router(config)#do show ip route
➢ Codes: L - local, 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, 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
➢ Router(config)#
2)
1. Create a network topology like the following.
2. IP configuration of serial interface 0/3/0 in router 0.
➢ Router>enable
➢ Router#config t
➢ Enter configuration commands, one per line. End with
CNTL/Z.
➢ Router(config)#interface serial0/3/0
➢ Router(config-if)#ip address 10.0.0.1 255.0.0.0
➢ Router(config-if)#no shutdown
➢ Router(config-if)#
➢ %LINK-5-CHANGED: Interface Serial0/3/0, changed state to
up
➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#
➢ Router(config-if)#
➢ %LINK-5-CHANGED: Interface Serial0/3/0, changed state to
up
➢ Router(config-if)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config-if)#
7. IP configuration of PC0
8. IP configuration of PC1
➢ Router#config
➢ Configuring from terminal, memory, or network [terminal]?
➢ Enter configuration commands, one per line. End with
CNTL/Z.
➢ Router(config)#ip route 0.0.0.0 0.0.0.0 10.0.0.1
➢ Router(config)#ip route 0.0.0.0 0.0.0.0 10.0.0.2
➢ %Invalid next hop address (it's this router)
➢ Router(config)#ip route 0.0.0.0 0.0.0.0 11.0.0.1
➢ %Invalid next hop address (it's this router)
➢ Router(config)#ip route 0.0.0.0 0.0.0.0 11.0.0.2
➢ Router(config)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config)#
11. Default routing entries in router 2
➢ Router(config-if)#end
➢ Router#
➢ %SYS-5-CONFIG_I: Configured from console by console
➢ Router#config t
➢ Enter configuration commands, one per line. End with
CNTL/Z.
➢ Router(config)#ip route 0.0.0
➢^
➢ % Invalid input detected at '^' marker.
➢ Router(config)#ip route 0.0.0.0 0.0.0.0 10.0.0.1
➢ Router(config)#ip route 0.0.0.0 0.0.0.0 10.0.0.2
➢ Router(config)#ip route 0.0.0.0 0.0.0.0 11.0.0.1
➢ Router(config)#ip route 0.0.0.0 0.0.0.0 11.0.0.2
➢ %Invalid next hop address (it's this router)
➢ Router(config)#do wr
➢ Building configuration...
➢ [OK]
➢ Router(config)#
12. Router 0
➢ Router(config)#do show ip route
➢ Codes: L - local, 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, 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
➢ Router(config)#
13. Router 1
➢ Router(config)#do show ip route
➢ Codes: L - local, 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, 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
➢ Router(config)#
14. Router 2
➢ Router(config)#do show ip route
➢ Codes: L - local, 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, 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 11.0.0.1 to network 0.0.0.0
➢ Router(config)#