Solved

DHCP Text Options

Posted on 2011-03-22
2
393 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
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

863 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

26 Experts available now in Live!

Get 1:1 Help Now