We've moved from Blogger to WordPress!

You should be automatically redirected in 5 seconds. If not, visit
http://blog.michaelfmcnamara.com
and update your bookmarks.

Wednesday, October 24, 2007

DHCP Options (VoIP)

In this post I'd like to cover the DHCP options you'll need to automatically configured the Nortel i2002/i2004 Internet Telephones as they boot. These DHCP options will actually work with any of Nortel's Internet Telephones including the i2002/i2004/i2007/1120E/1140E and 1150E.

You'll need to add a custom vendor DHCP option with a code of "128" as a string value. You should name this DHCP option as "Call Server Information". The value of this DHCP option will use the following format;

Nortel-i2004-A,iii.iii.iii.iii:ppppp,aaa,rrr;iii.iii.iii.iii:ppppp,aaa,rrr.
Where the following values are;
  • “Nortel-i2004-A” = Option #128 begins with this string for all Nortel IP phone sets
  • “iii.iii.iii.iii” = the IP Address of the Call Server (S1 or S2)
  • “ppppp” = port number for the Call Server
  • “aaa” = the Action for the Server
  • “rrr” = the Retry Count for the Server
The IP Address must be separated from the port number by a colon (:). The parameters for the Primary (S1) and the Secondary (S2) Call Servers are separated by a semicolon (;). The string must end a period (.).

For this example, enter the following:
Nortel-i2004-A,10.1.1.10:4100,1,5;10.1.1.20:4100,1,5.
This would equate with the following values;
  • Call Server S1 = 10.1.1.10
  • Port S1= 4100
  • Action S1= 1
  • Retry S1= 5
  • Call Server S2 = 10.1.1.20
  • Port S2 = 4100
  • Action S2 = 1
  • Retry S2 = 5
You can use the vendor class of "Nortel-i2004-A" if you'd like to build different scopes within your DHCP server. A default scope for all general devices and then a specific scope for any device that requests the vendor class of "Nortel-i2004-A".

Let me make this comment... if your DHCP server mistakenly returns a DHCP response that does NOT include DHCP Option 128 the IP phone will just sit at the "Starting DHCP..." prompt. You need to make sure that you return DHCP Option 128 in the DHCP response to the phone.

This all assumes that you've setup a DHCP relay on the Voice VLAN on the core ERS 8600 switch or whichever switch you might be using as the router for that VLAN.

I'll review the basic configuration of the ERS 8600 (core) in a subsequent post as it applies to the example configuration I've laid out in the past few posts.

Please feel free to drop a line if you have questions.

Cheers!

6 comments:

Anonymous said...

Dear Michael,

did I get it right that you may but need not define an option code string value starting other than "Nortel-i2004-A" for any of the IP phones you listed?

What I am especially interested in is the value used for the i2033 IP Phone, which I could not find anywhere.

Your answer would be a great help to me. Thanks in advance

Sabine

Michael McNamara said...

Hi Sabine,

The i20033 IP conference phone is a really nice product. I believe it is configured in the Call Server as an i2001 IP telephone.

I was unable to "officially" confirm that it uses the same DHCP vendor class "Nortel-i2004-A" and same DHCP option code "128". With that said I would suspect it does use those same DHCP vendor class and DHCP option code.

In fact I believe every IP phones uses the same DHCP vendor class with the exception of the Nortel IP Wireless Phones (2210,2211) which use "Nortel-221x-A".

If you have an account with Nortel's website you can find a lot of very good information in this document;
http://www142.nortelnetworks.com/techdocs/IP2033/pdf/553-3001-368_26.00_IPLDIO.pdf

You could also use a sniffer to capture the DHCP request and see what DHCP vendor class the phone is using along with what DHCP options it is requesting.

Let us know if you're having any issues getting the i2033 running.

Cheers!

PS: If your not already aware I believe you need to strike the three soft keys while the phone is booting and "Nortel" is shown on the display in order to get into the configuration mode.

Anonymous said...

Hi Michael,

thanks a lot for the very helpful information!

According to the document you mentioned, "Nortel-i2001-A" in fact seems to be the right entry. I´ll have that tried out (because I myself am no networking specialist but a technical writer having to mention that entry in some documentation) and report to you whether it worked.

Cheers
Sabine

Anonymous said...

If anyone should happen to copy and paste as I did :)
Just remember the semicolon is important in this string : Nortel-i2004-A,10.1.1.10:4100,1,5;10.1.1.20:4100,1,5.
You will get a DHCP parse error if u dont.
Besides from this it actually works. Thanks

Michael McNamara said...

Hi Kenneth,

Good catch! I've fixed the original post!

Thanks,
Mike

Unknown said...

I'm trying to get the phone menu to partially lock down (config and diagnostics) on an 1140e phone via DHCP, and keep getting parse errors because the format isn't right.
Do you know where to slide in "PARTSECURE" in the string, assuming only one s1 address?
thanks! Rick