Configure the default gateways of hosts A, B, and C as 1.1.2.3, 1.1.6.1, and 1.1.3.1. (Details
3.
not shown.)
Verify the configuration:
4.
# Display the IP routing table on Switch A.
[SwitchA] display ip routing-table
Routing Tables: Public
Destinations : 7
Destination/Mask
0.0.0.0/0
1.1.2.0/24
1.1.2.3/32
1.1.4.0/30
1.1.4.1/32
127.0.0.0/8
127.0.0.1/32
# Display the IP routing table on Switch B.
[SwitchB] display ip routing-table
Routing Tables: Public
Destinations : 10
Destination/Mask
1.1.2.0/24
1.1.3.0/24
1.1.4.0/30
1.1.4.2/32
1.1.5.0/30
1.1.5.5/32
127.0.0.0/8
127.0.0.1/32
1.1.6.0/24
1.1.6.1/32
# Use the ping command on Host B to test the reachability of Host A (assuming Windows XP runs
on the two hosts).
C:\Documents and Settings\Administrator>ping 1.1.2.2
Pinging 1.1.2.2 with 32 bytes of data:
Reply from 1.1.2.2: bytes=32 time=1ms TTL=255
Reply from 1.1.2.2: bytes=32 time=1ms TTL=255
Reply from 1.1.2.2: bytes=32 time=1ms TTL=255
Reply from 1.1.2.2: bytes=32 time=1ms TTL=255
Ping statistics for 1.1.2.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Routes : 7
Proto
Pre
Cost
Static 60
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Routes : 10
Proto
Pre
Cost
Static 60
0
Static 60
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
11
NextHop
Interface
1.1.4.2
Vlan500
1.1.2.3
Vlan300
127.0.0.1
InLoop0
1.1.4.1
Vlan500
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
NextHop
Interface
1.1.4.1
Vlan500
1.1.5.6
Vlan600
1.1.4.2
Vlan500
127.0.0.1
InLoop0
1.1.5.5
Vlan600
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
1.1.6.1
Vlan100
127.0.0.1
InLoop0