Route a network to pfSense which available on a VM
-
Hi guys, I need help with my setup.
My physical server has 2 VMs.
#1)pfSense VM:
WAN interface: public IP
LAN interface: 10.10.10.1
#2)Windows VM:
NIC1: 10.10.10.2 (LAN)
NIC2: 172.16.1.2 (dedicate server physical port)Server's physical port is connecting to a Cisco switch, and there are a couple more servers (172.16.1.3-10) which are connecting to this same switch.
I have troubling reaching 172.16.1.3-10 from pfSense. Is there anyway I could route this IP block to pfSense?
Thank you for any help.
-
Well, since your lan interface is on 10.10.10.1 there are two options.
a. Enable routing on windows, and add a route on pfsense for 172.16.1.0/24 via 172.16.1.2, or add an additional interface on pfsense, on lan 172.16.1.0/24
Obviously the second is a far better option. -
I followed your option #2, went to Virtual IPs and created 172.16.1.1/24 on LAN interface.
From my Windows VM, i can ping 172.16.1.1, however from pfSense I cannot ping 172.16.1.2.
Am I missing something?
-
@buomque1 I never said virtual ip. I said another interface on vm
You can have multiple lan interfaces on pfsense (the main difference from wan interfaces is that there is no gateway defined.) -