Assign given MAC Address to Virtual IP
-
I'm trying to use pfsense as firewall in OVH infrastructure.
OVH gives a MAC address for every public IP.
I need to specify the given MAC addresses to the virtual ip in OVH in order to establish DMZ networking (OVH rule).
Is there a way to assign the given MAC in pfsense Virtual IP ?
From the web GUI is not possible, maybe from shell ?
thanks
-
I found a workaround as follows.
(I' m in VMWARE esxi)
for every public IP:
- create a virtual NIC attached to WAN network
- create in pfsense a new WAN interface with the assigned MAC address WAN_xxx_xxx_xxx_xxx (where xxx_xxx_xxx_xxx is the public IP)
At the end I will have n WAN Interfaces, one every public IP (for example 16 or 32 …)
...is there any drawback?
-
I did the exact same thing on my pfsense running on proxmox.
The request from every wan to the virtual IP's works like a charm.
The problem is when i try to make a given host to exit with a choosen virtual ip instead of the default gateway.Suggestions anyone?
-
@a77ila I'm facing the same issue on OVH.
I see I'll need one Network interface on the PFSense VM for each Public IP... I hoped to be able to have only 1 NIC on the VM using the OVH MAC, and assign the rest as virtual IPs, but it does not seem to work this way.The problem is when i try to make a given host to exit with a choosen virtual ip instead of the default gateway.
That is something I'm looking at too, I need two of my VMs to exit as two specific public IPs, but haven't managed to do this yet either :(