Topology
Basic Setting
As topology
In Section A, static routes has been configured for all segments.
In Section B, add 192.168.0.0/24 and 192.168.1.0/24。
In Secttion B, IPs for PC4 and Router4 have been configured.
Requirements
On router4, a route to 172.16.0.0/21 is required
On Router 2, 3, 0 and 1 routes to 192.168.0.0/23 are required
On Router4
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip rou
Router(config)#ip route 172.16.0.0 255.255.248.0 192.168.1.1
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
On Router2
Router(config)#ip route 192.168.0.0 255.255.254.0 192.168.1.2
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
On Router3
Router(config)#ip route 192.168.0.0 255.255.254.0 172.16.4.2
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
On Router0
Router(config)#ip route 192.168.0.0 255.255.254.0 172.16.3.1
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
On Router1
Router(config)#ip route 192.168.0.0 255.255.254.0 172.16.5.1
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Test
From PC2 to PC4
PC>ping 192.168.0.2
Pinging 192.168.0.2 with 32 bytes of data:
Request timed out.
Reply from 192.168.0.2: bytes=32 time=27ms TTL=124
Reply from 192.168.0.2: bytes=32 time=25ms TTL=124
Reply from 192.168.0.2: bytes=32 time=29ms TTL=124
Ping statistics for 192.168.0.2:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 25ms, Maximum = 29ms, Average = 27ms
PC>
PC>tracert 192.168.0.2
Tracing route to 192.168.0.2 over a maximum of 30 hops:
1 8 ms 8 ms 7 ms 172.16.2.1
2 9 ms 15 ms 10 ms 172.16.5.1
3 19 ms 17 ms 14 ms 172.16.3.1
4 19 ms 20 ms 18 ms 192.168.1.2
5 29 ms 32 ms 28 ms 192.168.0.2
Trace complete.
PC>
From PC4 to PC0
PC>ping 172.16.1.2
Pinging 172.16.1.2 with 32 bytes of data:
Reply from 172.16.1.2: bytes=32 time=33ms TTL=124
Reply from 172.16.1.2: bytes=32 time=26ms TTL=124
Reply from 172.16.1.2: bytes=32 time=30ms TTL=124
Reply from 172.16.1.2: bytes=32 time=31ms TTL=124
Ping statistics for 172.16.1.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 26ms, Maximum = 33ms, Average = 30ms
PC>
No comments :
Post a Comment