[Dnsmasq-discuss] DHCP doesn't seem to respond to requests(?)

Jan Psota jasiu at kkfsa.pl
Thu May 19 01:14:32 BST 2011


> However, I'm struggling with the DHCP portion.  This is being run on a linux
> server in my small network, and DHCP has been supplied by the cable modem.
> (I did turn off DHCP at the modem.)  I have decided to start small -
> connecting with an UBUNTU laptop - but my dhclient eth0 requests
> consistently end with "No DHCPOFFERS received."  I've been through the past
> year of your logs, looking at subjects including DHCP and didn't find a hit,
> so I've come here.
> 
> My configuration is simple for now:
> 
> domain-needed
> bogus-priv
> expand-hosts
> domain=lovelady.com
> dhcp-range=192.168.0.150,192.168.0.249,72h
> 
1. turn on logging by adding "log-dhcp" and tail -f .../messages
2. run "tcpdump -i eth0 port bootpc or port bootps" on server

> iptables -A INPUT -p UDP --dport bootpc -j ACCEPT || die
> iptables -A INPUT -p UDP --dport bootps -j ACCEPT || die
> 
On server?

Can't you turn off all firewalling on client and server?
(unconnecting them from "dangerous world" first ;-)

You can also test it adding tap interface (can be in a bridge with eth0)
and then running something like:
qemu -net nic,model=pcnet -net tap,ifname=tap0,script=no,downscript=no -boot n
...and watch "tcpdump -i tap0" (br0)

--
jasiu



More information about the Dnsmasq-discuss mailing list