RE: Doubts on HSRP

From: Sonu Khandelwal (sokhande) <sokhande_at_cisco.com>
Date: Mon, 2 Aug 2010 12:17:09 +0530

Hi Taufik,
What will be the use of using just 1 virtual-ip and using multiple HSRP
group? Each sub interface will have ip in different subnet so how would
it help to give same virtual-ip to all sub interface.

Am I missing something?

Thanks,
Sonu
-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
Taufik Kurniawan
Sent: Monday, August 02, 2010 11:16 AM
To: Cisco certification; cisco_at_groupstudy.com
Subject: Doubts on HSRP

here
http://www.cisco.com/en/US/docs/ios/ipapp/configuration/guide/ipapp_hsrp
.html#wp1054649

Can we use the physical IP on each sub interface, and virtual IP ( from
HSRP
) to be the same ?as I tried ... it showed like below

-----------------
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 standby mac-refresh 30
!
interface FastEthernet0/1.2
 encapsulation dot1Q 2
 ip address 100.100.100.100 255.255.255.0
 standby 1 ip 100.100.100.1
 standby 1 priority 110
 standby 1 preempt
 standby 1 name HSRP1
!
interface FastEthernet0/1.3
 encapsulation dot1Q 3
 standby 2 follow HSRP1
!
interface FastEthernet0/1.4
 encapsulation dot1Q 4
 standby 3 follow HSRP1

-----------------

Example: Improving CPU and Network Performance with HSRP Multiple Group
Optimization

The following example shows how to configure an HSRP client and master
group:

Router(config)# *interface Ethernet1/0
*

 Router(config-if)# *no shutdown
*

 Router(config-if)# *standby mac-refresh 30
*

 ! Client Hello message interval

 !

 Router(config)# *interface Ethernet1/0.2
*

 Router(config-if)#* no shutdown
*

 Router(config-if)#* encapsulation dot1Q 2
*

 Router(config-if)#* ip vrf forwarding VRF2
*

 Router(config-if)#* ip address 10.0.0.100 255.255.0.0
*

 Router(config-if)#* standby 1 ip 10.0.0.254
*

 Router(config-if)#* standby 1 priority 110
*

 Router(config-if)#* standby 1 preempt
*

 Router(config-if)#* standby 1 name HSRP1
*

 !Server group

 !

 Router(config)# *interface Ethernet1/0.3
*

 Router(config-if)#* no shutdown
*

 Router(config-if)#* encapsulation dot1Q 3
*

 Router(config-if)#* ip vrf forwarding VRF3
*

 Router(config-if)#* ip address 10.0.0.100 255.255.0.0
*

 Router(config-if)#* standby 2 ip 10.0.0.254
*

 Router(config-if)#* standby 2 follow HSRP1
*

 ! Client group

 !

 Router(config)# *interface Ethernet1/0.4
*

 Router(config-if)#* no shutdown
*

 Router(config-if)#* encapsulation dot1Q 4
*

 Router(config-if)#* ip vrf forwarding VRF4
*

 Router(config-if)#* ip address 10.0.0.100 255.255.0.0
*

 Router(config-if)#* standby 2 ip 10.0.0.254
*

 Router(config-if)#* standby 2 follow HSRP1
*

 ! Client group

Blogs and organic groups at http://www.ccie.net
Received on Mon Aug 02 2010 - 12:17:09 ART

This archive was generated by hypermail 2.2.0 : Wed Sep 01 2010 - 11:20:52 ART