virtual routers vrrp

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • Answered

Hello together,

I have a vrrp instance and the vr-default router.

Know I will create a separate virtual router. How must I configure the vrrp?

Can I use the same vrid? What is best practice?

Cheers,
Alexander
Photo of Alexander

Alexander

  • 200 Points 100 badge 2x thumb

Posted 1 year ago

  • 0
  • 1
Photo of Stephen Williams

Stephen Williams, Employee

  • 9,034 Points 5k badge 2x thumb
Are you sure you need a different VR, or are you trying to get another virtual IP in the same vlan?

You can use the same vrid as long as they are on different broadcast domains.

Below is a simple config of what you are asking for.  If you tell us what your trying to accomplish we might have a better option.

[VRRP1 Switch]--p1----------p1--[VRRP2 Switch]


#VRRP1 Switch

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports all
create vr "vrtest"
create vlan "testvrrp" vr vrtest
configure vlan testvrrp tag 100
configure vlan Default add ports 1 untagged
configure vlan testvrrp add ports 1 tagged
configure vlan Default ipaddress 1.1.1.2 255.255.255.0
configure vlan testvrrp ipaddress 2.2.2.2 255.255.255.0


#
# Module vrrp configuration.
#
create vrrp vlan Default vrid 1
configure vrrp vlan Default vrid 1 priority 101
create vrrp vlan testvrrp vrid 1
configure vrrp vlan testvrrp vrid 1 priority 101
configure vrrp vlan Default vrid 1 add 1.1.1.1
configure vrrp vlan testvrrp vrid 1 add 2.2.2.1
enable vrrp vlan Default vrid 1
enable vrrp vlan testvrrp vrid 1


VRRP2 Switch

#
# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports all
create vr "vrtest"
create vlan "testvrrp" vr vrtest
configure vlan testvrrp tag 100
configure vlan Default add ports 1 untagged
configure vlan testvrrp add ports 1 tagged
configure vlan Default ipaddress 1.1.1.3 255.255.255.0
configure vlan testvrrp ipaddress 2.2.2.3 255.255.255.0


#
# Module vrrp configuration.
#
create vrrp vlan Default vrid 1
configure vrrp vlan Default vrid 1 priority 50
create vrrp vlan testvrrp vrid 1
configure vrrp vlan testvrrp vrid 1 priority 50
configure vrrp vlan Default vrid 1 add 1.1.1.1
configure vrrp vlan testvrrp vrid 1 add 2.2.2.1
enable vrrp vlan Default vrid 1
enable vrrp vlan testvrrp vrid 1

Photo of Alexander

Alexander

  • 200 Points 100 badge 2x thumb

Thanks Stephen for your response.

Yes I need a separate VR, because VoIP traffic must be separated from the other network (It’s a company rule).

I try your solution with the 2 virtual routers and vrid 1.  

Thanks,
Alexander
Photo of Stephen Williams

Stephen Williams, Employee

  • 9,034 Points 5k badge 2x thumb
You can do this with vlans.  But if a VR is required by policy, it's required.