Novell Home

Configuring non-NetWare DHCP servers for NWIP

Novell Cool Solutions: Feature
By Timothy Grocki

Digg This - Slashdot This

Posted: 12 Jul 2000
 

Note: In order for Microsoft's DHCP server to respond to BOOTP clients, you must create two DHCP records using the Microsoft DHCP Manager utility. The first record is identifier 062, and contains the NetWare/IP domain name. The second record is identifier 063, and contains config info, the primary DSS, prefered DSS, and the nearest servers. These options are unique to Novell and are not published standards for DHCP. The server needs to know how to format the data in these options so that the NWIP client can properly extract the information.

For more information on NWIP in a non-Novell DHCP server environment, see TID #2937390 or TID #2932592. These TIDs basically say the configuration for NWIP Options 62 & 63 are not configurable on NT due to the fact that DHCP Options 1-76 are classified as "Default DHCP OPtions" and therefore unconfigurable. Not entirely true, with registry hack provided in this solution. Keep in mind this was configured on the Windows 2000 DHCP Server platform. It has not been tested on the NT 4.0 DHCP Server platform.

The following article provides configuration instructions for WIN2K DHCP and NWIP Options 62 and 63. This solution was tested on NT 4.0 with workstations using the 4.7 client.

Windows 2000 DHCP Server Configuration for NWIP Options 62 and 63
Timothy Grocki

Installation Tasks/Requirements

  1. Establish a functional DHCP server and scope for the target IP segment.

  2. Under DHCP Standard Options you will notice that option 62 and 63 are not included. The following steps will add the options to the Default DHCP Option list through a reg hack.

  3. Create a file named NWIP.REG

  4. Paste the following registration keys into the NWIP.REG created above.

      Windows Registry Editor Version 5.00

      [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DhcpServer\Configuration\OptionInfo\062]
      "OptionName"="NetWare/IP Domain Name"
      "OptionComment"=""
      "OptionClassName"=""
      "OptionVendorName"=""
      "OptionType"=dword:00000000
      "OptionId"=dword:0000003e
      "OptionValue"=hex:18,00,00,00,05,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,\
      00,00,00,00

      Windows Registry Editor Version 5.00

      [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DhcpServer\Configuration\OptionInfo\063]
      "OptionName"="NetWare/IP Configuration"
      "OptionComment"=""
      "OptionClassName"=""
      "OptionVendorName"=""
      "OptionType"=dword:00000001
      "OptionId"=dword:0000003f
      "OptionValue"=hex:14,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00

  5. Run the NWIP.REG by double clicking the file on the target Windows 2000 DHCP Server. This will create option 62 and 63 in the registry and also allow you to edit the parameters for each option in the MMC. Verify the new options are visible in the registry by browsing to the following two keys:
      [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DhcpServer\Configuration\OptionInfo\062]
      [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DhcpServer\Configuration\OptionInfo\063]

  6. Reboot the server to allow the reg changes to take effect.

  7. After reboot, launch the MMC and open the DHCP Snapin.

  8. Right click on the DHCP server object and select "Set Predefined Options and Values." Configure the following:
      Set Option Class: = DHCP Standard Options
      Set Option Name: = 062 NetWare/IP Domain Name
      Set String: = {Your NWIP Domain Name} e.g. nwip.novell.com

  9. Click "Ok" to continue.

  10. Right click on the DHCP server object and select "Set Predefined Options and Values." Configure the following:
      Set Option Class: = DHCP Standard Options
      Set Option Name: = 063 NetWare/IP Configuration
      Click the "EDIT ARRAY" button

  11. From the "Numeric Value Array Editor" screen you will enter in the decimal values for each of the NWIP suboptions. There should already be a 2 in the "Current Values:" box. Add to the "Current Values:" the following string of numbers in the order specified below. A description of each value will be to the right of each numeric value.
      02 = Default suboption identifier, only add if not already present.
      00 = Required to complete suboption identifier.
      05 = Identifier for Get Nearest Server Option.
      01 = Signifies 1 byte will follow to set this option to YES or NO (1 or 0 respectively).
      01 = To set Get Nearest server to Yes. (0 would set to No)
      11 = Identifier for Primary Dss Server.
      04 = Signifies 4 bytes will follow which will represent the IP address of your Primary DSS.
      000 = Represents the first byte of the Primary Dss Server. (Replace 000 with actual numeric value.)
      000 = Represents the second byte of the Primary Dss Server.
      000 = Represents the third byte of the Primary Dss Server.
      000 = Represents the fourth byte of the Primary Dss Server.
      06 = Identifier for Preferred Dss Server
      04 = Signifies 4 bytes will follow which will represent the IP address of the Preferred DSS.
      This value variable, 4,8,12... depending how many DSS servers are desired in DHCP.
      000 = Represents the first byte of the Preferred Dss Server.
      (Replace 000 with actual numeric value.)
      000 = Represents the second byte of the Preferred Dss Server.
      000 = Represents the third byte of the Preferred Dss Server.
      000 = Represents the fourth byte of the Preferred Dss Server.
      07 = Identifier for Nearest Nwip Server
      04 = Signifies 4 bytes will follow which will represent the IP address of the Nearest NWIP Server.
      This value variable, 4,8,12... depending how many NWIP servers are desired in DHCP.
      000 = Represents the first byte of the Nearest NWIP Server.
      (Replace 000 with actual numeric value.)
      000 = Represents the second byte of the Nearest NWIP Server.
      000 = Represents the third byte of the Nearest NWIP Server.
      000 = Represents the fourth byte of the Nearest NWIP Server.
      08 = Identifier for Number of Auto Retries.
      01 = Signifies 1 byte will follow.
      00 = Replace 00 with number retries desired for each DHCP client.
      09 = Identifier for Auto Retry interval in seconds.
      01 = Signifys 1 byte will follow.
      00 = Replace 00 with the number of seconds for each interval.
      10 = Identifier for Version 1.1 of client.
      01 = Signifys 1 byte will follow.
      00 = Replace 00 with either 00 for no, or 01 for Yes.

  12. After entering the required data be sure to review each of the values to make sure all are input correctly.

  13. Click "OK", then "OK" again to continue.

  14. Expand the DHCP server object in the MMC and Right click on "Scope Options" and select "Configure Options"

  15. From the Scope Options screen, scroll down to option 062 under the General tab and place a check in the box to turn this option active. Note: your correct Nwip domain name should appear in the "String Value:" box.

  16. From the Scope Options screen, scroll down to option 063 under the General tab and place a check in the box to turn this option active. Note: all the values entered above should appear in the "Current Values:" box.

  17. Click "Apply" then "OK" to continue.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell