Here the configs:
sh run
Building configuration...
Current configuration : 1609 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname HSRP_1
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
!
!
ip source-route
!
!
!
!
ip cef
!
!
!
!
!
!
!
archive
log config
hidekeys
!
!
!
track 1 ip sla 1 reachability
delay down 10 up 1
!
!
!
interface Loopback0
ip address 10.10.10.1 255.255.255.0
!
interface FastEthernet0
switchport trunk allowed vlan 1,2,1002-1005
switchport mode trunk
!
interface FastEthernet1
!
interface FastEthernet2
switchport access vlan 2
!
interface FastEthernet3
!
interface FastEthernet4
ip address dhcp
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface Vlan1
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip virtual-reassembly
standby 1 ip 192.168.1.254
standby 1 priority 110
standby 1 preempt
!
interface Vlan2
ip address 192.168.2.2 255.255.255.0
ip nat inside
ip virtual-reassembly
standby 2 ip 192.168.2.254
standby 2 preempt
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 172.16.0.100 track 1
ip route 0.0.0.0 0.0.0.0 192.168.1.2 10
no ip http server
no ip http secure-server
!
ip nat inside source list WLAN_NAT interface FastEthernet4 overload
!
ip access-list extended WLAN_NAT
permit ip 192.168.2.0 0.0.0.255 any
permit ip 192.168.1.0 0.0.0.255 any
!
ip sla 1
icmp-echo 172.16.0.203
frequency 10
ip sla schedule 1 life forever start-time now
no cdp run
!
control-plane
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
login
!
scheduler max-task-time 5000
end
HSRP_1#
Here is the HSRP_2 config:
sh running-config
Building configuration...
Current configuration : 1671 bytes
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname HSRP_2
!
boot-start-marker
boot-end-marker
!
logging message-counter syslog
!
no aaa new-model
!
!
ip source-route
!
!
!
ip dhcp pool WLAN_DHCP
network 192.168.2.0 255.255.255.0
default-router 192.168.2.254
dns-server 172.16.0.1
!
!
ip cef
!
!
!
!
!
!
!
archive
log config
hidekeys
!
!
!
track 1 ip sla 1 reachability
delay down 10 up 1
!
!
!
interface FastEthernet0
switchport trunk allowed vlan 1,2,1002-1005
switchport mode trunk
!
interface FastEthernet1
!
interface FastEthernet2
switchport access vlan 2
!
interface FastEthernet3
!
interface FastEthernet4
ip address dhcp
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface Vlan1
ip address 192.168.1.2 255.255.255.0
ip nat inside
ip virtual-reassembly
standby 1 ip 192.168.1.254
standby 1 preempt
!
interface Vlan2
ip address 192.168.2.1 255.255.255.0
ip nat inside
ip virtual-reassembly
standby 2 ip 192.168.2.254
standby 2 priority 110
standby 2 preempt
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 172.16.0.100 track 1
ip route 0.0.0.0 0.0.0.0 192.168.1.1 10
no ip http server
no ip http secure-server
!
ip nat inside source list WLAN_NAT interface FastEthernet4 overload
!
ip access-list extended WLAN_NAT
permit ip 192.168.2.0 0.0.0.255 any
permit ip 192.168.1.0 0.0.0.255 any
!
ip sla 1
icmp-echo 172.16.0.201
frequency 10
ip sla schedule 1 life forever start-time now
no cdp run
!
control-plane
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
login
!
scheduler max-task-time 5000
end
HSRP_2#
No comments:
Post a Comment