Lab 12 Static
Lab 12 Static
In R1
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host R1
R1(config)#inter se 3/0
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface Serial3/0, changed state to up
R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up
ip add 13.1.1.2 255.255.255.0
R1(config-if)#ex
R1(config)#inter fa 0/0
R1(config-if)#no shut
R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R1(config-if)#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
R1(config-if)#12
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
^
% Invalid input detected at '^' marker.
R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
R1#ping 7.1.1.1
R1#show ip rout
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
In R3
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#host R3
R3(config)#inter fas 1/0
R3(config-if)#no shut
R3(config-if)#
%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up
R3>en
R3#ping 9.1.1.1
R3#ping 20.1.1.1
R3#config t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#ip rout 20.1.1.0 255.255.255.0 9.1.1.2
R3(config)#ex
R3#
%SYS-5-CONFIG_I: Configured from console by console
R3#show ip rout
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
R3#ping 20.1.1.1