Accessing the LAN address work from proxmox VMs but does not work from real machines attached to switch
-
My first day on pfsense. I started with proxmox, to whch I am also new.
I created a new VM following the instructions from the documentation
https://docs.netgate.com/pfsense/en/latest/recipes/virtualize-proxmox-ve.htmlRight now I have the WAN and LAN setup as vtnet0 and vtnet1. The WAN gets an ip from my router via DHCP no problem.
The LAN instead is giving me trouble for connection via the ethernet port corresponding to that interface. On the contrary, all the VMs attached to the bridge I created for vtnet1 as per the documentation are getting an IP via DCHP on the LAN.
There must be something funny going on, because I noticed that if I change some setting in the proxmox network setting and then
apply configuration
, there is a good 60+ seconds time window in which I can ping the pfsense LAN address, provided that I put manually the computer on that subnet or that I unplug and replug the cable so that DHCP can get an address anew.Is there anything special I should set on proxmox or on pfsense for this setup to work?
I read that some people suggests to pass the ethernet interface directly to the pfsense VM, but the documentation from pfsense does not require this (also I cannot do it becusue this machine does not support IOMMU).
Thanks for helping!
-
Disable the Proxmox firewall on the pfSense VM interfaces if you haven't done that already.
I'm running pfSense in production on Proxmox since a few months back and so far it works perfectly.
-
I did reboot pfsensene VM and made sure from
ip a
in the proxmox host that there was no IP set for the interfaces I was bridging and it magically worked.Actually, now it's even better. In the proxmox interface I managed to set an IP for the interface that is being bridged, so that when pfsense VM is down I can still reach the proxmox on its fixed ip on the LAN side.