Date: Fri, 28 Sep 2007 13:35:28 -0700 From: Chuck Swiger <cswiger@mac.com> To: Thomas D. Dean <tomdean@speakeasy.org> Cc: bob.middaugh@comcast.net, freebsd-questions@freebsd.org Subject: Re: DHCP and DNS Message-ID: <AB9FDB01-5A73-40B6-8DA2-7D709C8CFDF1@mac.com> In-Reply-To: <200709282019.l8SKJQOj001793@dv6000> References: <092820071903.19705.46FD4FF800004F0B00004CF9220642441308099A0E0B0B0703D20D010D@comcast.net> <200709281927.l8SJRhmO001602@dv6000> <9E5E0EEA-CA9B-4B8F-AD5E-39559F64156A@mac.com> <200709282019.l8SKJQOj001793@dv6000>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 28, 2007, at 1:19 PM, Thomas D. Dean wrote: > I have a Belkin N1 wireless router with a mix of wireless and wired > machines. 2 wired FreeBSD machines, 1 wired Windows machine, 1 > wireless FreeBSD machine, -current wpi driver in the works, and a > wireless windows machine. > > The wired FreeBSD machines get leases with dhclient. Looking at the > router with seamonkey, I can see the leases for all the machines. > > Do I have to manually create/maintain /etc/hosts on each FreeBSD > machine to use names to access the other machines on the local > network? > > Is there a tool to extract lease information from the router? You could write something with curl or wget easily enough, but for that kind of situation, you're better off setting up a dhcpd on one of the machines and allocating fixed IPs to the MAC addresses of the boxes you care about. From there, you can either set up a static hosts file which matches the DHCP assignments, or set up local DNS. -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AB9FDB01-5A73-40B6-8DA2-7D709C8CFDF1>