On Wed, Apr 21, 2021 at 11:41:15AM -0700, Aaron Oneal wrote:
> I am trying to configure my gateway running Dnsmasq to serve IPv6
> addresses via SLAAC+RA and I don’t see how to enable that in a way
> that doesn’t also require IPv4 DHCP to be turned on.
> 
> interface=br0
> dhcp-range=lan,::,constructor:br0,ra-stateless,64,600
> ra-param=br0,10,600
> enable-ra
> 
> I already have a different server on the LAN that handles IPv4 DHCP
> so I don’t want Dnsmasq doing it.
> 
> The problem is, Dnsmasq listens on IPv4 anyway and every time it
> receives an IPv4 DHCP message it spams my syslog with dozens of messages
> per second saying "no address range available for DHCP request via
> br0." I didn’t specify an IPv4 range because I don’t want one.
> 
> I tried using `listen-address=<ipv6 addresses>` instead of
> `interface=br0` but then RA doesn’t seem to be active and my devices
> stop receiving IPv6 addresses.
> 
> I can’t remove the IPv4 address from the interface because it’s a gateway.
> 
> Is there a way to configure Dnsmasq for IPv6 only?

Path I would go is configuring dnsmasq to only IPv4 DHCP reply to known
MAC-addresses. And than have a MAC address configured that none of the
clients has.  No, I never have travelled that path. I do like to known
if it lead to the wanted goal.


Groeten
Geert Stappers
-- 
Silence is hard to parse

_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss

Reply via email to