[Dnsmasq-discuss] dhcp for Adtran phones

Josh Lawrence josh at joshlawrence.me
Thu Feb 7 17:14:12 GMT 2013


Hello all,

I'm trying to replace the dhcp server on our NetVanta 7100 phone
system, which provides phone services to our Adtran phones.  In
looking at the config and at Adtran's documentation
(https://supportforums.adtran.com/docs/DOC-5494, applies to Windows
systems), I need to be able to send a long string as dhcp option 157:

TftpServers=0.0.0.0,FtpServers=X.X.X.X:/ADTRAN,FtpLogin=polycomftp,FtpPassword=password,Layer2Tagging=True,VlanID=Y

I've been reading and Googling like crazy, and all I can seem to come
up with is creating a vendor class, something like this (taken loosely
from the mailing list):

dhcp-vendorclass=adtran,???

dhcp-option=adtran,vendor:???,157,"myreallylongstring"

Problems:

1.  I used dhcpdump to look at the requests, and I cannot find that
our phones actually send the identifying vendor information, so I
can't figure out how to tell dnsmasq to look for and hand out my
custom 157.  The current system just gives it to anyone making a dhcp
request, so I *think* it would be ok to hand that string out to any
device making a request.

2.  Obviously that syntax in my examples above is damn-near made
up...can someone suggest how my config lines should actually look?

3.  Somewhat unrelated, but these phones also need time-offset; I've
tried various forms of dhcp-option commands to get this to work
(-21600, 0xFFFABA0, -6), but they all fail.  What's the appropriate
way to express time-offset?

I'm very new to dhcp in general and I'm doing my RTFM, but I'm stumped
and would be very appreciative of any help!

Many thanks for dnsmasq,

Josh

PS:  This is what I'm using as my primary reference, although I admit
that I understand very little of it:

http://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xml

-- 
Josh Lawrence



More information about the Dnsmasq-discuss mailing list