THREE ROUTERSUSING STATICROUTING
Pc console:
Pc1 – 192.168.10.1 192.168.10.254
Pc2 – 192.168.10.2 192.168.10.254
Pc3 – 192.168.20.1 192.168.20.254
Pc4 – 192.168.20.2 192.168.20.254
Pc5 – 192.168.30.1 192.168.30.254
Pc6 – 192.168.30.2 192.168.30.254
R1:
R1#enable
R1#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface f0/0
R1(config-if)#ip address 192.168.10.254 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interf
*Jul 16 12:43:06.903: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
R1(config)#interface
*Jul 16 12:43:06.903: %ENTITY_ALARM-6-INFO: CLEAR INFO Fa0/0 Physical Port Administrative
State Down
*Jul 16 12:43:07.903: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,
changed state to up
R1(config)#interface f1/0
R1(config-if)#ip address 10.0.0.1 255.0.0.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1#
R1#wr
Building configuration...
[OK]
R1#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.10.254 YES manual up up
FastEthernet1/0 10.0.0.1 YES manual up up
FastEthernet2/0 unassigned YES unset administratively down down
FastEthernet3/0 unassigned YES unset administratively down down
FastEthernet4/0 unassigned YES unset administratively down down
FastEthernet5/0 unassigned YES unset administratively down down
FastEthernet6/0 unassigned YES unset administratively down down
R1(config)#ip route 192.168.20.0 255.255.255.0 10.0.0.2
R1(config)#ip route 192.168.30.0 255.255.255.0 10.0.0.2
R1(config)#exit
R1#wr
Building configuration...
[OK]
R1#
*Jul 16 12:56:46.099: %SYS-5-CONFIG_I: Configured from console by console
R1#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.10.254 YES manual up up
FastEthernet1/0 10.0.0.1 YES manual up up
FastEthernet2/0 unassigned YES unset administratively down down
FastEthernet3/0 unassigned YES unset administratively down down
FastEthernet4/0 unassigned YES unset administratively down down
FastEthernet5/0 unassigned YES unset administratively down down
FastEthernet6/0 unassigned YES unset administratively down down
R1#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip route 192.168.20.0 255.255.255.0 10.0.0.2
R1(config)#ip route 192.168.30.0 255.255.255.0 10.0.0.2
R1(config)#end
R1#wr
Building configuration...
[OK]
R1#
*Jul 16 13:36:36.123: %SYS-5-CONFIG_I: Configured from console by console
R1#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.10.254 YES manual up up
FastEthernet1/0 10.0.0.1 YES manual up up
FastEthernet2/0 unassigned YES unset administratively down down
FastEthernet3/0 unassigned YES unset administratively down down
FastEthernet4/0 unassigned YES unset administratively down down
FastEthernet5/0 unassigned YES unset administratively down down
FastEthernet6/0 unassigned YES unset administratively down down
--------------------------------
R2:
R2#enable
R2#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#interface f0/0
R2(config-if)#ip address 192.168.20.254 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#interfa
*Jul 16 12:46:22.707: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
R2(config)#interface f
*Jul 16 12:46:22.707: %ENTITY_ALARM-6-INFO: CLEAR INFO Fa0/0 Physical Port Administrative
State Down
*Jul 16 12:46:23.707: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0,
changed state to up
R2(config)#interface f1/0
R2(config-if)#ip address 10.0.0.2 255.0.0.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2#wr
Building configuration...
[OK]
R2(config)#int f2/0
R2(config-if)#ip add 20.0.0.1 255.0.0.0
R2(config-if)#no shutdown
R2(config-if)#exit
*R2#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.20.254 YES manual up up
FastEthernet1/0 10.0.0.2 YES manual up up
FastEthernet2/0 20.0.0.1 YES manual up up
FastEthernet3/0 unassigned YES unset administratively down down
FastEthernet4/0 unassigned YES unset administratively down down
FastEthernet5/0 unassigned YES unset administratively down down
FastEthernet6/0 unassigned YES unset administratively down down
R2#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#ip route 192.168.10.0 255.255.255.0 10.0.0.1
R2(config)#ip route 192.168.30.0 255.255.255.0 20.0.0.2
R2(config)#end
R2#wr
Building configuration...
[OK]
R2#
*Jul 16 13:37:02.523: %SYS-5-CONFIG_I: Configured from console by console
R2#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.20.254 YES manual up up
FastEthernet1/0 10.0.0.2 YES manual up up
FastEthernet2/0 20.0.0.1 YES manual up up
FastEthernet3/0 unassigned YES unset administratively down down
FastEthernet4/0 unassigned YES unset administratively down down
FastEthernet5/0 unassigned YES unset administratively down down
FastEthernet6/0 unassigned YES unset administratively down down
---------------------------
R3:
R3#enable
R3#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#interface f0/0
R3(config-if)#ip address 192.168.30.254 255.255.255.0
R3(config-if)#no shutdown
R3(config-if) exit
R3(config )
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#int f1/0
R3(config-if)#ip add 20.0.0.2 255.0.0.0
R3(config-if)#no shutdown
R3(config-if)#exit
R3#config
R3# exit
*Jul 16 13:32:28.047: %SYS-5-CONFIG_I: Configured from console by console
R3#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.30.254 YES manual up up
FastEthernet1/0 20.0.0.2 YES manual up up
FastEthernet2/0 unassigned YES unset administratively down down
FastEthernet3/0 unassigned YES unset administratively down down
FastEthernet4/0 unassigned YES unset administratively down down
FastEthernet5/0 unassigned YES unset administratively down down
FastEthernet6/0 unassigned YES unset administratively down down
R3#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#ip route 192.168.10.0 255.255.255.0 20.0.0.1
R3(config)#ip route 192.168.20.0 255.255.255.0 20.0.0.1
R3(config)#end
R3#
*Jul 16 13:35:30.959: %SYS-5-CONFIG_I: Configured from console by console
R3#wr
Building configuration...
[OK]
R3#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 192.168.30.254 YES manual up up
FastEthernet1/0 20.0.0.2 YES manual up up
FastEthernet2/0 unassigned YES unset administratively down down
FastEthernet3/0 unassigned YES unset administratively down down
FastEthernet4/0 unassigned YES unset administratively down down
FastEthernet5/0 unassigned YES unset administratively down down
FastEthernet6/0 unassigned YES unset administratively down down
PC1> ping 192.168.20.1
84 bytes from 192.168.20.1 icmp_seq=1 ttl=62 time=61.889 ms
84 bytes from 192.168.20.1 icmp_seq=2 ttl=62 time=61.695 ms
84 bytes from 192.168.20.1 icmp_seq=3 ttl=62 time=64.985 ms
84 bytes from 192.168.20.1 icmp_seq=4 ttl=62 time=46.217 ms
84 bytes from 192.168.20.1 icmp_seq=5 ttl=62 time=61.536 ms
PC1> ping 192.168.30.1
192.168.30.1 icmp_seq=1 timeout
192.168.30.1 icmp_seq=2 timeout
84 bytes from 192.168.30.1 icmp_seq=3 ttl=61 time=77.534 ms
84 bytes from 192.168.30.1 icmp_seq=4 ttl=61 time=92.562 ms
84 bytes from 192.168.30.1 icmp_seq=5 ttl=61 time=93.189 ms
PC3> ping 192.168.10.1
192.168.10.1 icmp_seq=1 timeout
192.168.10.1 icmp_seq=2 timeout
84 bytes from 192.168.10.1 icmp_seq=3 ttl=62 time=62.510 ms
84 bytes from 192.168.10.1 icmp_seq=4 ttl=62 time=47.423 ms
84 bytes from 192.168.10.1 icmp_seq=5 ttl=62 time=63.499 ms
PC4> ping 192.168.30.1
84 bytes from 192.168.30.1 icmp_seq=1 ttl=62 time=47.183 ms
84 bytes from 192.168.30.1 icmp_seq=2 ttl=62 time=48.100 ms
84 bytes from 192.168.30.1 icmp_seq=3 ttl=62 time=61.197 ms
84 bytes from 192.168.30.1 icmp_seq=4 ttl=62 time=61.278 ms
84 bytes from 192.168.30.1 icmp_seq=5 ttl=62 time=46.359 ms
PC5> ping 192.168.10.2
84 bytes from 192.168.10.2 icmp_seq=1 ttl=61 time=92.391 ms
192.168.10.2 icmp_seq=2 timeout
84 bytes from 192.168.10.2 icmp_seq=3 ttl=61 time=76.404 ms
192.168.10.2 icmp_seq=4 timeout
84 bytes from 192.168.10.2 icmp_seq=5 ttl=61 time=95.372 ms
PC5>
PC6> ping 192.168.20.1
84 bytes from 192.168.20.1 icmp_seq=1 ttl=62 time=61.110 ms
192.168.20.1 icmp_seq=2 timeout
84 bytes from 192.168.20.1 icmp_seq=3 ttl=62 time=62.066 ms
192.168.20.1 icmp_seq=4 timeout
84 bytes from 192.168.20.1 icmp_seq=5 ttl=62 time=62.084 ms
PC4>