Trouble trying to add a Backup NIC for WEB GUI

HellrazorX

Member
Oct 14, 2021
24
4
8
38
HI, I'm trying to setup an alternative NIC for administration.


Code:
auto lo
iface lo inet loopback

auto enp3s0f0
iface enp3s0f0 inet manual

auto enp5s0 inet manual

auto enp3s0f1
iface enp3s0f1 inet manual

auto bond0
iface bond0 inet manual
        bond-slaves enp3s0f0 enp3s0f1
        bond-miimon 100
        bond-mode 802.3ad
        bond-xmit-hash-policy layer2+3

iface bond0.35 manual

auto vmbr0v35
iface vmbr0v35 inet static
        address 10.10.10.6/28
        gateway 10.10.10.1
        bridge_ports bond0.35
        bridge_stp off

auto vmbr0
iface vmbr0 inet manual
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

auto vmbr1v35
iface vmbr0v35 inet static
        address 10.10.10.7/28
        gateway 10.10.10.1 # I don't think this is necessary because Gateway is already used anyway
        bridge-ports enp5s0.35
        bridge-stp off
        bridge-fd 0

auto vmbr1
iface vmbr0 inet manual
        bridge-ports enp5s0
        bridge-stp off
        bridge-fd 0
        bridge-vids 2-4094

I can access web gui with 10.10.10.6
but never got 10.10.10.7 to work..

I setup VMBR1 because I saw lots of examples using a second bridge for additional nics but I don't think it's mandatory?
Note, I intentionally don't want the third adapter to be part of the nic team.

everything is running on vlan 35

thanks for any input.
 
Last edited:
auto vmbr1v35 iface vmbr0v35 inet static address 10.10.10.7/28 gateway 10.10.10.1 # I don't think this is necessary because Gateway is already used anyway bridge-ports enp5s0.35
Hi,
you have not configured any interface enp5s0.35, but you are trying to attach it as bridge port. Also, you do not need to reconfigure the default gateway.

See the docs for an example using interfaces with VLAN tags https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_vlan_on_the_host