[TriLUG] Dnsmasq: Single Host with multiple IPs

Alan Porter porter at trilug.org
Thu Mar 27 15:41:33 EDT 2008


Is there a particular reason you want to hard-wire the IP's?

If you just remove both entries (and do send host-name "<hostname>";
in /etc/dhcp3/dhclient.conf), then you'll get an IP for either
interface, you can access the machine using its hostname.

The only thing that'll be a little awkward will be the switch from
wired to wireless and back.  Any open connections you have may need
to be shutdown and re-started, because you'll have a new IP address.
But that is no change from what you are already doing now.

Alan




.





More information about the TriLUG mailing list