Multiple IP to one MAC
-
How can I assign multiple IPs to single MAC address in DHCP?
-
I don't know if that is possible. Are you going to be assigning it to a different subnet? In *nux you can create a virtual interface and have it setup for dhcp. You should be able to assign based on that. I don't know about windows os. unless you are setting a reservation, it is just going to get a different address in the same network and no do any real good.
-
now I've double NAT 1:1
router on FreeBSD (natd, ipfw):
WAN: publicIP /24 with "IP Alias" publicIP_1, publicIP_2, publicIP_3
LAN: static_DHCP with StaticARP 10.10.0.0/24
NAT 1:1: publicIP_1 <-> 10.10.0.100,
publicIP_2 <-> 10.10.0.101,
publicIP_3 <-> 10.10.0.102and in LAN network pfSense box:
WAN IP from DHCP: 10.10.0.100 with "IP Alias" 10.10.0.101, 10.10.0.102
local_LAN: 192.168.0.1/24
NAT 1:1: 10.10.0.101 <-> 192.168.0.10,
10.10.0.102 <-> 192.168.0.20in local_LAN:
Server1 IP: 192.168.0.10
Server2 IP: 192.168.0.20and working efect:
publicIP_1 <-> 10.10.0.100 (pfsense b0x)
publicIP_2 <-> 192.168.0.10 (Serwer_1)
publicIP_3 <-> 192.168.0.20 (Serwer_1)I must change FreeBSD router to pfSense and I do not know how to do this configuration.
I know that this DHCP configuration does nosense but is associated with StaticARP.
-
Basically it will work the same way freebsd router. You will create WAN address and then assign either IP alias or CARP to WAN IPs. Then you will use the 1:1 NAT to point publicip_1 to privateip_1. Then you will create all the rules associated with that. Are you looking to get rid of the double NAT or are you replacing the router with a different pfsense machine? What is your current dhcp config?
-
Are you looking to get rid of the double NAT or are you replacing the router with a different pfsense machine? What is your current dhcp config?
How to configure pfsense routers for this
87.92.15.10 <–> 192.168.0.10
87.92.15.20 <--> 192.168.0.20the problem is: staticARP works only with staticDHCP, but I can't add two identical MACs for 10.10.0.100, 10.10.0.101, 10.10.0.102
-
How to configure pfsense routers for this
87.92.15.10 <–> 192.168.0.10
87.92.15.20 <--> 192.168.0.20On pfSense 1 create 1:1 NAT (Firewall -> NAT, 1:1 tab) on the WAN interface: 87.92.15.10 –> 192.168.0.10 and 87.92.15.20 --> 192.168.0.20 and add a static route to 192.168.0.0/24 with gateway 10.10.0.100. You will also need to disable NAT on pfSense2.
-
I don't know about IP Alias, but if you used CARP instead, the MAC Addresses will be slightly different. Are you hard assigning the addresses even though they are in DHCP reservations?