You are on page 1of 2

interface g0/0.

1
encapsulation dot1Q 1 native
ip add 12.12.7.2 255.255.255.192
interface g0/0.10
encapsulation dot1Q 10
ip add 12.12.4.2 255.255.254.0
interface g0/0.11
encapsulation dot1Q 11
ip add 12.12.6.2 255.255.255.0
interface g0/0.12
encapsulation dot1Q 12
ip add 12.12.7.66 255.255.255.224
interface g0/0.1
standby 1 ip 12.12.7.63
standby 1 preempt
standby 1 priority 200
interface g0/0.10
standby 10 ip 12.12.5.254
standby 10 preempt
standby 10 priority 200
interface g0/0.11
standby 11 ip 12.12.6.254
standby 11 preempt
standby 11 priority 200
interface g0/0.12
standby 12 ip 12.12.7.94
standby 12 preempt
standby 12 priority 200

interface g0/0.1
standby 1 ip 12.12.7.63
interface g0/0.10
standby 10 ip 12.12.5.254
interface g0/0.11
standby 11 ip 12.12.6.254
interface g0/0.12
standby 12 ip 12.12.7.94

net 10.6.0.4 0.0.0.3 area 51


net 12.12.4.0 0.0.1.255 area 51
net 12.12.6.0 0.0.0.255 area 51
net 12.12.7.0 0.0.0.63 area 51
net 12.12.7.64 0.0.0.31 area 51
router ospf 10
router-id 2.2.2.2
end
clear ip ospf process
yes
ip dhcp excluded-address 12.12.4.1 12.12.4.2
ip dhcp excluded-address 12.12.6.1 12.12.6.2
ip dhcp excluded-address 12.12.7.1 12.12.7.2
ip dhcp excluded-address 12.12.7.65 12.12.7.66
ip dhcp excluded-address 12.12.5.254
ip dhcp excluded-address 12.12.6.254
ip dhcp excluded-address 12.12.7.62
ip dhcp excluded-address 12.12.7.94
ip dhcp pool vlan10
network 12.12.4.0 255.255.254.0
default-router 12.12.4.2
ip dhcp pool vlan1
network 12.12.7.0 255.255.255.192
default-router 12.12.7.2
ip dhcp pool vlan11
network 12.12.6.0 255.255.255.0
default-router 12.12.6.2
ip dhcp pool vlan12
network 12.12.7.64 255.255.255.224
default-router 12.12.7.66

access-list 101 permit ip 12.12.4.0 0.0.0.255 host 200.186.20.3


int g0/0.10
ip access-group 101 in
access-list 102 permit ip 12.12.6.0 0.0.0.255 host 200.186.20.2
int g0/0.11
ip access-group 102 in

You might also like