[Dnsmasq-discuss] Problem assigning static IP

Mircea Bardac dev.list at mircea.bardac.net
Wed Mar 22 16:41:53 GMT 2006

I've been struggling ever since I've installed dnsmasq to make it assign 
statically some IP addresses + names based on the MAC addresses (for several 
computers). I must be missing something in this process, since everything 
seems to be ok - any help would be appreciated.

My config file looks like this:
# cat /etc/dnsmasq.conf.my




# cat /etc/hosts
#<ip-address>   <hostname.domain.org>   <hostname>               localhost.localdomain   localhost             server.home.bardac.net  server             aquarium.home.bardac.net        aquarium

My machine is named "aquarium".
me at aquarium # dhcpcd -k
me at aquarium # dhcpcd

outputs on the server

# dnsmasq -C /etc/dnsmasq.conf.my -d
dnsmasq: started, version 2.27 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt RTNetlink ISC-leasefile no-DBus 
dnsmasq: DHCP, IP range --, lease time 2h
dnsmasq: read /etc/hosts - 15 addresses
dnsmasq: reading /etc/resolv.conf
dnsmasq: using nameserver
dnsmasq: using nameserver
dnsmasq: DHCPRELEASE(eth0) 00:0f:ea:fd:72:85
dnsmasq: DHCPDISCOVER(eth0) 00:0f:ea:fd:72:85
dnsmasq: DHCPOFFER(eth0) 00:0f:ea:fd:72:85
dnsmasq: DHCPREQUEST(eth0) 00:0f:ea:fd:72:85
dnsmasq: DHCPACK(eth0) 00:0f:ea:fd:72:85 aquarium
dnsmasq: not giving name aquarium.home.bardac.net to the DHCP lease of because the name exists in /etc/hosts with address
dnsmasq: not giving name aquarium to the DHCP lease of because 
the name exists in /etc/hosts with address

Is there any option I should be enabling... or... maybe a typo up there... or 
something else... I actually ran of ideas trying to figure this out. The 
above example is the simplest case in which it doesn't work. 

Lots of thanks.


Psi Forums Moderator/Bug Tracker Manager
Psi Windows Installer Maintainer/ArchLinux Package Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20060322/45411b21/attachment.pgp

More information about the Dnsmasq-discuss mailing list