DHCP requests not being sent?

Jan 24, 2017
8
0
1
43
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