Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > DHCP server also supplying machine names?

DHCP server also supplying machine names?
Thread Tools
Moderator
Join Date: May 2001
Location: Hilbert space
Status: Offline
Reply With Quote
Mar 20, 2003, 06:21 AM
 
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
Reply With Quote
Mar 20, 2003, 08:31 AM
 
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
Reply With Quote
Mar 20, 2003, 09:08 AM
 
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
Reply With Quote
Mar 20, 2003, 09:50 AM
 
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
Reply With Quote
Mar 20, 2003, 01:44 PM
 
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.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:33 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2