From owner-freebsd-questions Sun Sep 22 5: 8:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9EDE037B401 for ; Sun, 22 Sep 2002 05:08:56 -0700 (PDT) Received: from mail019.syd.optusnet.com.au (mail019.syd.optusnet.com.au [210.49.20.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89E8843E3B for ; Sun, 22 Sep 2002 05:08:55 -0700 (PDT) (envelope-from markhannon@optusnet.com.au) Received: from doorway.homeip.net (c17030.sunsh3.vic.optusnet.com.au [211.28.121.143]) by mail019.syd.optusnet.com.au (8.11.1/8.11.1) with ESMTP id g8MC8qt23044; Sun, 22 Sep 2002 22:08:53 +1000 Received: from optusnet.com.au (tbird.home.lan [192.168.1.5]) by doorway.homeip.net (8.12.3/8.12.3) with ESMTP id g8MC91Jg027305; Sun, 22 Sep 2002 22:09:02 +1000 (EST) (envelope-from markhannon@optusnet.com.au) Message-ID: <3D8DB2DD.30001@optusnet.com.au> Date: Sun, 22 Sep 2002 22:09:01 +1000 From: Mark Hannon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.1) Gecko/20020922 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Bert Hiddink [Bendoo]" , questions@freebsd.org Subject: Re: Resolving IP through cablemodem DHCP server References: <3D8DC9B3.14348.8A7D2@localhost> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bert Hiddink [Bendoo] wrote: > Hello, > > I have a LAN which looks like this: > > Internet ---> Cablemodem---> Router with DHCP-service ---> 2 Winboxes, 1 Freebsd box > I have 4.6.2. release installed on the FreeBSD box. > > The router has an DHCP service and IP's are dynamicly assigned to the 3 machines within my LAN. > However, when I view the DHCP Active IP Table, I see the following: > > Gateway IP Address: 192.168.1.1 > DHCP Hostname IP Address MAC Address > tulin 192.168.1.101 00-80-AD-C9-25-DC > alfa 192.168.1.102 00-81-AC-C8-25-DA > 192.168.1.104 00-C0-4F-AA-24-0C > > The machines called "tulin" and "alfa" are the Win98 boxes, the last line corresponds to my FreeBSD > box. It is called "delta". My question: why does the name of my FreeBSD box not show up in the > DHCP Active IP Table? You could try adding something like: interface "nameofyourinterace here" { send host-name "delta"; send dhcp-lease-time 600; } to your /etc/dhclient.conf file. > If I use its IP address, I can access this box without no problem (FTP, Samba, etc.) However, I > would like to access it by using its name ("delta"). How to achieve this? This is a DNS issue, not DHCP. Does your router act as a caching nameserver? If so then the trick with /etc/dhclient.conf might help. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message