[Dnsmasq-discuss] Can't get DHCP part to work

Andrew Miskell andrewmiskell at mac.com
Sat Feb 20 14:45:52 UTC 2021


Do you mean that client machines don’t have internet access? If so, it doesn’t look like your specifying a gateway in your dhcp configuration so the clients don’t know where to send internet bound traffic. 


Sent from my iPhone

> On Feb 20, 2021, at 08:27, Wolfgang Paul Rauchholz <wp.rauchholz at gmail.com> wrote:
> 
> 
> I run a home server under Oracle Linux 8 and want to replace named/dhcpd with dnsmasq.
> maimed/dhcpd run just fine.
> When rebooting I don't have internet access from the LAN. 
> 
> My config is as follows. 
> /etc/resolv.conf
> search <mydomain>
> nameserver 127.0.0.1
> 
> /etc/NetworkManager/conf.d/dns.conf
> [main]
> dns=dnsmasq
> 
> /etc/dnsmasq.conf
> server=80.58.61.250
> server=80.58.61.254
> address=/<mydomain>/127.0.0.1 
> address=/<mydomain>/10.5.2.1
> user=dnsmasq
> group=dnsmasq
> listen-address=::1,127.0.0.1,10.5.2.1
> domain=<mydomain>
> dhcp-range=10.5.2.75,10.5.2.150,12h
> dhcp-host=18:e8:29:c3:18:2d,10.5.2.2,amplifi
> dhcp-host=6C:02:E0:9F:8B:64,10.5.2.10,HP9F8B64
> dhcp-host=2C:59:E5:EF:93:07,10.5.2.11,HP3199D7
> dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases
> dhcp-authoritative
> 
> Thanks for your help.
> 
> Wolfgang Rauchholz
> +34 627 994 977
> https://www.linkedin.com/in/wolfgangrauchholz/
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20210220/ec27ef3d/attachment.htm>


More information about the Dnsmasq-discuss mailing list