All of my boxes have got ethernet AND wireless interfaces and everything works fine, but I want to move to using "zeroconf" networking so I don't have to maintain /etc/hosts files on every machine (or go to the bother of setting up a proper DNS server).
I've got the avahi daemon working and nss-mdns is working for resolving ".local" host names.
Now seems like a good time to review the way I've allocated IP addresses to hosts.
My ADLS modem/ethernet router/WiFi access point is a Dlink DSL-G640T which has the address 192.168.1.1
How would you assign addresses to hosts that have wired and wireless interfaces?
BTW at home I normally run with the Wireless interfaces turned off but use them if I take machines "away from home" so I don't have to bother with network cables and hubs etc. However laptops sometimes gets used with wireless interfaces at home.
Peter
Hi Peter,
How would you assign addresses to hosts that have wired and wireless interfaces?
I use DHCP on my server - this automatically allocates IP addresses for each NIC (whether it be wireless or wired). Then on some machines where I want a specific IP address (for restricting web access in squid), I write a rule in DHCP to allocate a certain IP address to a certain MAC address.
Then, I have enabled client updates in my DNS server (limited to clients in my subnet), so that the host name and IP address automatically entered into DNS.
Stuart.
BTW at home I normally run with the Wireless interfaces turned off but use them if I take machines "away from home" so I don't have to bother with network cables and hubs etc. However laptops sometimes gets used with wireless interfaces at home.
Peter
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!
-----Original Message----- From: main-bounces@lists.alug.org.uk [mailto:main- bounces@lists.alug.org.uk] On Behalf Of Stuart Bailey Sent: 14 February 2006 10:12 To: main@lists.alug.org.uk Subject: Re: [ALUG] Netmasks and IP addresses for dual homed hosts
Hi Peter,
How would you assign addresses to hosts that have wired and wireless interfaces?
I use DHCP on my server - this automatically allocates IP addresses for each NIC (whether it be wireless or wired).
Up until now I've always used static addresses as I'm often developing servers so I need to know where they are !
However is seems that the mdns daemon can publish DHCP allocated address and thus local domain hostname lookups will still resolve via nss-mdns.
So this means that the original question becomes irrelevant and I will have true "zeroconf" networking :-)
Peter