 |
 |
DHCP server also supplying machine names?
|
 |
|
 |
|
Moderator 
Join Date: May 2001
Location: Hilbert space
Status:
Offline
|
|
I am just setting up a DHCP server on a FreeBSD box (FreeBSD 5.0). Will it also supply the host machine names or do I have to start a name server for that?
It is mainly a test box in order to go step by step to a file and mail server plus firewall for my parent's office.
|
|
I don't suffer from insanity, I enjoy every minute of it.
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: May 2001
Location: Hilbert space
Status:
Offline
|
|
Just a clarification: the DHCP server works as I wanted it to work.
It's just that I want to type the names instead of the IP addresses, e. g. when ssh-ing into my FreeBSD box.
I have configured dhcpd such that a machine always gets the same IP address via its unique MAC address.
|
|
I don't suffer from insanity, I enjoy every minute of it.
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Rochester, NY, USA
Status:
Offline
|
|
Originally posted by OreoCookie:
Just a clarification: the DHCP server works as I wanted it to work.
It's just that I want to type the names instead of the IP addresses, e. g. when ssh-ing into my FreeBSD box.
I have configured dhcpd such that a machine always gets the same IP address via its unique MAC address.
You need either DNS, or a custom-built HOSTS file on every machine. That's the only way each machine will know what the name of its neighbor is.
Some DHCP implementations actually know how to talk with some DNS implementations, so that if you assign IP addresses dynamically, the DHCP server actually modifies the DNS table with the new information.
|
|
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: May 2001
Location: Hilbert space
Status:
Offline
|
|
Thanks.
Do I need to reboot my machines every time I alter the hosts file? Or is it sufficient to kill a process and restart it.
|
|
I don't suffer from insanity, I enjoy every minute of it.
|
| |
|
|
|
 |
|
 |
|
Moderator 
Join Date: May 2001
Location: Hilbert space
Status:
Offline
|
|
Another question.
The dhcpd server just works when I configure the ethernet interface (in my case tl0) manually which means that I have to manually set it to the IP address that's supposed to be supplied by the DHCP server. No big deal, but is there a way to really have 100 % automatically assigned by dhcpd.
I have already tried the combination "ifconfig_tl0="DHCP"" (rc.conf) and "dhcpd_ifaces="tl0"" (dhcpd.conf).
Did I miss anything?
|
|
I don't suffer from insanity, I enjoy every minute of it.
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |