You are not logged in.

#1 2022-07-09 12:57:57

burny02
Member
Registered: 2021-07-01
Posts: 129

pfSense Virtual Machine with bridged interfaces

Hi

I’ve got a virtual pfsense box. I’ve been the last few weeks trying to cut my power usage down, and as a result, I’m also getting rid of a switch.

To have the same effect, I’ve passed through to pfSense, a 4 port network card, and bridged these together. I can then plug my devices into it and they connect together and through WAN

As it is only a 4 port…To save a much needed port, I’ve made the server talk to pfSense through a virtual bridge.
This works well. It can use DHCP, and access WAN without problems

The problem I am having is that - The server is unable to ping/access other devices on the LAN.

The other devices do not have this problem - talking to each other, but are unable to ping the server

My network XML is something like this…Am I missing something?

<network>
  <name>lanLink</name>
  <uuid>11111-etc-etc-111-etc</uuid>
  <bridge name="virbr1" stp="on" delay="0"/>
  <mac address="00:01:02:03:04:05"/>
</network>


After playing around a little I found that if I made it routed mode='Open' it would not put in a load of firewall rules on the interface

Strangely, if I add ip route add 192.168.212.0/24 via 192.168.212.1 (bridged LAN IP) I can get ping responses back. The same works for other machines to ping the server

Offline

#2 2022-07-11 10:20:05

burny02
Member
Registered: 2021-07-01
Posts: 129

Re: pfSense Virtual Machine with bridged interfaces

OK, so I got this working.

First, set the routed mode to ‘Open’ and you shouldn’t have any problems

For some reason, the passed bridge did not like sitting in the same bridged LAN interface on pfSense. As soon as it was using it’s own IP range/own DHCP service, it had no problems.

I still don’t understand why though, if anyone can help on that

Offline

Board footer

Powered by FluxBB