Pages

network cisco ccna gns3 certification arteq

network cisco ccna gns3 certification arteq
a network runs through it

Search insearchofthecert

Saturday, March 10, 2012

standby me...

hsrp keep it simple...

make a standby group and call it 1... set it on the redundant vlans between the dsw's... make sure the standby ip and group are the same, as below...


dsw1#sh run int vlan 10
Building configuration...

Current configuration : 84 bytes
!
interface Vlan10
 ip address 10.2.1.1 255.255.255.0
 standby 1 ip 10.2.1.100
end


dsw2#sh run int vlan 10
Building configuration...

Current configuration : 84 bytes
!
interface Vlan10
 ip address 10.2.1.2 255.255.255.0
 standby 1 ip 10.2.1.100
end


dsw2#sh standby
Vlan10 - Group 1
  State is Standby
    1 state change, last state change 00:08:20
  Virtual IP address is 10.2.1.100
  Active virtual MAC address is 0000.0c07.ac01
    Local virtual MAC address is 0000.0c07.ac01 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 0.052 secs
  Preemption disabled
  Active router is 10.2.1.1, priority 100 (expires in 9.948 sec) "vlan 10 on dsw1"
  Standby router is local
  Priority 100 (default 100)
  IP redundancy name is "hsrp-Vl10-1" (default)

i then took down the the vlan 10 interface on dsw1 so dsw2 took over...


dsw2#sh standby
Vlan10 - Group 1
  State is Active
    2 state changes, last state change 00:01:40
  Virtual IP address is 10.2.1.100
  Active virtual MAC address is 0000.0c07.ac01
    Local virtual MAC address is 0000.0c07.ac01 (v1 default)
  Hello time 3 sec, hold time 10 sec
    Next hello sent in 1.664 secs
  Preemption disabled
  Active router is local
  Standby router is unknown
  Priority 100 (default 100)
  IP redundancy name is "hsrp-Vl10-1" (default)

there is not another standby in the group so it is unknown... the client with the default gateway 10.2.1.1

will no longer be able to ping through to r3
lo0 3.3.3.3... its default gateway
has to be changed to the virtual
router address 10.2.1.100...


that is an important point about the default gateway...
this is how hsrp works...



No comments:

Post a Comment