[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9319.0. "need clarifications on DHCP" by AUBER::DORNANO () Thu Mar 27 1997 09:46


I already read almost all topics with subject "dhcp" or "join" in this
conference.

Althought some things are clearer, there are still shades on my mind.


I'm working on two problems reported by a customer : 



 1)

 A Windows 95 PC gets its IP address, netmask, DNS and BIND server OK, but
 cannot get the router/gateway address/info. More : once booted over DHCP
 he cannot add the router address manually.
 
 The DHCP server is UNIX V4.0.

 Due to constraints, I could not boot my own PC (he seems to refuse or ignore 
 the DHCPOFFER from UNIX, and takes it from another host), so I had a try with 
 a UNIX V4.0 client.

 I then noticed easily with "dhcpparm -i ln0 gw" that the router info was
 passed to the client by joind.


 So what is missing for W95 ? Customer says that it's OK with an other DHCP
 server package.

 Mr PJMD in note 5646 seems to deal OK with Windows 95 and WNT clients  
 but he does not tell about routers.



 2)IP address pool exhausted

 One other thing not very clear to me is how to affect a permanent IP address
 to a client.

 If I use the xjoin active snapshot capability, traces show a message saying
 "network not administered by server". If I declare an IP range, I get rid off
 the message but get random address.

 If I restrict the pool to one address (the same address than I declared in
 the active snapshot window) I get a "IP address pool exhausted" message.


I'm lost. Could you clear my mind please ?

Thank you very much

Pascal d'Ornano
T.RTitleUserPersonal
Name
DateLines
9319.1Some info...CSC32::A_LICAUSEFri Mar 28 1997 08:3123
    I believe your attempting to grant a permanent address from your pool
    of automatically allocated addresses.  If so, this cannot be done.
    You will need to have a seperate pool or group of addresses that is not
    declared in your Server/Security >> IP RANGES grouping.
    
    With regard to the error regarding unmanaged subnets....check the info
    you have in /etc/join/netmasks.  Make sure the entry reflects the
    actual subnet class.  For example if the subnet you have defined is
    16.100.240.0, the entry should look like "16.0.0.0 255.255.255.0".
    In this case network 16 is a class A address so the first group of
    numbers must reflect a Class A scheme.  The following netmask can
    represent how your actually using the scheme.
    
    With regard to the 1st question, it appears that another server was
    able to satisfy the request w/o objection and thus granted the
    requested information.  Try setting a level 4 debug and do a tail on
    /var/join/log.  This will give you quite a bit of additional
    information.
    
    Hopefully someone from engineering will answer more completely.
    
    al
    
9319.2AUBER::DORNANOFri Mar 28 1997 11:2416
Thank you very much for your reply.

Yes, allocating a static address out of the pool should solve the problem.

Concerning the /etc/join/netmasks file I have 

16.189.128.0	255.255.255.0

I tried with 16.0.0.0	255.255.255.0   but I'm not sure this is crucial.

Still looking for the W95 not picking the router problem.

Regards 

Pascal
9319.3This works....CSC32::A_LICAUSEMon Mar 31 1997 10:1113
    RE: router information.   Take a look at the file /etc/join/client.pcy
    Check to see if the line "request routers" is uncommented.  If it is
    commented, try removing the comment character and then try the client
    request.
    
    I've just tried this configuration and it works.  When you say the
    customer is trying to set the router manually, which facility is he
    using?  If he is trying to do it from CONTROL PANEL >> NETWORK >>
    and then tries the Gateway tab, is he able to do this or is the
    selction grayed out?
    
    Al
    
9319.4AUBER::DORNANOTue Apr 01 1997 11:0732
Al

I just checked at customer site and they have "request routers" uncommented
in /etc/join/client.pcy, so that point is OK.

Although, this is quite surprising for me, as I thought this file was only
needed if UNIX was a DHCP client.

In the case I'm interested in, the client is a Windows 95 PC.

(Remember that I did some tests at the office, and managed to confirm with
 dhcpprm gw that the UNIX DHCP server really sends the router info).



 >   I've just tried this configuration and it works.  When you say the
 >   customer is trying to set the router manually, which facility is he
 >   using?  If he is trying to do it from CONTROL PANEL >> NETWORK >>
 >   and then tries the Gateway tab, is he able to do this or is the
 >   selction grayed out?



In fact, after reboot, winipcfg (at the DOS prompt) shows no gateway info.

Setting it with CONTROL PANEL >> NETWORK >> TCPIP >> Gateway tab is useless,
as reboot is needed in order to take effect. And even if the customer set
the router this way, once the PC is rebooted, the field shown with winipcfg is s
till blank.


Pascal
9319.4AUBER::DORNANOWed Apr 02 1997 03:3738

Al

I just checked at customer site and they have "request routers" uncommented
in /etc/join/client.pcy, so that point is OK.

Although, this is quite surprising for me, as I thought this file was only
needed if UNIX was a DHCP client.

In the case I'm interested in, the client is a Windows 95 PC.

(Remember that I did some tests at the office, and managed to confirm with
 dhcpprm gw that the UNIX DHCP server really sends the router info).



 >   I've just tried this configuration and it works.  When you say the
 >   customer is trying to set the router manually, which facility is he
 >   using?  If he is trying to do it from CONTROL PANEL >> NETWORK >>
 >   and then tries the Gateway tab, is he able to do this or is the
 >   selction grayed out?


In fact, after reboot, winipcfg (at the DOS prompt) shows no gateway info.

Setting it with CONTROL PANEL >> NETWORK >> TCPIP >> Gateway tab is useless,
as reboot is needed in order to take effect. And even if the customer set
the router this way, once the PC is rebooted, the field shown with winipcfg 
is still blank.


BTW, customer says that there are no pbroblems with a Sun SuperSparc
20502 running Solaris 2.4 and the DHCP server software found at
http://www.fugue.com/dhcp.


Pascal
9319.5ignore client.pcy for PCsSMURF::DUSTINWed Apr 02 1997 13:077
    client.pcy only affects the Digital UNIX client side of DHCP.
    Your client is a PC, so client.pcy has no relevence here.
    
    Likewise, server.pcy affects the server policy on the DHCP server only.
    
    John