DHCP server: multiple MAC address for same IP reservation

Started by cyruspy, January 17, 2018, 03:29:11 PM

Previous topic - Next topic
Hi!, I'm currently moving from my OpenWRT AP as a gateway to a OPNSense VM on esxi. In the OpenWRT DHCP server I had the option to define two MAC addresses for the same IP, that idea is to get the same IP on a laptop, whether you connect using wifi or cable.

Is it possible to do that with OPNsense?

January 17, 2018, 03:49:38 PM #1 Last Edit: January 17, 2018, 03:55:14 PM by jung301084
Hi,

i have tested this on my opnsense machine, but without luck. Opnsense shows a failure message because the same IP is already in use.

But you can use the same MAC-Adress on the Wifi-Interface and the LAN-Interface on your Laptop. On Ubuntu you can do that in the /etc/network/interfaces conf-File.

The Link shows you how it works:
https://www.howtogeek.com/howto/ubuntu/change-your-network-card-mac-address-on-ubuntu/

In Windows you can do that over the device-manager under Porperties of the device. Your network-card must support that feature.

You should take care for using only one of the interfaces. Don't connect LAN and Wifi at the same time. Errors on the network connection would be the result.