CCNA 2 v7 Lab 16.3.2 Starting Configurations

From ITCwiki
Jump to navigation Jump to search

Preconfiguration scripts for all the devices are located below. Cut and paste or otherwise use these to pre-configure the equipment before starting the lab.

Router R1

enable
config terminal
hostname R1
ipv6 unicast-routing
interface g0/0/1
 ip address 192.168.0.17 255.255.255.240
 ipv6 address fe80::1 link-local
 ipv6 address 2001:db8:acad:16::1/64
 no shutdown
interface g0/0/0
 ip address 192.168.0.1 255.255.255.240
 ipv6 address fe80::1 link-local
 ipv6 address 2001:db8:acad::1/64
 no shutdown
interface loopback 1
 ip address 172.16.1.1 255.255.255.0
 ipv6 address fe80::1 link-local
 ipv6 address 2001:db8:acad:171::1/64
interface loopback 2
 ip address 209.165.200.1 255.255.255.128
 ipv6 address fe80::1 link-local
 ipv6 address 2001:db8:acad:209::1/64
!ip route 209.165.200.128 255.255.255.128 192.168.0.30
ip route 209.165.200.128 255.255.255.128 192.168.0.3
ip route 0.0.0.0 0.0.0.0 192.168.0.14 80
!ip route 0.0.0.0 0.0.0.0 192.168.0.14
!ip route 0.0.0.0 0.0.0.0 192.168.0.30 80
ip route 0.0.0.0 0.0.0.0 192.168.0.3
ipv6 route ::/0 2001:db8:acad:16::2
end

Router R2

enable
config terminal
hostname R2
no ip domain lookup
ipv6 unicast-routing
interface g0/0/0
 ip address 192.168.0.14 255.255.255.240
 ipv6 address fe80::2 link-local
 ipv6 address 2001:db8:acad::14/64
 no shutdown
interface g0/0/1
 ip address 192.168.0.30 255.255.255.240
 ipv6 address fe80::2 link-local
 ipv6 address 2001:db8:acad:16::2/64
 no shutdown
interface loopback 1
 ip address 172.16.2.1 255.255.255.0
 ipv6 address fe80::2 link-local
 ipv6 address 2001:db8:acad:172::1/64
interface loopback 2
 ip address 209.165.200.129 255.255.255.128
 ipv6 address fe80::2 link-local
 ipv6 address 2001:db8:acad:210::1/64
! ipv6 route 2001:db8:acad:209::/64 2001:db8:acad:16::1
ipv6 route 2001:db8:acad:209::/64 2001:db7:acad:16::1
! ipv6 route ::/0 2001:db8:acad::1
ipv6 route ::/0 2001:db8:acad::1 90
! ipv6 route ::/0 2001:db8:acad:16::1 80
ipv6 route ::/0 2001:db8:acad:15::1
ip route 0.0.0.0 0.0.0.0 192.168.0.17
end

Switch S1

enable
config terminal
hostname S1
interface range f0/1-3, f0/6-24, g0/1-2
 shutdown
end
Switch S2
enable
config terminal
hostname S2
interface range f0/1-3, f0/6-24, g0/1-2
 shutdown
end