sysname r6
#
dhcp enable
#
ip pool 1
gateway-list 172.16.1.1
network 172.16.1.0 mask 255.255.255.0
dns-list 8.8.8.8
#
interface GigabitEthernet0/0/0
ip address 16.1.1.1 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 172.16.1.1 255.255.255.0
dhcp select global
#
interface GigabitEthernet0/0/2
ip address 67.1.1.1 255.255.255.0
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 67.1.1.2
ip route-static 12.1.1.0 255.255.255.0 16.1.1.2
ip route-static 13.1.1.0 255.255.255.0 16.1.1.2
ip route-static 21.1.1.0 255.255.255.0 16.1.1.2
ip route-static 34.1.1.0 255.255.255.0 16.1.1.2
ip route-static 43.1.1.0 255.255.255.0 16.1.1.2
ip route-static 45.1.1.0 255.255.255.0 GigabitEthernet0/0/0
ip route-static 45.1.1.0 255.255.255.0 16.1.1.2
ip route-static 192.168.0.0 255.255.252.0 16.1.1.2
#
return
sysname r1
#
interface GigabitEthernet0/0/0
ip address 16.1.1.2 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 12.1.1.1 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 13.1.1.1 255.255.255.0
#
interface GigabitEthernet4/0/0
ip address 21.1.1.1 255.255.255.0
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 16.1.1.1
ip route-static 24.1.1.0 255.255.255.0 12.1.1.2
ip route-static 24.1.1.0 255.255.255.0 21.1.1.2 preference 61
ip route-static 34.1.1.0 255.255.255.0 13.1.1.2
ip route-static 43.1.1.0 255.255.255.0 13.1.1.2
ip route-static 45.1.1.0 255.255.255.0 12.1.1.2
ip route-static 45.1.1.0 255.255.255.0 21.1.1.2 preference 61
ip route-static 192.168.0.0 255.255.252.0 12.1.1.2
ip route-static 192.168.0.0 255.255.252.0 21.1.1.2 preference 61
#
return
sysname r2
#
interface GigabitEthernet0/0/0
ip address 12.1.1.2 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 24.1.1.1 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 21.1.1.2 255.255.255.0
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 12.1.1.1
ip route-static 0.0.0.0 0.0.0.0 21.1.1.1 preference 61
ip route-static 34.1.1.0 255.255.255.0 24.1.1.2
ip route-static 43.1.1.0 255.255.255.0 24.1.1.2
ip route-static 45.1.1.0 255.255.255.0 24.1.1.2
ip route-static 192.168.0.0 255.255.252.0 24.1.1.2
#
return
sysname r3
#
interface GigabitEthernet0/0/0
ip address 13.1.1.2 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 34.1.1.1 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 43.1.1.1 255.255.255.0
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 13.1.1.1
ip route-static 24.1.1.0 255.255.255.0 34.1.1.2
ip route-static 24.1.1.0 255.255.255.0 43.1.1.2
ip route-static 45.1.1.0 255.255.255.0 34.1.1.2
ip route-static 45.1.1.0 255.255.255.0 43.1.1.2
ip route-static 192.168.0.0 255.255.252.0 34.1.1.2
ip route-static 192.168.0.0 255.255.252.0 43.1.1.2
#
return
sysname r4
#
interface GigabitEthernet0/0/0
ip address 24.1.1.2 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 45.1.1.1 255.255.255.0
#
interface GigabitEthernet0/0/2
ip address 34.1.1.2 255.255.255.0
#
interface GigabitEthernet4/0/0
ip address 43.1.1.2 255.255.255.0
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 34.1.1.1
ip route-static 0.0.0.0 0.0.0.0 43.1.1.1
ip route-static 12.1.1.0 255.255.255.0 24.1.1.1
ip route-static 21.1.1.0 255.255.255.0 24.1.1.1
ip route-static 192.168.0.0 255.255.252.0 45.1.1.2
#
return
sysname r5
dhcp enable
#
ip pool 1.0
gateway-list 192.168.1.1
network 192.168.1.0 mask 255.255.255.0
dns-list 8.8.8.8 144.144.144.144
#
ip pool 2.0
gateway-list 192.168.2.1
network 192.168.2.0 mask 255.255.255.0
dns-list 8.8.8.8 144.144.144.144
#
interface GigabitEthernet0/0/0
ip address 45.1.1.2 255.255.255.0
#
interface GigabitEthernet0/0/1
ip address 192.168.1.1 255.255.255.0
dhcp select global
#
interface GigabitEthernet0/0/2
ip address 192.168.2.1 255.255.255.0
dhcp select global
#
interface NULL0
#
ip route-static 0.0.0.0 0.0.0.0 45.1.1.1
ip route-static 192.168.0.0 255.255.252.0 NULL0
#
return