SUMMARY: Quick DHCP Setup

From: Crist Clark <crist.clark_at_globalstar.com>
Date: Thu Nov 10 2005 - 15:31:38 EST
This was one of those silly things that I would have never figured
out in a million years if Dave Miner had not asked about it. Despite
filling in netmasks in dhcpmgr(1M) dialogs, in.dhcpd(1M) (and
dhcpmgr(1M) too) actually need netmask information in the netmasks(4)
file in order to work properly. Once I added,

	172.18.0.0	255.255.255.0

That is tell them that I'm breaking this Class B space into /24
networks, things worked a lot more smoothly. (Well, after I re-entered
everything into dhcpmgr since it killed all of my data for
172.18.245.0/24 when I removed the extra 172.18.0.0 entry).

Thanks to the others who responded as well.

Crist Clark wrote:
> I have to say that dhpcmgr(1M) is the kind of admin GUI that reminds
> us why admin GUIs have a bad name and why I stay away from Windows.
> It still thinks the world uses classful IP addressing? It took me a
> while to get the thing to work at all.
> 
> I just want to quickly set up DHCP on a Solaris 10 machine to hand out
> a network address to a DHCP client. The client is, literally, a black
> box with just a network port in it. It's sending a DHCPDISCOVER packet
> with a Host Name option set. I can't get the Sun DHCP server to respond
> to it. When running in debug mode I see,
> 
>   43727d46:  Datagram received on network device: qfe0(limited broadcast)
>   43727d46:  select_offer:  hostname request for globalstar-03
>   43727d46:  name_avail(F):  the DHCP server believes the IP address 
> that corresponds to the requested host name is not managed by the DHCP 
> server.
>   43727d46:  select_offer:  name_avail false or no address for 
> globalstar-03
> 
> However, I have an entry in /etc/hosts for globalstar-03 that falls
> squarely into the range managed by the server. At least I see that
> IP address listed in the dhcpmgr interface.
> 
> Does anyone have experience with these awkward DHCP tools Sun provides?
> I'd like to get this up in a hurry.
-- 
Crist J. Clark                               crist.clark@globalstar.com
Globalstar Communications                                (408) 933-4387

The information contained in this e-mail message is confidential,
intended only for the use of the individual or entity named above.
If the reader of this e-mail is not the intended recipient, or the
employee or agent responsible to deliver it to the intended recipient,
you are hereby notified that any review, dissemination, distribution or
copying of this communication is strictly prohibited.  If you have
received this e-mail in error, please contact postmaster@globalstar.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Nov 10 15:32:05 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:53 EST