We help IT Professionals succeed at work.
Get Started

DHCP Option 78/79 and 144 syntax

2,712 Views
Last Modified: 2012-05-12
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
Systems Administrator
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE