Proxmox Networking

spetrillo

Member
Feb 15, 2024
193
9
18
Hello all,

The networking config on my new Proxmox server does not seem to be working. I have an onboard NIC and a 4 port PCI card. The config is as follows:

auto lo
iface lo inet loopback
auto eno1
iface eno1 inet manual
auto enp1s0f0
iface enp1s0f0 inet manual
auto enp1s0f1
iface enp1s0f1 inet manual
auto enp1s0f2
iface enp1s0f2 inet manual
auto enp1s0f3
iface enp1s0f3 inet manual
auto bond0
iface bond0 inet manual
bond-slaves enp1s0f0 enp1s0f1 enp1s0f2 enp1s0f3
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3
auto vmbr0
iface vmbro inet manual
bridge-ports eno1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 1
auto vmbr0.1
iface vmbr0.1 inet dhcp


My management IP is on vmbr0.1 but when the server boots I cannot connect or ping. Am I doing something wrong in this? On my switch port the port is tagged for vlan 1.

Thanks,
Steve
 
Ahh that was a typo...and here I was trying to ensure I didnt do that!

I have setup VLAN 1 as my mgmt VLAN, so I want it tagged at the switch. I use DHCP reservations, so I do not want to statically assign. I did not add the bridge-vids. It got added when I checked the VLAN aware box on vmbr0.
 
Like said, you usually avoid using VLANID 1 and 2 as this is often hardcoded into routers/switches to be used for LAN and WAN or used for non-VLAN traffic. If you want your management subnet on VLAN1 you usually wouldn't work with VLANs at all and set your routers/firewalls port to use VLANID1 for untagged traffic.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!