Lab 3
Lab 3
en
conf t
int f0/0
ip add 10.10.10.4 255.255.255.0
no shutdown
exit
ip dhcp pool III-HSRP-Pool
network 10.10.10.0 255.255.255.0
default-router 10.10.10.1
dns-server 1.1.1.1
exit
ip dhcp excluded-address 10.10.10.1
ip dhcp excluded-address 10.10.10.2
ip dhcp excluded-address 10.10.10.3
ip dhcp excluded-address 10.10.10.4
*
show standby
en
conf t
hostname 2-Main-Router
int f0/1
ip add 172.16.10.2 255.255.255.192
no shutdown
int f0/1
standby 1 ip 172.16.10.1
standby 1 priority 120
standby 1 preempt
int f0/1
standby 1 ip 172.16.10.1
standby 1 priority 80
standby 1 preempt
int f0/1
ip add 50.10.10.1 255.255.255.224
no shutdown
ex
access-list 1 permit 10.10.10.0 0.0.0.255
ip nat inside source list 1 interface f0/1 overload
int f0/0
ip nat in
ex
int f0/1
ip nat out
int f0/1
ip add 50.10.10.2 255.255.255.224
no shutdown
ex
access-list 1 permit 10.10.10.0 0.0.0.255
ip nat inside source list 1 interface f0/1 overload
int f0/0
ip nat in
ex
int f0/1
ip nat out
int f0/0
ip add 50.10.10.3 255.255.255.224
no shutdown
ex
access-list 1 permit 172.16.10.0 0.0.0.63
ip nat inside source list 1 interface f0/0 overload
int f0/1
ip nat in
ex
int f0/0
ip nat out
int f0/0
ip add 50.10.10.4 255.255.255.224
no shutdown
ex
access-list 1 permit 172.16.10.0 0.0.0.63
ip nat inside source list 1 interface f0/0 overload
int f0/1
ip nat in
ex
int f0/0
ip nat out
router ospf 1
net 10.10.10.0 0.0.0.255 area 0
net 50.10.10.0 0.0.0.31 area 0
router ospf 1
net 10.10.10.0 0.0.0.255 area 0
net 50.10.10.0 0.0.0.31 area 0
router ospf 1
net 172.16.10.0 0.0.0.63 area 0
net 50.10.10.0 0.0.0.31 area 0
router ospf 1
net 172.16.10.0 0.0.0.63 area 0
net 50.10.10.0 0.0.0.31 area 0
*
int f0/1
no ip nat in
ex
int f0/0
no ip nat out