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

Jan Psota jasiu at kkfsa.pl
Thu May 19 02:43:58 BST 2011


Dnia 2011-05-18, o godz. 21:30:11
<dnsmasq at lovelady.com> napisał(a):

> > > My configuration is simple for now:
> 
> # (latest)
> domain-needed
> bogus-priv
> expand-hosts
> domain=lovelady.com
> dhcp-range=192.168.0.150,192.168.0.249,72h
> dhcp-host=00:23:8b:8a:ad:70,192.168.0.249
> log-dhcp
> 
> > 1. turn on logging by adding "log-dhcp" and tail -f .../messages
> > 2. run "tcpdump -i eth0 port bootpc or port bootps" on server
> 
> Stopped iptables and flushed with -F on both systems.
> 
iptables -F does not change policy. If you had DROP...

# shorewall clear
# tcpdump
listening on loc, link-type EN10MB (Ethernet), capture size 65535 bytes
03:39:55.090620 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from 52:54:00:12:34:56 (oui Unknown), length 390
03:39:55.091080 IP 192.168.2.1.bootps > 192.168.2.2.bootpc: BOOTP/DHCP,
Reply, length 300

# iptables -P INPUT DROP
# tcpdump
listening on loc, link-type EN10MB (Ethernet), capture size 65535 bytes
03:40:37.588198 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from 52:54:00:12:34:56 (oui Unknown), length 390
[ ****** no reply ******* ]
03:40:38.560985 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP,
Request from 52:54:00:12:34:56 (oui Unknown), length 390

--
jasiu



More information about the Dnsmasq-discuss mailing list