[Dnsmasq-discuss] Static IP and hostname

Donnie Berkholz spyderous@gentoo.org
Thu, 07 Apr 2005 14:29:32 -0700


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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):
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
...
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
traffic.

Thanks for all your help!

Donnie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCVaY8XVaO67S1rtsRAloDAJ9OyliIEoYIHL/LTH6m3WXTTzTd4QCdHGRh
SEa9GWN7e8xw98vrVcRK/94=
=BJU3
-----END PGP SIGNATURE-----