DHCP vendor options

  • Thread starter Thread starter Bobby Tudor
  • Start date Start date
B

Bobby Tudor

Cannot figure out how to configure this
For a W2k DHCP server I have to add these options as
vendor or user class
basically there is a Sunray server all clients that will
boot and get an Ip should also get the Ip address of the
Sunray server so they will go unicast instead of
broadcasting for the server

here's what I have to add

Here is the information on the Sunray DHCP vendor option
we would like to add for the following existing ip address
(10.x.x.x.

Parameter Name: AuthSrvr
Client Class: "SUNW.NewT.SUNW"
Option Code: 21
Data Type: 10.x.x.x
Optional/Mandatory: Mandatory
Granularity:1
Max Count: 1
Comments: Single Sun Ray server IP address


I added the vendor option but cannot figure out where I
can configure the other options

Any help would be greatly appreciated

thanks

Bobby
 
If I'm reading this correctly, you'd need to configure a Vendor class
utilizing the data provided.
From the server node's Action menu, select Define Vendor Class. Then in the
'DHCP Vendor Class' dialog, click the add button, provide a name,
description, then in the ASCII portion of the data field, enter
"SUNW.NewT.SUNW" (without the quotes). Close the dialog once you add the
class.

Then, you need to create a new option definition in this Vendor class. From
the server node's Action menu, select 'Set Predefined Options'. Select your
new class from the 'Option Class' dropdown, then click Add to create a new
option definition.
Give it type IPAddress, code 21, and name "AuthSrvr" (without the quotes).
Don't check the array box.

After that, you need to configure the option for handout in the desired
scope(s).
Move to the desired scope, and select the Scope Options node. From the
Action menu, select 'Configure Options'.
In the 'Scope Options' dialog, move to the Advanced tab. Then select your
new Vendor class from the 'Vendor Class' dropdown, then select the option
you've created, and check its box. Then add the desired IP address for the
option's value, and click OK to close the dialog.

That should take care of it for you (again, if I'm reading it correctly).
:)

Also, if you'd rather not configure it directly on all the scopes, you can
do the third portion (option setting) from the Server Options node, and as
long as it is not overwritten at the scope level, each scope will use that
server-level value.

Hope this helps you out!

--
==============================
Chris Edson
(e-mail address removed)

This posting is provided "AS IS" with
no warranties, and confers no rights.
===============================
 
I added this however when I go at the scope options
configure options and I enter the Ip address of the Auth
Server ....I got an error message

"This option specifies a list of Ip address pairs
Enter pais of addresses "

I guess it is taking from the 021 microsoft option

Please respond

Many thanks

I checked with the guys from Sun and they said it should
be ok if I added those vendor options .

basically there are a couple of Sun terminals

they connect to a Sunray server .

When they boot up they take an Ip address from the 2000
DHCP server and they have to have this option the IP
address of the Sunray server to connect to the server.

terminals on the same vlan can connect because they can
find the server locally .

terminals from other Vlans cannot find the server unless
they take this option along with the Ip address .

thanks

Bobby
 
That's unfortunate.... I believe there was a bug in the old Windows 2000
DHCP Snap-in that would cause what you are seeing. I have verified that
this problem doesn't exist on Windows Server 2003 DHCP Server

I also grabbed a Windows 2000 Server and tried out another method:
What you might try is setting the option utilizing the netsh.exe DHCP
helper.
Drop to a command session, and try:
netsh.exe
netsh> dhcp
dhcp> server {IP}
dhcp server> scope {scopeID}
dhcp server scope> set optionval 21 IPADDRESS vendor="{vendor class name}"
10.x.x.x

See if that method works for you, it appears to have worked on my machine.


--
==============================
Chris Edson
(e-mail address removed)

This posting is provided "AS IS" with
no warranties, and confers no rights.
===============================
 
Back
Top