VRR setup


Userlevel 1
Hello,

I got some problem when setup VRR like following config.

----
auto br0
iface br0
bridge-vlan-aware yes
bridge-allow-untagged yes
bridge-ports swp3 swp4
bridge-stp on
bridge-vids 10-15
bridge-pvid 1
address 192.168.0.254/24
address-virtual 00:00:5e:00:01:01 192.168.0.1/24

auto br0.10
iface br0.10
address 192.168.10.254/24
address-virtual 00:00:5e:00:01:02 192.168.10.1/24
------

with error
# sudo ifreload -a
error: br0: invalid placement of address-virtual lines (must be configured under an interface with no upper interfaces or parent interfaces)

Where I have make mistake?

Thanks for your advise.

2 replies

Userlevel 5
Just need to make an SVI on vlan 1. auto br0 iface br0 bridge-vlan-aware yes bridge-allow-untagged yes bridge-ports swp3 swp4 bridge-stp on bridge-vids 10-15 bridge-pvid 1 auto br0.1 iface br0.1 address 192.168.0.254/24 address-virtual 00:00:5e:00:01:01 192.168.0.1/24 auto br0.10 iface br0.10 address 192.168.10.254/24 address-virtual 00:00:5e:00:01:02 192.168.10.1/24
Userlevel 2
If you are looking to put an IP on vlan 1 of br0, you can use the .1 subinterface of the bridge.
----
auto br0
iface br0
bridge-vlan-aware yes
bridge-allow-untagged yes
bridge-ports swp3 swp4
bridge-stp on
bridge-vids 10-15
bridge-pvid 1

auto br0.1
iface br0.1
address 192.168.0.254/24
address-virtual 00:00:5e:00:01:01 192.168.0.1/24

auto br0.10
iface br0.10
address 192.168.10.254/24
address-virtual 00:00:5e:00:01:02 192.168.10.1/24
------

Reply