OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: cyruspy on January 17, 2018, 03:29:11 pm

Title: DHCP server: multiple MAC address for same IP reservation
Post by: cyruspy on January 17, 2018, 03:29:11 pm
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?
Title: Re: DHCP server: multiple MAC address for same IP reservation
Post by: jung301084 on January 17, 2018, 03:49:38 pm
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.