DHCP Offer not transferred to tap interface

Mu5hu

New Member
Nov 16, 2024
1
0
1
Hi all,

I am on my journey to migrate from ESXi to Proxmox and first VM I need to migrate is the firewall (In my case pfSense).
I created a VM with 2 VirtIO nics, one for the WAN which comes directly from the ONT of my ISP and one for the LAN network. For the WAN I have a separated physical NIC which I created a bridge on and attached this bridge to the VM, the only specific configuration I made is assigning a static MAC address.

The issue comes when I want to configure the WAN interface like before, my ISP asks for a DHCP configuration which is the same as before but in Proxmox it is not working.

First thing, I made a tcpdump on the tap interface through the shell of Proxmox and analyse it through Wireshark:
Bash:
tcpdump -i tap101i0 -w tap_dump.pcap
And from this capture I can see DHCP Discover packets rightly formed, source MAC is the static one I configured in the network interface of the VM
But I got no DHCP Offer back ... That's why I didin't get any IP !

What is interesting is, if I do the same tcpdump but this time on the Network interface of Proxmox but not on the bridge:
Bash:
tcpdump -i ens0p0 -w net_dump.pcap
This time, I see the DHCP Discovery but also a DHCP Offer !

I also packet mirror the link on my switch and the packets are effetively there sent by the ONT

So it seems the packet is not transferred from the network interface to the tap and through the router.
ONT <--(ok)--> Network Interface <--(ok)--> tap101i0 <--(ko)--> Router VM


Is there any configuration I have done wrong ?
I also tried with an E1000E nic on the VM instead of the VirtIO one, but with no success.
 

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!