11-20-2008 12:49 AM - edited 03-04-2019 12:25 AM
hi guys,
is it possible to provide a subinterface with dot1q encapsulation on the virtual interface? im planning to use hsrp to provide redundancy on my metro-e. the problem is im using subinterface and encapsulation dot1q. Is this possible using hsrp ?
thanks.
11-20-2008 01:12 AM
Hi,
1.You can use HSRP with subinterface as well as SVI interface.
2.HSRP groups on subinterfaces must have a group number unique among all other groups on all subinterfaces on the same main interface. This is because subinterfaces do not receive a unique SNMP interface index. If you had two groups with the number N on different subinterfaces, then in the MIB, group N on sub-interface 1 and group N on sub-interface 2 would appear to be the same group.
3.I did not get your statement "is it possible to provide a subinterface with dot1q encapsulation on the virtual interface?"
HTH...rate if helpful..
11-20-2008 01:42 AM
Hi Satish,
My current setup is i have a subinterface configured on my router with dot1q where my metro-e clients used as gateway. if use hsrp will i configure this on the 2nd router?
can you provide me a sample.
thanks.
11-20-2008 03:51 AM
In the following example, there is a Voice and Data VLAN, they have been specifically given different priorities so that Router-A is the Active for the Data-VLAN and Standby for the Voice-VLAN, and the exact opposite for Router-B.
Router-A
interface FastEthernet0/0
no ip address
duplex auto
speed auto
no keepalive
!
interface FastEthernet0/0.1
description Data-VLAN
encapsulation dot1Q 10
ip address 192.168.1.2 255.255.255.0
standby 1 ip 192.168.1.1
standby 1 priority 115
standby 1 preempt
!
interface FastEthernet0/0.2
description Voice-VLAN
encapsulation dot1Q 20
ip address 192.168.2.2 255.255.255.0
standby 2 ip 192.168.2.1
standby 2 priority 105
standby 2 preempt
!
Router-B
interface FastEthernet0/0
no ip address
duplex auto
speed auto
no keepalive
!
interface FastEthernet0/0.1
description Data-VLAN
encapsulation dot1Q 10
ip address 192.168.1.3 255.255.255.0
standby 1 ip 192.168.1.1
standby 1 priority 105
standby 1 preempt
!
interface FastEthernet0/0.2
description Voice-VLAN
encapsulation dot1Q 20
ip address 192.168.2.3 255.255.255.0
standby 2 ip 192.168.2.1
standby 2 priority 115
standby 2 preempt
Hope this helps
Allan.
Pls rate helpful posts.
11-20-2008 04:09 AM
Hi Allan,
What will be the gateway address per vlan? Is it the standby ip address? How bout the peer ip address per vlan? Based on your config, it has different ip address per router and mostly i subnet my ip address.
tia.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide