Wednesday, May 13, 2015

Lab 8 Default Route - Example A

Objectives:
To reduce entries in routing table using default route.

Topology

Basic Setting
IPs for PCs and routers as well as static routes have been configured.
The second IP in each segment is used for the PC in each segment, and the first IP is used for the Ethernet interface for routers.
For each WAN, left IP is the first IP in the segment, and right IP is the second IP in the segment.

Requirements
Using default routes to reduce entries in routing tables.


Steps
On Route2
Router#confi t
Router(config)#ip route 0.0.0.0 0.0.0.0 172.16.3.2

On Router3
Router#confi t
Router(config)#ip route 0.0.0.0 0.0.0.0 172.16.4.2

On Router0
Router#confi t
Router(config)#ip route 172.16.0.0 255.255.255.0 172.16.3.1
Router(config)#ip route 172.16.1.0 255.255.255.0 172.16.4.1
Router(config)#ip route 172.16.2.0 255.255.255.0 172.16.5.2

On Router1
Router#confi t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip route 0.0.0.0 0.0.0.0 172.16.5.1

Test
From PC1 to PC0
PC>ping 172.16.1.2
Pinging 172.16.1.2 with 32 bytes of data:
Request timed out.
Reply from 172.16.1.2: bytes=32 time=23ms TTL=125
Reply from 172.16.1.2: bytes=32 time=24ms TTL=125
Reply from 172.16.1.2: bytes=32 time=29ms TTL=125
Ping statistics for 172.16.1.2:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 23ms, Maximum = 29ms, Average = 25ms
PC>

From PC1 to PC2
PC>ping 172.16.2.2
Pinging 172.16.2.2 with 32 bytes of data:
Request timed out.
Reply from 172.16.2.2: bytes=32 time=24ms TTL=125
Reply from 172.16.2.2: bytes=32 time=23ms TTL=125
Reply from 172.16.2.2: bytes=32 time=24ms TTL=125
Ping statistics for 172.16.2.2:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 23ms, Maximum = 24ms, Average = 23ms

No comments :

Post a Comment