[Dnsmasq-discuss] dhcp-host option
simon at thekelleys.org.uk
Mon Jul 31 15:24:59 BST 2006
Richard Bailey wrote:
> I have dnsmasq running and it's running great. When I had my client
> machine as Windows XP the dhcp-host option worked and gave the ip for
> the host I'd defined in the /etc/hosts file.
> Now my client is a Ubuntu 6.06 machine and it has the same hostname, but
> it doesn't get the ip I've assigned. What's different about how Linux
> does a DHCP request that causes this and how can I fix it so that it works?
> Note the hostname command in Ubuntu gives the proper hostname but the
> hostname -f command returns localhost. I tried to adjust this but some X
> and other networking stuff stopped working.
I don't think that the default DHCP client on Ubuntu send the host name
unless you configure it.
Try editing /etc/dhcp3/dhclient.conf and adding
send host-name "<hostname>"
More information about the Dnsmasq-discuss