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

Andrew Miskell andrewmiskell at mac.com
Sun Feb 21 11:12:33 UTC 2021


Do you have a IP configuration output from a client l, to verify it has all the right settings?

Sent from my iPhone

> On Feb 21, 2021, at 01:22, Wolfgang Paul Rauchholz <wp.rauchholz at gmail.com> wrote:
> 
> 
> Exactly, the client does not have internet access. So I set the following option  in the .conf file: dhcp-option = option:router, 10.5.2.1.
> It still doesn’t work. No error message.
> The setup of my home server is as follows:
> Acts as modem router
> enp5sP/ppp0 is WAN NIC 
> enp3s0 is LAN NIC
> Currently named and dhcpd are enabled and working fine.
> Packet forwarding is enabled.
> 
> Thx for the help
> 
> 
>> On Sat, 20 Feb 2021 at 15:45, Andrew Miskell <andrewmiskell at mac.com> wrote:
>> 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
> -- 
> Wolfgang Rauchholz
> +34 627 994 977
> https://www.linkedin.com/in/wolfgangrauchholz/
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20210221/34295a93/attachment-0001.htm>


More information about the Dnsmasq-discuss mailing list