DHClient request and use custom vendor extensions

Frank Bulk frnkblk at iname.com
Wed Nov 14 02:28:39 UTC 2007


Looks like it's somewhat custom.  I get this textual result:
     Qí carms03.west.leinercorp.com ó /carwyse1 © anonymous ¦
carwyse1 at leiner.com 
and this decimal ASCII:
4:4:10:1:1:81:161:28:99:97:114:109:115:48:51:46:119:101:115:116:46:108:101:1
05:110:101:114:99:111:114:112:46:99:111:109:0:162:10:47:99:97:114:119:121:11
5:101:49:0:184:10:97:110:111:110:121:109:111:117:115:0:185:20:99:97:114:119:
121:115:101:49:64:108:101:105:110:101:114:46:99:111:109:0

If I had to guess, it is 
length 4, IP address 10.1.1.91
port 161
length 28, carms03.west.leinercorp.com
port 162
etc.

Frank 

-----Original Message-----
From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On Behalf
Of Seri Al-Najjar
Sent: Tuesday, November 13, 2007 5:32 PM
To: dhcp-users at isc.org
Subject: RE: DHClient request and use custom vendor extensions

Thank you Brian, the BSD options didn't work for me but the pointer to
the dhcp-options man page gave me the toe hold I needed to scrape out
the solution.

Now I have another problem that seems worse. I have the DHCP server
issuing me the vendor specific options, but they're in the encapsulated
format and I cannot work out how to convert them back into a usable
state.

The string I'm getting now is:
option vendor-encapsulated-options
4:4:a:1:1:51:a1:1c:63:61:72:6d:73:30:33:2e:77:65:73:74:2e:6c:65:69:6e:65
:72:63:6f:72:70:2e:63:6f:6d:0:a2:a:2f:63:61:72:77:79:73:65:31:0:b8:a:61:
6e:6f:6e:79:6d:6f:75:73:0:b9:14:63:61:72:77:79:73:65:31:40:6c:65:69:6e:6
5:72:2e:63:6f:6d:0;

Which after running this through a hex to ascii convertor shows that the
4 requested options are encapsulated in it, but I don't know how to
identify the break point between the options or how to convert them back
to usable format.

Can anyone help?

Sorry for all the questions, but this is the first time I've tried to go
beyond the basics of DHCP.

Seri

-----Original Message-----
From: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] On
Behalf Of Brian Raaen
Sent: Tuesday, November 13, 2007 1:03 PM
To: dhcp-users at isc.org
Subject: Re: DHClient request and use custom vendor extensions

Check the man pages they are helpful about this.  You can read the
openbsd man
pages from these links.  They should be close to what you have, but it
is
best to read the man pages for your OS.

http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient.conf&sektion=5&arc
h=i386&apropos=0&manpath=OpenBSD+Current
http://www.openbsd.org/cgi-bin/man.cgi?query=dhcp-options&sektion=5&arch
=i386&apropos=0&manpath=OpenBSD+Current


--
Brian Raaen
Network Engineer
braaen at zcorum.com
Tel 678-507-5000x5574

On Tuesday 13 November 2007 15:47, Seri Al-Najjar wrote:
> Can anyone provide any links or information as to how to get dhclient
> (from the v3.1.0 ISC DHCP release) to request and use custom vendor
> extensions. I've tried searching the mailing lists, newsgroups and
> Google but with no luck.
>
> Thank you for all and any help.
>
> Seri
>
>
>





More information about the dhcp-users mailing list