Topo 2
Route 0:
Router>
Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R-0
R-0(config)#inter f 0/0
R-0(config-if)#no sh
R-0(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R-0(config-if)#inter f 0/0.1
R-0(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1, changed state to up
R-0(config-subif)#enca
R-0(config-subif)#encapsulation d
R-0(config-subif)#encapsulation dot1Q 10
R-0(config-subif)#
R-0(config-subif)#ip add
R-0(config-subif)#ip address 192.168.1.1 255.255.255.224
R-0(config-subif)#ex
R-0(config)#inter f 0/0.2
R-0(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.2, changed state to up
R-0(config-subif)#encap
R-0(config-subif)#encapsulation do
R-0(config-subif)#encapsulation dot1Q 20
R-0(config-subif)#ip add
R-0(config-subif)#ip address 192.168.1.33 255.255.255.224
R-0(config-subif)#ex
R-0(config)#inter s 0/0
R-0(config-if)#ip address 192.168.1.65 255.255.255.224
R-0(config-if)#no sh
Route 1:
Router>
Router>
Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R-1
R-1(config)#inter s 0/0
R-1(config-if)#no sh
R-1(config-if)#
%LINK-5-CHANGED: Interface Serial0/0, changed state to up
R-1(config-if)#ip add
R-1(config-if)#ip address
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
% Incomplete command.
R-1(config-if)#
R-1(config-if)#ip add
R-1(config-if)#ip address 192.168.1.66 255.255.255.224
R-1(config-if)#inter s 0/1
R-1(config-if)#no sh
%LINK-5-CHANGED: Interface Serial0/1, changed state to down
R-1(config-if)#
R-1(config-if)#
R-1(config-if)#inter s 0/1
R-1(config-if)#ip address 192.168.1.97 255.255.255.224
R-1(config-if)#inter s 0/0
R-1(config-if)#no sh
R-1(config-if)#inter f 0/0
R-1(config-if)#no sh
R-1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R-1(config-if)#ip add
R-1(config-if)#ip address 192.168.1.161 255.255.255.224
Route 2:
Router>
Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#hostname R-2
R-2(config)#inter f 0/0
R-2(config-if)#no sh
R-2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R-2(config-if)#ip add
R-2(config-if)#ip address 192.168.1.162 255.255.255.224
R-2(config-if)#inter f 0/1
R-2(config-if)#no sh
R-2(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
R-2(config-if)#ip address 192.168.1.193 255.255.255.224
Route 3:
Router>
Router>ena
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R-3
R-3(config)#
R-3(config)#inter f 0/0
R-3(config-if)#no sh
R-3(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R-3(config-if)#ip add
R-3(config-if)#ip address 192.168.1.129 255.255.255.224
R-3(config-if)#inter f 0/1
R-3(config-if)#no sh
R-3(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R-3(config-if)#ip address 192.168.1.194 255.255.255.224
R-3(config-if)#inter s 0/0
R-3(config-if)#no sh
R-3(config-if)#
%LINK-5-CHANGED: Interface Serial0/0, changed state to up
R-3(config-if)#ip address 192.168.1.98 255.255.255.224
Sub
Route 0:
R-1>ena
R-1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R-1(config)#ip route 192.168.1.96 255.255.255.224 192.168.1.66
R-1(config)#ip route 192.168.1.128 255.255.255.224 192.168.1.66
R-1(config)#ip route 192.168.1.160 255.255.255.224 192.168.1.66
R-1(config)#ip route 192.168.1.192 255.255.255.224 192.168.1.66
Route 1:
R-1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R-1(config)#ip route 192.168.1.0 255.255.255.224 192.168.1.65
R-1(config)#ip route 192.168.1.128 255.255.255.224 192.168.1.98
R-1(config)#ip route 192.168.1.32 255.255.255.224 192.168.1.65
R-1(config)#ip route 192.168.1.192 255.255.255.224 192.168.1.162
Route 2:
R-2>ena
R-2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R-2(config)#ip route 192.168.1.0 255.255.255.224 192.168.1.161
R-2(config)#ip route 192.168.1.32 255.255.255.224 192.168.1.161
R-2(config)#ip route 192.168.1.64 255.255.255.224 192.168.1.161
R-2(config)#ip route 192.168.1.96 255.255.255.224 192.168.1.161
R-2(config)#ip route 192.168.1.128 255.255.255.224 192.168.1.192
R-2(config)#ex
Route 3
192.168.1.0/27 is subnetted, 7 subnets
S 192.168.1.0 [1/0] via 192.168.1.97
S 192.168.1.32 [1/0] via 192.168.1.97
S 192.168.1.64 [1/0] via 192.168.1.97
C 192.168.1.96 is directly connected, Serial0/0
C 192.168.1.128 is directly connected, FastEthernet0/0
S 192.168.1.160 [1/0] via 192.168.1.193
C 192.168.1.192 is directly connected, FastEthernet0/1