We help IT Professionals succeed at work.

DHCP Option 78/79 and 144 syntax

Hello Folks,

I have a netsh file that I am trying to import. Unfortunately I can seem to get the right settings in these two lines.

From this:

Dhcp Server 1.1.1.1 set optionvalue 78 BYTE "00" "10.4.34.129" "10.4.34.130" "10.9.5.44" "10.9.5.45"
Dhcp Server 1.1.1.1 set optionvalue 79 ENCAPSULATED "GLOBALSCOPE"
Dhcp Server 1.1.1.1 set optionvalue 144 IPADDRESS "78.111.114.116,101.108.45.105,50.48.48.52,45.65.44.49,48.46.55.46,49.52.56.46,49.48.58.52,49.48.48.44,49.44.53.46"


To this:

Dhcp Server 1.1.1.1 set optionvalue 78 BOOLEAN "FALSE" "10.4.34.129" "10.4.34.130" "10.9.5.44" "10.9.5.45"
Dhcp Server 1.1.1.1 set optionvalue 79 ENCAPSULATED "GLOBALSCOPE"
Dhcp Server 1.1.1.1 set optionvalue 144 STRING "78.111.114.116,101.108.45.105,50.48.48.52,45.65.44.49,48.46.55.46,49.52.56.46,49.48.58.52,49.48.48.44,49.44.53.46"

Can someone please correct these 3 lines to the proper way.

Lastly,
For some reason, the top contents of the netsh file contains a few lines of unknown

Dhcp Server 1.1.1.1 Add Optiondef 78 "UNKNOWN" ENCAPSULATED 1 comment="UNKNOWN" ""
Dhcp Server 1.1.1.1 Add Optiondef 79 "UNKNOWN" ENCAPSULATED 1 comment="UNKNOWN" ""
Dhcp Server 1.1.1.1 Add Optiondef 85 "UNKNOWN" IPADDRESS 1 comment="UNKNOWN" ""
Dhcp Server 1.1.1.1 Add Optiondef 89 "UNKNOWN" IPADDRESS 1 comment="UNKNOWN" ""
Dhcp Server 1.1.1.1 Add Optiondef 92 "UNKNOWN" IPADDRESS 1 comment="UNKNOWN" ""
Dhcp Server 1.1.1.1 Add Optiondef 112 "UNKNOWN" IPADDRESS 1 comment="UNKNOWN" ""
Dhcp Server 1.1.1.1 Add Optiondef 118 "UNKNOWN" IPADDRESS 1 comment="UNKNOWN" ""
Dhcp Server 1.1.1.1 Add Optiondef 150 "UNKNOWN" IPADDRESS 1 comment="UNKNOWN" ""

I my guess if they have to be matched or filled in? I am new to this, so please forgive me if this sounds to easy for you experts.

Thanks
Comment
Watch Question

deroodeSystems Administrator
CERTIFIED EXPERT

Commented:
I'm not quite sure what you are trying to do.
Can you set the options manually using the netware DNS/DHCP console?

IIRC you can export the config, then check the syntax for your import file

From TID10071668

9) For each configured Subnet:
9a) Select the Subnet object in the left panel.
9b) Click the 'Other DHCP Options' tab in the right panel.
9c) Click the 'Modify ...' button in the right panel.
9d) In the 'Selected DHCP Options' list, select 'Directory Agent' and click the '<< Remove' button.
9e) In the 'Selected DHCP Options' list, select 'Service Scope' and click the '<< Remove' button.
9f) Click the 'OK' button to confirm your changes and close the 'Modify DHCP Options' window.
9h) Click the 'Modify ...' button in the right panel again.
9i) In the 'Available DHCP Options' list, select 'Directory Agent' (code 78) and click the 'Add >>' button to add it to the 'Selected DHCP Options' list.
9j) Click the 'Add ...' button in the 'Directory Agent' area to add the IP address of a SLP Directory Agents, which you remembered with step 3d.
9k) Keep 'Mandatory' enabled if you do not want to allow SLP User Agents or Service Agents, which obtain their SLP configuration with DHCP, employing either active or passive multicast discovery of Directory Agents.
9l) In the 'Available DHCP Options' list, select 'Services Scope' (code 79) and click the 'Add >>' button to add it to the 'Selected DHCP Options' list.
9m) Click the 'Add ...' button in the 'Service Scope' area to add the names of the SLP Service Scopes, which you remembered with step 3e.
9n) Keep 'Mandatory' enabled if you want the SLP User Agents or Service Agents, which obtain their SLP configuration with DHCP, to override their staticly configured SLP Scopes with the list provided by DHCP.
9o) Click 'OK' to save your changes and close the 'Modify DHCP options' window.

Author

Commented:
Hi,

Actually, Let me add/clarify.... This file was originally on CNR, I converted it Microsoft netsh format.

My issue is something in the CNR data that does not Jive with how MS interprets it/likes it.

Systems Administrator
CERTIFIED EXPERT
Commented:
The Netware DNS/DHCP console cannot import Microsoft netsh files. If you are trying to configure a Microsoft DHCP server this link may help:

Configuring DHCP options on non-NetWare 5 DHCP servers:

http://support.novell.com/docs/Tids/Solutions/10054413.html

HOW TO: Add Novell SLP DHCP Options to the DHCP Service

http://support.microsoft.com/kb/q285019/

Additionally, you may want to add the Microsoft Networking zone to your question.

Author

Commented:
HI, Thank you for the link. I am trying to modify the netsh file I have. But I cant seem to get the wrte settings. What I would like to request is someone to look over my file to make MS accept it.

I know have MS server to create this. All I have is a netsh file that was converted from CNR.

Thanks
deroodeSystems Administrator
CERTIFIED EXPERT

Commented:
I am not at all familiar with the Microsoft DHCP server, and it seems the import /export format isn't documented.
You may want to add the Microsoft Networking zone to your question, to have some Microsoft experts look at this.