vmbr1 NO DHCP

cantmox

New Member
Jan 31, 2024
3
0
1
I'm new to proxmox. I just finished installing it, and I was playing around with it.
I want to create different bridges on proxmox, I have the default one using Static IP. My VMs are able to connect to the network and get an IP by using vmbr0.

When I create vmbr1 I am unable to get an IP address to the VMs that connect using this bridge. I checked tcpdump and there isn't communication at all between my this ethernet port and pfsense.

I've applied configuration, reboot the server, I've set static and dhcp in the port for the bridge, I've set the IP static in pfsense. Nothing works.

The VM is using VirtIO (paravirtualized) for both bridges.

Here is my configuration under /etc/network/interfaces

auto lo
iface lo inet loopback

iface eno8303 inet manual

iface ens1f0np0 inet manual

auto vmbr0
iface vmbr0 inet static
address 192.168.1.126/24
gateway 192.168.1.1
bridge-ports eno8303
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet manual
bridge-ports ens1f0np0
bridge-stp off
bridge-fd 0


Thank you for the help in advance!
 
Last edited:
It seems that your server is with two network interfaces.

iface eno8303 inet manual
This network adapter is LAN 1.
auto vmbr0
iface vmbr0 inet static
address 192.168.1.126/24
gateway 192.168.1.1
bridge-ports eno8303
bridge-stp off
bridge-fd 0

This network adapter is LAN 2
iface ens1f0np0 inet manual

auto vmbr1
iface vmbr1 inet manual
bridge-ports ens1f0np0
bridge-stp off
bridge-fd 0

There is no ip address assigned to vmbr1 like vmbr0
NB! ens1f0np0 should be attached to
new interface on pfsense or switch
 
iface eno8303 inet manual
This network adapter is LAN 1.
auto vmbr0
iface vmbr0 inet static
address 192.168.1.126/24
gateway 192.168.1.1
bridge-ports eno8303
bridge-stp off
bridge-fd 0

This network adapter is LAN 2
iface ens1f0np0 inet manual
auto vmbr1
iface vmbr1 inet manual
bridge-ports ens1f0np0
bridge-stp off
bridge-fd 0

There is no ip address assigned to vmbr1 like vmbr0
NB! ens1f0np0 should be attached to
new interface on pfsense or switch

Yes the network has two network interfaces.
I've just changed the configuration from ens1f0np0 to static (just like eno8303) however, the issue persists.
The second network card is connected to the switch (which is connected to pfsense) however, it is still unable to establish the static IP address or pass it to the VMs
 
According documentation you should assign static IP address. You did it wright for LAN 1, but for LAN 2 I didn't see assigned IP address. Like I sad
There is no ip address assigned to vmbr1 like vmbr0
NB! ens1f0np0 should be attached to
new interface on pfsense or switch. So assign IP address to your second bridge - vmbr1. And watch out for network loop.
 
no, vmbr1 do not need ip itself.
Yep this is another option. But I find it pointless for single interface configuration. It is the matter how you organize your network topology. I suggest to config VLAN ID and and not to use second bridge. Otherwise attache second NIC to pfsense on different IP Network or same Network but watch-out for Loops.
 
I reinstalled PROXMOX again. This time I already had both NICS connected to the switch and it's working.
I'm not sure what the issue was before. To add to the context, I installed PROXMOX with only ONE NIC active and eventually connected the second one which wasn't working.
 

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!