Solved

DHCP Text Options

Posted on 2011-03-22
2
401 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 250 total points
ID: 35189232
Escaping the quotes should work:

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

wmp
0
 
LVL 5

Author Comment

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

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.

726 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