Date: Sun, 22 Sep 2002 22:09:01 +1000 From: Mark Hannon <markhannon@optusnet.com.au> To: "Bert Hiddink [Bendoo]" <hiddink@bendoo.com>, questions@freebsd.org Subject: Re: Resolving IP through cablemodem DHCP server Message-ID: <3D8DB2DD.30001@optusnet.com.au> References: <3D8DC9B3.14348.8A7D2@localhost>
index | next in thread | previous in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D8DB2DD.30001>
