[Dnsmasq-discuss] Static IP and hostname
Thu, 07 Apr 2005 14:29:32 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Simon Kelley wrote:
| I suspect further IP problems, rather than DHCP problems: the DHCP
| discover/offer process works using hardware-level broadcasts, but the next
| stage needs IP connectivity. It looks like the DHCP server doesn't know
| how to route to the 192.168.1.x network.
You were right. After fixing the netmask on both eth0 and in
dnsmasq.conf, it works.
What I ended up with:
dhcp-range=192.168.1.10,192.168.1.255,255.255.254.0 # Unassigned nodes
dhcp-host=<hw addr>,node01,192.168.1.1 # Static nodes
Note the netmask here (it was previously 255.255.255.0):
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
192.168.0.0 * 255.255.254.0 U 0 0 0 eth0
tcpdump and ping were also helpful in figuring out what was happening to
Thanks for all your help!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----