Solved

DHCP Text Options

Posted on 2011-03-22
2
389 Views
Last Modified: 2012-08-13
I would like to set the following value through DHCP

P1="A";P2="B";P3="C";MG="D"

The problem I have is the double quotes. In my dhcpd.conf i have the following line but when i change the single quotes to doubles I get an error. How can these be represented in the config file?

option HPDM-Group code 203 = text;
option HPDM-Group "P1='15VP';P2='';P3='AWADS1';MG='15VP'";

0
Comment
Question by:allan_jardine
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 250 total points
Comment Utility
Escaping the quotes should work:

option HPDM-Group "P1=\"15VP\";P2=\"\'';P3=\"AWADS1\";MG=\"15VP\"";

wmp
0
 
LVL 5

Author Comment

by:allan_jardine
Comment Utility
That looks like it will work, thanks. I will let you know how i get on
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now