DHCP question

Dan Shoop shoop at iwiring.net
Fri Mar 2 10:40:29 PST 2007


At 1:12 AM -0500 3/2/07, Richard Peskin wrote:
>If I set all of my workstations to get their IP (LAN) addresses from 
>a DHCP server, how can I identify them for the purposes of terminal 
>(ssh) access, shell scripts (e.g. rsync backup), etc.

First it is most common to hand out dynamically assigned IP addresses 
with DHCP for clients, not servers, since servers (hosts that provide 
services like ssh, etc.) generally need fixed addresses, though this 
is not a rule or requirement just the way things tend to be.

That said...

For one you could have DHCP hand out specific addresses using DHCP 
based, say, on MAC address.

You could also still use dynamically assigned IP addresses and do 
Dynamic DNS for those hosts that need addressed by specific name.

However the entire problem is generally mooted by zeroconfig / 
bonjour. You can just use .local addresses

>  (I'm moving to an ADSL broadband and for some reason, things don't 
>work well unless all the stations on the LAN sharing the NAT are set 
>up to get their addresses from a DHCP server.)

That sounds very dubious.

If so why not get a different / better NAT appliance. They come free 
with breakfast cereal these days.

You can also reflash many of them with better firmware.
-- 

-dhan

------------------------------------------------------------------------
Dan Shoop                                                   AIM: iWiring
Systems & Networks Architect                      http://www.ustsvs.com/
shoop at iwiring.net                                http://www.iwiring.net/
1-714-363-1174

"The wise man doesn't give the right answers, he poses the right
questions." -- Claude Levi-Strauss

------------------------------------------------------------------------

iWiring provides systems and networks support for Mac OS X, unix, and
Open Source application technologies at affordable rates.


More information about the MacOSX-admin mailing list