Re: [Hampshire] Hostnames

Top Page

Reply to this message
Author: Ian Park
Date:  
To: hampshire
Subject: Re: [Hampshire] Hostnames
On 29/01/13 15:25, Leo wrote:
> With the increasing number of computers I seem to be acquiring it's
> getting a bit of a pain to manage hostnames/ips. I have an old computer
> running debian acting as a firewall and dhcp server though. So I was
> wondering is there some way I can get it to record the hostnames of the
> computers it gives ips to? So that if I:
> ping hostname2
> from the computer called hostname1 it won't go looking on the internet
> for hostname2 (as it currently does)?
>
> Thanks
> Leo
>



Hi Leo

I have a very similar setup, except that I'm running IPFire on the old
computer (Compaq Deskpro SFF, 500MHz PIII, 512MB RAM, 6.3GB HD); I just
set up the host name to IP address mapping on that. FWIW, I also have
static DHCP leases for each machine on my home network, so the IP
address for each machine is nailed down to its MAC address (or for
laptops where I might connect wireless or wired, one IP address for the
wired network interface MAC and another for the wireless interface MAC.
I can heartily recommend IPFire - I settled on it after trying
Smoothwall and then IPCop, because it lets me use a wireless network
card to provide a wireless "blue" interface with access to the outside
world but not to the home network. That's very useful for giving
internet access to visitors.

Ian


--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------