R1:
---------------------------------------------------------------
interface f0/0
ip address 192.168.1.254 255.255.255.0
no shut
exit
interface f1/0
ip address 192.168.2.1 255.255.255.0
no shut
exit
interface f2/0
ip address 192.168.3.1 255.255.255.0
no shut
exit
ip route 192.168.4.0 255.255.255.0 192.168.3.2
ip route 192.168.5.0 255.255.255.0 192.168.3.2
ip route 192.168.6.0 255.255.255.0 192.168.3.2
ip route 192.168.7.0 255.255.255.0 192.168.3.2
ip route 192.168.4.0 255.255.255.0 192.168.2.2
ip route 192.168.5.0 255.255.255.0 192.168.2.2
ip route 192.168.6.0 255.255.255.0 192.168.2.2
ip route 192.168.7.0 255.255.255.0 192.168.2.2
exit
show ip route
R2:
---------------------------------------------------------------
interface f0/0
ip address 192.168.4.254 255.255.255.0
no shut
exit
interface f1/0
ip address 192.168.5.1 255.255.255.0
no shut
exit
interface f2/0
ip address 192.168.3.2 255.255.255.0
no shut
exit
ip route 192.168.1.0 255.255.255.0 192.168.3.1
ip route 192.168.2.0 255.255.255.0 192.168.3.1
ip route 192.168.6.0 255.255.255.0 192.168.3.1
ip route 192.168.7.0 255.255.255.0 192.168.3.1
ip route 192.168.1.0 255.255.255.0 192.168.5.2
ip route 192.168.2.0 255.255.255.0 192.168.5.2
ip route 192.168.6.0 255.255.255.0 192.168.5.2
ip route 192.168.7.0 255.255.255.0 192.168.5.2
exit
show ip route
R3:
---------------------------------------------------------------
interface f0/0
ip address 192.168.6.1 255.255.255.0
no shut
exit
interface f1/0
ip address 192.168.2.2 255.255.255.0
no shut
exit
interface f2/0
ip address 192.168.5.2 255.255.255.0
no shut
exit
ip route 192.168.1.0 255.255.255.0 192.168.2.1
ip route 192.168.3.0 255.255.255.0 192.168.2.1
ip route 192.168.4.0 255.255.255.0 192.168.2.1
ip route 192.168.1.0 255.255.255.0 192.168.5.1
ip route 192.168.3.0 255.255.255.0 192.168.5.1
ip route 192.168.4.0 255.255.255.0 192.168.5.1
ip route 192.168.7.0 255.255.255.0 192.168.6.2
exit
show ip route
R4:
---------------------------------------------------------------
interface f0/0
ip address 192.168.6.2 255.255.255.0
no shut
exit
interface f1/0
ip address 192.168.7.254 255.255.255.0
no shut
exit
ip route 0.0.0.0 0.0.0.0 192.168.6.1