Загрузка данных


S1

enable
configure terminal
hostname S1
no ip domain-lookup
enable secret class
line console 0
 password cisco
 login
exit
line vty 0 4
 password cisco
 login
exit
service password-encryption
banner motd #Unauthorized access prohibited!#
interface range fa0/1-3, fa0/6-24
 shutdown
exit
interface range fa0/4-5
 no shutdown
exit
end
write


S2

enable
configure terminal
hostname S2
no ip domain-lookup
enable secret class
line console 0
 password cisco
 login
exit
line vty 0 4
 password cisco
 login
exit
service password-encryption
banner motd #Unauthorized access prohibited!#
interface range fa0/1-3, fa0/6-24
 shutdown
exit
interface range fa0/4-5
 no shutdown
exit
end
write


R1

enable
configure terminal
hostname R1
no ip domain-lookup
enable secret class
line console 0
 password cisco
 login
exit
line vty 0 4
 password cisco
 login
exit
service password-encryption
banner motd #Unauthorized access prohibited!#
ipv6 unicast-routing

interface g0/0/0
 ip address 172.16.11.1 255.255.255.0
 ipv6 address 2001:db8:acad:2::1/64
 ipv6 address fe80::1 link-local
 no shutdown
exit

interface g0/0/1
 ip address 192.168.1.1 255.255.255.0
 ipv6 address 2001:db8:acad:1::1/64
 ipv6 address fe80::1 link-local
 no shutdown
exit

interface loopback 1
 ip address 10.1.0.1 255.255.255.0
 ipv6 address 2001:db8:acad:10::1/64
 ipv6 address fe80::1 link-local
exit

interface loopback 2
 ip address 209.165.200.225 255.255.255.224
 ipv6 address 2001:db8:acad:209::1/64
 ipv6 address fe80::1 link-local
exit

! Статический маршрут к Loopback1 R2
ip route 10.2.0.0 255.255.255.0 192.168.1.2
! Основной маршрут по умолчанию
ip route 0.0.0.0 0.0.0.0 172.16.11.2
! Плавающий маршрут по умолчанию (AD 80)
ip route 0.0.0.0 0.0.0.0 192.168.1.2 80

! Маршрут по умолчанию IPv6
ipv6 route ::/0 2001:db8:acad:2::2

end
write



enable
configure terminal
hostname R2
no ip domain-lookup
enable secret class
line console 0
 password cisco
 login
exit
line vty 0 4
 password cisco
 login
exit
service password-encryption
banner motd #Unauthorized access prohibited!#
ipv6 unicast-routing

interface g0/0/0
 ip address 172.16.11.2 255.255.255.0
 ipv6 address 2001:db8:acad:2::2/64
 ipv6 address fe80::2 link-local
 no shutdown
exit

interface g0/0/1
 ip address 192.168.1.2 255.255.255.0
 ipv6 address 2001:db8:acad:1::2/64
 ipv6 address fe80::2 link-local
 no shutdown
exit

interface loopback 1
 ip address 10.2.0.1 255.255.255.0
 ipv6 address 2001:db8:acad:11::2/64
 ipv6 address fe80::2 link-local
exit

interface loopback 2
 ip address 209.165.200.193 255.255.255.224
 ipv6 address 2001:db8:acad:210::1/64
 ipv6 address fe80::2 link-local
exit

! Основной маршрут по умолчанию IPv4
ip route 0.0.0.0 0.0.0.0 172.16.11.1

! Статический маршрут к Loopback1 R1
ipv6 route 2001:db8:acad:10::/64 2001:db8:acad:1::1
! Основной маршрут по умолчанию IPv6
ipv6 route ::/0 2001:db8:acad:2::1
! Плавающий маршрут по умолчанию IPv6 (AD 80)
ipv6 route ::/0 2001:db8:acad:1::1 80

end
write