bengalih
Senior Member
So let me start off by saying that everything appears to be working as normal, however I'm not sure exactly what this message means (though I have good idea), if I can get rid of it, and if perhaps I have a misconfiguration that is causing it (and therefore can do something to optimize my config). As the very least, I'll consider this an educational exercise to determine why it is happening and how to prevent it, or if it can't be prevented to understand why:
I'm getting the following messages in my syslog:
They appear to be happening whenever a client on my main WiFi is requesting an IP address.
It appears to be logged up to two times per client request. My assumption is once for IPv4 and once for IPv6 address.
(They may happen on the LAN interface too, but I don't have any devices using DHCP on that interface, so I can't confirm).
I did tests on multiple versions of Android clients and a Windows client. All but one android support IPv6 and those seem to log 2 entries when reconnecting to WiFi.
The Windows 10 client appears to log only one entry when disabling/enabling WiFi, but 2 entries if I do a manual "ipconfig release/renew"
I have quite a bit of customization on my device*, including multiple WiFi guest networks, but I'm not sure how relevant those are since this is happening on my main WiFi network.
I think the most important thing to note is that my router does *not* provide IP addresses for my main network (LAN + main WiFi).
DHCP is disabled in the GUI and I have a separate Windows DHCP server that provides IPv4 addresses to these clients.
I also do not provide IPv6 addresses via any DHCP server. Rather under the router's IPv6 configuration I am using a Static IPv6 config with "Stateless" Auto Configuration enabled along with RA.
My understanding of how this works is that the "LAN IPv6" prefix (64 bits) is provided to my clients through the Router Advertisements and then my clients create their own address based upon their MAC address.
dnsmasq on my router is configured to hand out IPv4 addresses via DHCP to my guest networks. Currently my guest networks do not get any IPv6 information (though I plan to look into configuring how to get the RAs to send to send to those interfaces as well for SLAAC).
Here are the relevant portions of my dnsmasq.conf file (some definitely non-essential stuff removed):
If I add the following to dnsmasq.conf the issue disappears:
However, this also prevents the RAs from going out and therefore no clients get proper IPv6 configuration.
Is this message wholly informational and if so, is there no way to suppress it?
Is there anything wrong with my configuration that would be causing this?
I've tried manipulation of several things including the line:
tried using ra-only instead of ra-stateless under the hope that it would let the DHCP server no that I am not trying to serve out an range, only RAs, but still no luck.
It seems to me strange that sending out RAs is dependent on having dhcp-range set as RAs should not technically be a feature of DHCP.
So I can't turnoff the interface from listening on DHCP if all I want to do is sent out the RAs.
I'm getting the following messages in my syslog:
Code:
dnsmasq-dhcp[6913]: no address range available for DHCP request via br0
They appear to be happening whenever a client on my main WiFi is requesting an IP address.
It appears to be logged up to two times per client request. My assumption is once for IPv4 and once for IPv6 address.
(They may happen on the LAN interface too, but I don't have any devices using DHCP on that interface, so I can't confirm).
I did tests on multiple versions of Android clients and a Windows client. All but one android support IPv6 and those seem to log 2 entries when reconnecting to WiFi.
The Windows 10 client appears to log only one entry when disabling/enabling WiFi, but 2 entries if I do a manual "ipconfig release/renew"
I have quite a bit of customization on my device*, including multiple WiFi guest networks, but I'm not sure how relevant those are since this is happening on my main WiFi network.
I think the most important thing to note is that my router does *not* provide IP addresses for my main network (LAN + main WiFi).
DHCP is disabled in the GUI and I have a separate Windows DHCP server that provides IPv4 addresses to these clients.
I also do not provide IPv6 addresses via any DHCP server. Rather under the router's IPv6 configuration I am using a Static IPv6 config with "Stateless" Auto Configuration enabled along with RA.
My understanding of how this works is that the "LAN IPv6" prefix (64 bits) is provided to my clients through the Router Advertisements and then my clients create their own address based upon their MAC address.
dnsmasq on my router is configured to hand out IPv4 addresses via DHCP to my guest networks. Currently my guest networks do not get any IPv6 information (though I plan to look into configuring how to get the RAs to send to send to those interfaces as well for SLAAC).
Here are the relevant portions of my dnsmasq.conf file (some definitely non-essential stuff removed):
no address range available for DHCP request via br0
no address range available for DHCP request via br0 - dnsmasq.conf
gist.github.com
If I add the following to dnsmasq.conf the issue disappears:
Code:
no-dhcp-interface=br0
However, this also prevents the RAs from going out and therefore no clients get proper IPv6 configuration.
Is this message wholly informational and if so, is there no way to suppress it?
Is there anything wrong with my configuration that would be causing this?
I've tried manipulation of several things including the line:
Code:
dhcp-range=lan,::,constructor:br0,ra-stateless,64,600
It seems to me strange that sending out RAs is dependent on having dhcp-range set as RAs should not technically be a feature of DHCP.
So I can't turnoff the interface from listening on DHCP if all I want to do is sent out the RAs.