I'm just following the "Proxmox VLAN Configuration" YouTube as a guide, and naturally I hit a wall.Â
In the pre-changes to "/etc/network/interfaces", these were the lines:Â
auto lo iface lo inet loopback iface enp60s0 inet manual auto vmbr0 iface vmbr0 inet static address 192.168.1.99/24 gateway 192.168.1.1 bridge-ports enp60s0 bridge-stp off bridge-fd 0 bridge-vlan-aware yes bridge-vids 2-4094 iface wlo1 inet manual source /etc/network/interfaces.d/*
At post-changed by switching 99 to 98:Â
auto lo iface lo inet loopback iface eno1 inet manual iface eno2 inet manual auto vmbr0 iface vmbr0 inet manual bridge-ports eno1 bridge-stp off bridge-fd 0 bridge-vlan-aware yes bridge-vids 2-4094 auto vmbr0.98 iface vmbr0.98 inet static address 192.168.1.98/24 gateway 192.168.1.1 source /etc/network/interfaces.d/*
I got this error after "ifreload -a":
error: netlink: eno1: cannot enslave link eno1 to vmbr0: operation failed with 'No such device' (19) error: vmbro: bridge port eno1 does not exist warning: vmbr0: apply bridge ports settings: bridge configuration failed (missing ports)
The video made no attempt to mentioned the `eno` parts, so I got this part wrong.Â
I read the thread "Can't get vlans to work in Proxmox" and "Why are these interfaces named this way?", so I got some rough ideas of what is going on, like not creating eno1 & 2. Even by editing out eno1, and back to enp60s0:
iface enp60s0 inet manual bridge-ports enp60s0
I still didn't get Linux VLAN to work. What am I missing here?Â
Â
Â
@danken Hello and welcome to the forums! It looks like you may have some issues with the actual names of the interfaces as they exist on the system. One of the first things I would do is look and see what the actual interface names are:
ip link show
So, if I am following what your original config looked like your correct config might look something like this:
auto lo iface lo inet loopback iface enp60s0 inet manual auto vmbr0 iface vmbr0 inet manual bridge-ports enp60s0 bridge-stp off bridge-fd 0 bridge-vlan-aware yes bridge-vids 2-4094 auto vmbr0.98 iface vmbr0.98 inet static address 192.168.1.98/24 gateway 192.168.1.1 source /etc/network/interfaces.d/*
Then you can reload your interfaces
ifreload -a
Let me know if this helps?
Thanks Dan!
Brandon