Date: Sun, 28 Feb 2016 15:59:44 +0000 From: Steve O'Hara-Smith <steve@sohara.org> To: freebsd-questions@freebsd.org Subject: Re: Hosts Message-ID: <20160228155944.76633df9000e9d652630dd1a@sohara.org> In-Reply-To: <56D316D8.3040600@cloudzeeland.nl> References: <56D2C3E0.8030406@cloudzeeland.nl> <20160228101701.9697655568ffdad305ba9328@sohara.org> <56D316D8.3040600@cloudzeeland.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 28 Feb 2016 16:48:40 +0100 JosC <bsduser@cloudzeeland.nl> wrote: > > In een bericht van 28-2-2016 11:17: > > No because domain names are global in scope while MAC addresses are > > local. > > Mac addresses are unique (you can fake/clone them but that is another > topic discussion) - imho they therefore can be used globally as well? > But saying that, it is in my case not a problem to use them locally as > the issue concerns my local network. > > > You can set up DHCP to issue fixed addresses based on MAC. > I do use DHCP and fixed combined. Using this I am familiar with; my > issue is identifying hardware in a network that is partitially using DHCP. I'm suggesting making it easy by setting up DHCP to issue fixed addresses to the MACs you're interested in and then you can put those IP addresses in the hosts or DNS. Failing that a script to take the DHCP leases and a table of MACs and hostnames generate a hosts file insert and splice it in. I think issueing fixed addresses is easier. -- Steve O'Hara-Smith | Directable Mirror Arrays C:>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160228155944.76633df9000e9d652630dd1a>