NethServer Version: 7.4
Module: DHCP
Hi,
I just configured a second LAN interface configured as “Blue” (guests), it’s enp3s6f1 :
I enabled the DHCP server to give adresses on a distinct subnet :
But I discovered that clients connected on that interface were assigned adresses for the green interface, 10.10.5.X !
Logs :
> Dec 12 15:37:19 cloud dnsmasq-dhcp[8186]: DHCP, IP range 10.10.6.1 – 10.10.6.253, lease time 1d ┤
> Dec 12 15:37:19 cloud dnsmasq-dhcp[8186]: DHCP, IP range 10.10.5.1 – 10.10.5.254, lease time 1d
> Dec 12 15:37:42 cloud dnsmasq-dhcp[8186]: DHCPREQUEST(enp3s6f1) 10.10.5.4 e0:f8:47:28:9a:30
> Dec 12 15:37:42 cloud dnsmasq-dhcp[8186]: DHCPACK(enp3s6f1) 10.10.5.4 e0:f8:47:28:9a:30 MBPdeisonniaux6
Relevant part of /etc/dnsmasq.conf :
# Enable the DHCP server. Addresses will be given out from the range # <start-addr> to <end-addr> and from statically defined addresses # given in dhcp-host options. # See db configuration getprop dnsmasq DhcpStatus
dhcp-range=set:br0,10.10.5.1,10.10.5.254,255.255.0.0,86400 dhcp-option=tag:br0,option:router,10.10.1.1 dhcp-range=set:enp3s6f1,10.10.6.1,10.10.6.253,255.255.255.0,86400 dhcp-option=tag:enp3s6f1,option:router,10.10.6.1 dhcp-lease-max=518
Any idea ? Bug ?