VRR setup

  • 1
  • Question
  • Updated 1 year ago
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.
Photo of machiasiaweb

machiasiaweb

  • 930 Points 500 badge 2x thumb

Posted 1 year ago

  • 1
Photo of Eric Pulvino

Eric Pulvino, Official Rep

  • 4,082 Points 4k badge 2x thumb
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