LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   dnsmasq on Fedora 15 install not receiving DHCP requests (https://www.linuxquestions.org/questions/fedora-35/dnsmasq-on-fedora-15-install-not-receiving-dhcp-requests-904401/)

Yalla-One 09-22-2011 06:31 AM

dnsmasq on Fedora 15 install not receiving DHCP requests
 
Greetings,

I have a fresh Fedora 15 install where I have enabeled dnsmasq. It works fine for DNS, but does not seem to be receiving incoming DHCP requests from clients.

I have put SElinux in permissive mode to be safe.

/var/log/messages give the following when dnsmasq starts at boot:
Code:

Sep 22 13:18:21 majestix dnsmasq[1309]: started, version 2.52 cachesize 150
Sep 22 13:18:21 majestix dnsmasq[1309]: compile time options: IPv6 GNU-getopt DBus no-I18N DHCP TFTP
Sep 22 13:18:21 majestix dnsmasq-dhcp[1309]: DHCP, IP range 192.168.1.20 -- 192.168.1.150, lease time 1d
Sep 22 13:18:21 majestix dnsmasq[1309]: using nameserver 81.167.36.11#53
Sep 22 13:18:21 majestix dnsmasq[1309]: using nameserver 81.167.36.3#53
Sep 22 13:18:21 majestix dnsmasq[1309]: read /etc/hosts - 21 addresses
Sep 22 13:18:21 majestix dnsmasq-dhcp[1309]: read /etc/ethers - 15 addresses

Furthermore, the /var/lib/dnsmasq/dnsmasq.leases is empty. If I delete it, it gets recreated on dnsmasq start, so it clearly does at least address it. It just doesn't seem like the DHCP request reaches the server.

Obviously there are no other DHCP servers on the network and there are no firewalls or similar between the client(s) and the new Fedora dhcp-server.

The dnsmasq.conf is as follows:
Code:

domain-needed
bogus-priv
no-resolv
no-poll
server=81.167.36.3
server=81.167.36.11
expand-hosts
domain=hiawata.com
dhcp-range=192.168.1.20,192.168.1.150,24h
read-ethers
dhcp-option=3,192.168.1.1
dhcp-option=option:ntp-server,158.38.0.168,129.240.2.6
dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases
log-dhcp
conf-dir=/etc/dnsmasq.d

The /etc/dnsmasq.d directory is empty.

I have an old Slackware box sitting next to the new Fedora server, and when I enable dnsmasq with the exact same config on the Slackware box it works like a charm with DHCP. However, when that box is disconnected from the network, the Fedora box is rebooted just to be safe, and the clietns are rebooted, they still don't get an IP address from Fedora's dnsmasq DHCP server.

Any insight would be greatly appreciated!

nerak99 09-23-2011 06:28 AM

Have you tried stopping your firewall to see if you need to open a port (68?)

Yalla-One 09-23-2011 09:34 AM

Quote:

Originally Posted by nerak99 (Post 4480069)
Have you tried stopping your firewall to see if you need to open a port (68?)

Yes, thanks for anwering. There's no firewall running on the box, and no firewalls between the clients and dnsmasq. This does not make any sense at all.


All times are GMT -5. The time now is 12:33 PM.