Hi,
I am setting up Proxmox on a new machine with 6x NICS. I am getting a little confused by the networking setup.
NIC1 will be setup as a TRUNK to allow 3 vlans, vlan 10, 20 and 30.
The remainder of the interfaces will just be standalone interfaces and will be assigned using access ports on the switch for the appropriate vlan.
I have created a separate bridge for each interface, and enabled vlan-aware on vmbr0, and allowed vlans 1-4094
the config looks like this for the trunk interface and bridge.
For some reason, this setup is not working as expected. I cannot ping some interfaces and it appears I can ping other interfaces IP addresses over the trunk that are not even in the trunk (as if all interfaces are bridged.)
Also, does the bridge-fd 0 option need to be unique for each bridge?
Any ideas?
Thanks
I am setting up Proxmox on a new machine with 6x NICS. I am getting a little confused by the networking setup.
NIC1 will be setup as a TRUNK to allow 3 vlans, vlan 10, 20 and 30.
The remainder of the interfaces will just be standalone interfaces and will be assigned using access ports on the switch for the appropriate vlan.
I have created a separate bridge for each interface, and enabled vlan-aware on vmbr0, and allowed vlans 1-4094
the config looks like this for the trunk interface and bridge.
For some reason, this setup is not working as expected. I cannot ping some interfaces and it appears I can ping other interfaces IP addresses over the trunk that are not even in the trunk (as if all interfaces are bridged.)
Also, does the bridge-fd 0 option need to be unique for each bridge?
Any ideas?
Thanks
Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
auto lo
iface lo inet loopback
iface enp1s0f0 inet manual
iface enp1s0f1 inet manual
iface enp0s31f6 inet manual
post-up /sbin/ethtool -k enp0s31f6 tso off gso off
iface enp1s0f2 inet manual
iface enp1s0f3 inet manual
iface enp2s0 inet manual
post-up /sbin/ethtool -k enp2s0 tso off gso off
auto vmbr0
iface vmbr0 inet manual
bridge-ports enp1s0f0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 1-4094
#TRUNK
auto vmbr1
iface vmbr1 inet manual
address 192.168.1.4/24
bridge-ports enp0s31f6
bridge-stp off
bridge-fd 0
#OPNSense WAN
auto vmbr2
iface vmbr2 inet manual
bridge-ports enp1s0f1
bridge-stp off
bridge-fd 0
LAN5
auto vmbr3
iface vmbr3 inet manual
bridge-ports enp1s0f2
bridge-stp off
bridge-fd 0
LAN4
auto vmbr4
iface vmbr4 inet manual
bridge-ports enp1s0f3
bridge-stp off
bridge-fd 0
#LAN3
auto vmbr5
iface vmbr5 inet manual
address 172.16.10.5/24
bridge-ports enp2s0
bridge-stp off
bridge-fd 0
#OPNSense LAN
auto vmbr0.100
iface vmbr0.100 inet manual
auto vmbr0.200
iface vmbr0.200 inet manual
auto vmbr0.300
iface vmbr0.300 inet manual
auto vmbr0.400
iface vmbr0.400 inet manual
auto vmbr1
iface vmbr1 inet manual
bridge-ports vmbr0.200
bridge-stp off
bridge-fd 0
#IoT
auto vmbr2
iface vmbr2 inet static
address 172.16.103.1/27
bridge-ports vmbr0.300
bridge-stp off
bridge-fd 0
#Management
auto vmbr3
iface vmbr3 inet manual
bridge-ports vmbr0.100
bridge-stp off
bridge-fd 0
#LAN
auto vmbr4
iface vmbr4 inet manual
bridge-ports vmbr0.400
bridge-stp off
bridge-fd 0
#TV
Last edited: