LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 09-22-2011, 07:31 AM   #1
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

Rep: Reputation: 35
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!
 
Old 09-23-2011, 07:28 AM   #2
nerak99
Member
 
Registered: Feb 2006
Distribution: FC 15
Posts: 42

Rep: Reputation: 2
Have you tried stopping your firewall to see if you need to open a port (68?)
 
Old 09-23-2011, 10:34 AM   #3
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

Original Poster
Rep: Reputation: 35
Quote:
Originally Posted by nerak99 View Post
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.
 
  


Reply

Tags
dhcp, dnsmasq


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DNSMasq not serving requests from external PCs jroyce Linux - Networking 6 01-12-2008 09:18 AM
routing with dhcp dnsmasq /y0shi Slackware 12 11-19-2007 03:39 PM
VMWare Clients Not Receiving Server Requests? SlowCoder Linux - Server 1 08-01-2007 09:15 PM
dnsmasq: no dhcp ryerke Slackware 8 06-03-2007 07:29 PM
DHCP Requests and Discovers not receiving Response xmnemonic Linux - Networking 1 01-10-2004 10:01 PM


All times are GMT -5. The time now is 05:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration