VRRP configuration
Posted: 26 Aug 2009 06:17
Hi all,
I wonder about how to efficiently configure VRRP on two OmniSwitches 6850. Its' about how to link two switches in a VRRP configuration.
On Internet, when I look for VRRP, this is the type of configuration I can see.
Port 1 is in VLAN 10 and port 2 in VLAN 20. But during my different tests, it seems that in this configuration both switches can't see the other one and so, VRRP doesn't initialize.
Plus, if I encounter a configuration like that
The link is down from the server to the master switch so the backup switch take the relay. But it's link from outside is down whereas the master's one is up. In this case, there is no liaison between both switches and the server can't which outside.
So, in order to let VRRP messages reach both switches and add a liaison between them, I add an another port to each VLAN in VRRP.
Ports 1 and 4 are in VLAN 10 and ports 2 and 3 are in VLAN 20. To both switches can see them and there is another way when one link is down. But this configuration implies to have one link for each VLAN, what consume ports which can serve for other things...
Here is my way to configure VRRP...
For the master switch
For the backup switch
But I wonder if to put a link for each VLAN between both switches is a good way to follow?
I wonder about how to efficiently configure VRRP on two OmniSwitches 6850. Its' about how to link two switches in a VRRP configuration.
On Internet, when I look for VRRP, this is the type of configuration I can see.
Code: Select all
VRRP Master
-----------------------
| |
| 1 2 |
----------------------- Server
| | -------
~~~~~~~~~ ______| |_______| |
( ) |-------|
( Network ) |-------|
( )______ _______| |
~~~~~~~~~ | | | O |
| | -------
-----------------------
| 1 2 |
| |
-----------------------
VRRP Backup
Plus, if I encounter a configuration like that
Code: Select all
VRRP Master
-----------------------
| |
| 1 2 |
----------------------- Server
| | -------
~~~~~~~~~ ______| |__ X __| |
( ) |-------|
( Network ) |-------|
( )______ _______| |
~~~~~~~~~ X | | O |
| | -------
-----------------------
| 1 2 |
| |
-----------------------
VRRP Backup
So, in order to let VRRP messages reach both switches and add a liaison between them, I add an another port to each VLAN in VRRP.
Code: Select all
VRRP Master
-----------------------
| |
| 1 4 3 2 |
----------------------- Server
| | | | -------
~~~~~~~~~ ______| | | |_______| |
( ) | | |-------|
( Network ) | | |-------|
( )______ | | _______| |
~~~~~~~~~ | | | | | O |
| | | | -------
-----------------------
| 1 4 3 2 |
| |
-----------------------
VRRP Backup
Here is my way to configure VRRP...
For the master switch
Code: Select all
vlan 10 enable
vlan 10 port default 1/1 1/4
vlan 20 enable
vlan 20 port default 1/2 1/3
ip interface "VLAN 10" address 192.168.1.254
ip interface "VLAN 20" address 192.168.2.254
VRRP 10 10 DISABLE
VRRP 10 10 PRIORITY 255
VRRP 10 10 IP 192.168.1.254
VRRP 10 10 ENABLE
VRRP 20 20 DISABLE
VRRP 20 20 PRIORITY 255
VRRP 20 20 IP 192.168.2.254
VRRP 20 20 ENABLE
Code: Select all
vlan 10 enable
vlan 10 port default 1/1 1/4
vlan 20 enable
vlan 20 port default 1/2 1/3
ip interface "VLAN 10" address 192.168.1.253
ip interface "VLAN 20" address 192.168.2.253
VRRP 10 10 DISABLE
VRRP 10 10 IP 192.168.1.254
VRRP 10 10 ENABLE
VRRP 20 20 DISABLE
VRRP 20 20 IP 192.168.2.254
VRRP 20 20 ENABLE