Ericsson IP Phones and Option 43

Erling Paulsen erling.paulsen at uit.no
Fri May 8 13:45:43 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

Looks alright to me!

I'm also interrested in this and it should work! We currently use, as
your first example, a too looong HEX-encoded string via "option
vendor-encapsulated-options". It works well enough, but I find it
annoying to construct, count lengths and convert to HEX for all our
different VoIP LANs.

Some months ago I tried something simular with "option space",
unfortunately I don't remember the exact config, but it didn't work for
me - for some reason the IP-Phones would not accept the constructed
option buffer.

According to the man-pages it looks as if your config should be right.
There really are not to many places to go wrong.

01: Define an option space.
02: Define some options in that option space.
03: Provide values for them.
04: Generate the vendor-encapsulated-options.

Tell me if you can get it to work, I'll try and make another go at it
over the weekend.

- - Erling Paulsen


Axford M.F. wrote:
> Hi
> 
> We're about to deploy some IP Phones here and of course they want some DHCP options. (The people running this project would like this by the end of next week but of course haven't provided a phone to test with yet!)
> 
>>From the limited Documents I've received it appears that the phones will provide a Vendor Client Identifier (Option 60) of "Ericsson IP-Phone" and will expect a number of options via Vendor Encapsulated Options (option 43).
> 
> I have no problems with creating a config section based on the VCI (we're already using this to match PXE clients and looking to do the same for Mac Netbooting). From the man pages I believe it is possible to specify option 43 as a long string or by creating an option space. Ideally I'd like to use the option space as this will make configuration easier. However in this instance I'm not sure if this is possible.
> 
>>From the Documentation it looks like option 43 will be made up of:
> String length (0x11), the string "Ericsson IP-Phone", tag 01 type string, tag 04 type string, tag 05 type string.
> 
> The example I've got is:
> option vendor-encapsulated-options 11:45:72:69:63:73:73:6f:6e:20:
> 49:50:2D:50:68:6f:6e:65:01:09:31:30:2e:30:2e:30:2e:39:39:02:09:31:30:
> 2e:30:2e:30:2e:39:39:03:04:31:32:33:34
> 
> Split up this gives:
> 11:45:72:69:63:73:73:6f:6e:20:49:50:2D:50:68:6f:6e:65
> Length 0x11 - 17bytes - Text "Ericsson IP-Phone"
> 01:09:31:30:2e:30:2e:30:2e:39:39
> Tag 01, Length 9: 10.0.0.99
> 
> 02:09:31:30:2e:30:2e:30:2e:39:39
> Tag 02, Length 9: 10.0.0.99
> 
> 03:04:31:32:33:34
> Tag 03, length 4: 1234
> 
> 
> So my question is: Is there a way I get the "Ericsson IP-Phone" part into the option 43 packet if I use a config something like:
> 
> Option space EricssonPhone;
> Option EricssonPhone.webserv code 1 = text;
> Option EricssonPhone.proxyserv code 2 = text;
> Option EricssonPhone.proxyport code 3 = text;
> Option EricssonPhone.domain code 4 = text;
> Option EricssonPhone.vlan code 5 = text;
> 
> If substring( option vendor-class-identifier,0,17) = "Ericsson IP-Phone" {
>         option vendor-class-idendifier "Ericsson IP-Phone";
>         vendor-option-space EricssonPhone;
>         option EricssonPhone.webserv "10.0.0.99";
>         option EricssonPhone.proxyserv "10.0.0.99";
>         option EricssonPhone.proxyport "1234";
> }
> 
> Regards
> 
> Mike Axford
> University of Southampton
> England
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users


- --
- ----------------------------------|sent-by|---
erling.paulsen at uit.no, NetAdm, Univ. Of Tromso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoEN4YACgkQUOdRxEljdeyoswCfeAhlPs+oBcrhu9qlguxb+XQP
bGkAn0TGk/JIi9rO2wYXlMNI2uyI3VmZ
=IPuU
-----END PGP SIGNATURE-----



More information about the dhcp-users mailing list