DHCP requests not being sent?

Jan 24, 2017
8
0
1
42
Hello,

I have installed pfSense as a KVM virtual machine connected to vmbr0 with DHCP enabled on the server side.

I have set up an LXC virtual machine with IP address as DHCP.

My pfSense can give IP to machines on vmbr0 but can't give it to LXC.

I ran tcpdump -i vmbr0 port 67 or port 68 -e -n to check what's happening and, guess what, no DHCP requests from my LXC virtual machine.

Do you have any idea what I'm missing here?

Thanks.
 
> I have installed pfSense as a KVM virtual machine connected to vmbr0 with DHCP enabled on the server side.

I don't understand this. You mean you set up a DHCP server on the LAN interface of pfSense ?

Generally speaking you need to check if the container virtual nic and the pfsense virtual nic are on the same bridge.
you can list the bridge members with:

brctl show vmbr0
bridge name bridge id STP enabled interfaces
vmbr0 8000.5a99b245825a no eth0
tap403i0 <--- here virtual NIC of VM with ID 403
veth101i0 <--- here virtual NIC of container with CT ID 101
 

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!