Disable DHCP check if DHCP is disabled

NethServer Version: 7.t
Module: DHCP

Hi there,

currently I transfer my DHCP data manually from on SMB-Server to Nethserver. The other SMB is up and running, while Nethserver DHCP is disable. I do use this procedure to clean up my DHCP assignments as well :slight_smile:
Anyway, a Nethserver features inhebits me:

Nethserver does not allow to assign an IP, if the IP is allready in use. I suppose Nethserver does a ping on the device. Is there any way to reversly disable this feature for a while? The features prevents me from assigning the same IP for the same device (same MAC) if the device is already up. In my case this is a little annoying:

  • Nethserver DHCP ist not running
  • IP assignment shall the same for some MAC adresses
  • Switch over from one SMB-DHCP to Nethserver ist difficult

Thank you for

On command line it works:

To set a reservation for testhost with IP 192.168.1.1 and MAC 01:02:03:04:05:06 just execute

db hosts set testhost local IpAddress 192.168.1.1 MacAddress 01:02:03:04:05:06

http://docs.nethserver.org/projects/nethserver-devel/en/v7/dhcp.html#ip-reservation

2 Likes

works! Thank you

1 Like

Could you mark the topic as solved please, because a solved thread is more helpful for readers.

2 Likes