Wednesday, May 13, 2015

Lab 9 Default Route - Example B

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 Route0
Router#confi t
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.1.2

On Router1
Router#configure t
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.2.2
Router(config)#ip route 192.168.0.0 255.255.255.0 192.168.1.1

On Router2
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip rou
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.3.2
Router(config)#ip route 192.168.0.0 255.255.255.0 192.168.2.1
Router(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1
or 

The 2 red entries are combined into one entry
Router(config)#ip route 192.168.0.0 255.255.254.0 192.168.2.1

On Router3
Router#conf t
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.3.1
Router(config)#ip route 192.168.5.0 255.255.255.0 192.168.4.2
Router(config)#ip route 192.168.6.0 255.255.255.0 192.168.4.2

On Router4
Router#confi t
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.4.1
Router(config)#ip route 192.168.6.0 255.255.255.0 192.168.5.2

On Router5
Router#conf t
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.5.1

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

Minimum = 31ms, Maximum = 36ms, Average = 34ms

No comments :

Post a Comment