[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

9253.0. "Simple question about DHCP !" by VAXRIO::63222::Manoel () Fri Mar 21 1997 17:59

	Hi, everyone.

	Is it possible to register 800 DHCP clients editing some config 
file ? 
	Regards.

				Manoel F. Abreu Neto (MCS/DEC@Rio)
T.RTitleUserPersonal
Name
DateLines
9253.1why do you want to "register" the clients?NETRIX::"[email protected]"Farrell WoodsMon Mar 24 1997 09:3913
You can arrange for DHCP to serve only specific hardware addresses through
the xjoin GUI.  But you will have to enter each of those hardware addresses
by hand.

Is this what you want?  Normally, a DHCP server owns a range of IP addresses.
It will hand these out to any client that asks for one.  In other words,
part of the idea is that one does not have to register each machine that
will use the service.


	-- Farrell

[Posted by WWW Notes gateway]
9253.2Specific IP for each client.VAXRIO::63222::ManoelMon Mar 24 1997 12:4111
	Hi, Farrel

	In fact this customer wants that each client receives a specific
Ip address, so there is no config file that one can edit with these
address correlations, and make the DHCP server knows about it ?
	Thanks for your attention.
	Regards
			
				Manoel F. Abreu Neto (MCS/DEC@Rio)

9253.3There is an import button...NETRIX::"[email protected]"Farrell WoodsMon Mar 24 1997 15:1231
You can create a text file with the hardware addresses, IP addresses, etc.
of the clients you want to register.  Use the "import" button in the GUI
to import the text into the database.  Choose the "Server/Security" tab,
then "active IP snapshot".  An import button will appear in the lower-right
corner.

The format of the import file is described in jdbreg(8), but basically
it goes like this:

hw addr|hw addr type|hw addr len|IP addr|||||||

So if you have an Ethernet or FDDI adaptor with a hardware address of
08:00:2b:32:ed:fd and its IP address is 16.140.32.161 then the a line
in the import file for that would look like:

08:00:2b:32:ed:fd|1|6|16.140.32.161|||||||

You could almost certainly write a script to gather the information
you need for the 800 machines.  The script could write an output file
where each of those clients would be represented by one line as in my
example above.

Note that you would have to turn on the "Restrict to known MAC addr"
button in the server/security menu.  This would also have the effect
of causing joind to serve address ONLY to registered clients.


	-- Farrell


[Posted by WWW Notes gateway]
9253.4Many, many thanks...VAXRIO::63222::ManoelMon Mar 24 1997 16:382