Disable DHCP check if DHCP is disabled

network
dhcp
v7

(Thorsten) #1

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


(Markus Neuberger) #2

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


(Thorsten) #3

works! Thank you


(Michael Träumner) #4

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