cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
11845
Views
0
Helpful
9
Replies

Configuring DHCP and Mitel phones VLAN on 1811 router

vincent-n
Level 3
Level 3

Hi all

I'm currently using an 1811 router (Adv IP Serv IOS) at a small branch to act as a DHCP server. What I'd like to do is to create 2 VLANs that run off a Cisco 2950 and run 801.1Q trunk to the 1811 so the 1811 will do VLAN routing. One VLAN is for workstations (VLAN3) and the other VLAN is for Mitel IP Phones (VLAN100). Pls note that the PoE is provided by a HP Procurve 2926 switch connected to the 2950. The Mitel phones run 802.1Q trunk to the switch.

What I would like to achieve is for the 1811 to dish out apropriate IP address to the appropriate devices (data or voice) but can't at the moment. I'm seeing that the router is giving out IP addresses on VLAN3 for ALL the devices including the Mitel phones.

Below is my DHCP configuration:

ip dhcp pool VLAN100-Phones

import all

network 10.95.5.128 255.255.255.128

domain-name AAAAAA.com.au

dns-server 10.95.3.8 10.95.3.10

default-router 10.95.5.129

option 128 ip 10.95.100.8

option 129 ip 10.95.100.8

option 130 ascii "MITEL IP PHONE"

option 132 hex 64

option 133 hex 06

lease 0 2

!

ip dhcp pool VLAN3-Main

import all

network 10.95.5.0 255.255.255.128

domain-name AAAAAA.com.au

dns-server 10.95.3.8 10.95.3.10

default-router 10.95.5.1

option 128 ip 10.95.100.8

option 129 ip 10.95.100.8

option 130 ascii "MITEL IP PHONE"

option 132 hex 64

option 133 hex 06

lease 0 2

Below is an output of leased DHCP

cityrdr01c1811#sho ip dhcp bind

Bindings from all pools not associated with VRF:

IP address Client-ID/ Lease expiration Type

Hardware address/

User name

10.95.5.11 0100.1422.f316.5c Infinite Manual

10.95.5.33 0100.1279.ad3a.0a Mar 11 2008 12:35 PM Automatic

10.95.5.60 0108.000f.2484.c7 Mar 11 2008 12:24 PM Automatic

10.95.5.61 0108.000f.259b.11 Mar 11 2008 12:24 PM Automatic

10.95.5.62 0108.000f.24a5.ce Mar 11 2008 12:24 PM Automatic

10.95.5.63 0108.000f.2485.aa Mar 11 2008 12:25 PM Automatic

10.95.5.65 0100.1a4b.8c9a.d4 Mar 11 2008 12:24 PM Automatic

10.95.5.71 0100.0802.bfe1.e0 Mar 11 2008 01:17 PM Automatic

10.95.5.72 0100.1438.178a.1e Mar 11 2008 12:21 PM Automatic

10.95.5.73 0100.10c6.a289.4c Mar 11 2008 12:59 PM Automatic

10.95.5.89 0100.0802.fe74.9b Mar 11 2008 12:37 PM Automatic

10.95.5.110 0100.14c2.0c73.6d Mar 11 2008 01:02 PM Automatic

10.95.5.160 0108.000f.2666.ae Mar 11 2008 12:25 PM Automatic

10.95.5.161 0108.000f.268b.42 Mar 11 2008 12:25 PM Automatic

10.95.5.162 0108.000f.2256.bb Mar 11 2008 12:25 PM Automatic

10.95.5.163 0108.000f.2650.db Mar 11 2008 12:25 PM Automatic

10.95.5.164 0108.000f.21f8.25 Mar 11 2008 12:25 PM Automatic

10.95.5.165 0108.000f.26a3.3e Mar 11 2008 12:25 PM Automatic

10.95.5.166 0108.000f.2694.3f Mar 11 2008 12:25 PM Automatic

10.95.5.167 0108.000f.21f9.59 Mar 11 2008 12:25 PM Automatic

10.95.5.168 0108.000f.1fdb.be Mar 11 2008 12:25 PM Automatic

10.95.5.169 0108.000f.2595.2c Mar 11 2008 12:25 PM Automatic

10.95.5.170 0108.000f.2596.09 Mar 11 2008 12:25 PM Automatic

10.95.5.171 0108.000f.2666.08 Mar 11 2008 12:25 PM Automatic

Please note that all MAC addresses starting with 000f are Mitel phones. I need to 802.1Q trunk the Mitel switch ports because the PC are actually attached to the back of the phone.

The static DHCP options are required to tell the Mitel phones what to do.

Thanks in advance for any of your feedback.

9 Replies 9

bmcginn
Level 3
Level 3

Hi Vincent,

Sounds like the VLAN100 is not being used..

If you manually set the ip address on the phone to be VLAN100 can you reach the router?

You could check to ensure that there are Dot1Q trunks between both switches, between switch and router and between the phone and the switch.

If you are comfortable doing so, can you post the switchport configurations (for the 2950 and for the HP - i assume the hp has text configs?).

Hi there.

I disagree with VLAN100 not working because from the router I can do a "sho mac-address-table dyn int f3" (f3 is connected and trunked to HP2626) and it shows up a bunch of devices found under vlan 100. Please see attached config C1811Router.txt.

My apology, the 1811 router is directly connected to the Cisco 2950 switch on interface F2. It also is connected directly to the HP2626 switch on interface F3.

Please see the attached file and let me know what you think.

Willem de Groot
Level 1
Level 1

Hi Vincent

I hat the same with my Nortel Phones.

In My (Windows) DHCP Server I hat to include a scope option to redirect the VoIP VLAN (they call it TLAN)

191 "Nortel VoIP Vlan Redirect" Value "VLAN-A:116"

with 116 as my VoIP-Vlan

In My 116-Vlan DHCP Scope is a Nortel Scope Option to give the phone the IP-Address and other options to connect to the "Call-Manager".

I Found somting in a other Forum, maybe it will help you

see http://www.sundance-communications.com/forum/Forum6/HTML/000096.html

Willem

Vincent

I am a bit puzzled. Your original post seems to say that all the Mitel phones are getting addresses in VLAN 3 but as I look at the posted DHCP binding table there are only 4 addresses that appear to be phones with VLAN 3 addresses and there are 12 phones with addresses .160 or higher which are clearly VLAN 100 addresses.

So it seems to me that the question is not why is VLAN 100 not working but should be why do a few phones not get the right address. Can you identify any common element such as switch port to which they are connected?

HTH

Rick

HTH

Rick

Hi Rick

I'm puzzled myself. When I first configured the router for DHCP, NO phones would boot into the voice vlan and now they started to boot into the correct vlan (11 phones). However there are some annoying ones which would not boot into the voice vlan (4 phones) as you've stated. I tried to reboot one of the four annoying one this morning but it would not boot into the correct vlan. configuration wise, these phones are straight from factory default. I did a debug on the router to see DHCP events and this is the result from rebooting one of the annoying phone this morning:

c1811#term mon

c1811#sho debug

DHCP server event debugging is on.

c1811#

Mar 12 08:35:22: DHCPD: Sending notification of DISCOVER:

Mar 12 08:35:22: DHCPD: htype 1 chaddr 0800.0f24.85aa

Mar 12 08:35:22: DHCPD: remote id 020a00000a5f050203000003

Mar 12 08:35:22: DHCPD: circuit id 00000000

Mar 12 08:35:22: DHCPD: Seeing if there is an internally specified pool class:

Mar 12 08:35:22: DHCPD: htype 1 chaddr 0800.0f24.85aa

Mar 12 08:35:22: DHCPD: remote id 020a00000a5f050203000003

Mar 12 08:35:22: DHCPD: circuit id 00000000

c1811#

Mar 12 08:35:24: DHCPD: Adding binding to radix tree (10.95.5.80)

Mar 12 08:35:24: DHCPD: Adding binding to hash tree

Mar 12 08:35:24: DHCPD: assigned IP address 10.95.5.80 to client 0108.000f.2485.aa.

c1811#

Mar 12 08:35:26: DHCPD: Sending notification of ASSIGNMENT:

Mar 12 08:35:26: DHCPD: address 10.95.5.80 mask 255.255.255.128

Mar 12 08:35:26: DHCPD: htype 1 chaddr 0800.0f24.85aa

Mar 12 08:35:26: DHCPD: lease time remaining (secs) = 7200

Mar 12 08:35:27: DHCPD: Sending notification of TERMINATION:

Mar 12 08:35:27: DHCPD: address 10.95.5.80 mask 255.255.255.128

Mar 12 08:35:27: DHCPD: reason flags: RELEASE

Mar 12 08:35:27: DHCPD: htype 1 chaddr 0800.0f24.85aa

Mar 12 08:35:27: DHCPD: lease time remaining (secs) = 7199

Mar 12 08:35:27: DHCPD: returned 10.95.5.80 to address pool CityRd-Main.

c1811#

Mar 12 08:35:28: DHCPD: Sending notification of DISCOVER:

Mar 12 08:35:28: DHCPD: htype 1 chaddr 0800.0f24.85aa

Mar 12 08:35:28: DHCPD: remote id 020a00000a5f050203000003

Mar 12 08:35:28: DHCPD: circuit id 00000000

Mar 12 08:35:28: DHCPD: Seeing if there is an internally specified pool class:

Mar 12 08:35:28: DHCPD: htype 1 chaddr 0800.0f24.85aa

Mar 12 08:35:28: DHCPD: remote id 020a00000a5f050203000003

Mar 12 08:35:28: DHCPD: circuit id 00000000

c1811#

Mar 12 08:35:30: DHCPD: Adding binding to radix tree (10.95.5.81)

Mar 12 08:35:30: DHCPD: Adding binding to hash tree

Mar 12 08:35:30: DHCPD: assigned IP address 10.95.5.81 to client 0108.000f.2485.aa.

c1811#

Mar 12 08:35:32: DHCPD: Sending notification of ASSIGNMENT:

Mar 12 08:35:32: DHCPD: address 10.95.5.81 mask 255.255.255.128

Mar 12 08:35:32: DHCPD: htype 1 chaddr 0800.0f24.85aa

Mar 12 08:35:32: DHCPD: lease time remaining (secs) = 7200

c1811#

Mar 12 08:36:00: DHCPD: checking for expired leases.

c1811#

Mar 12 08:37:17: DHCPD: Sending notification of ASSIGNMENT:

Mar 12 08:37:17: DHCPD: address 10.95.5.89 mask 255.255.255.128

Mar 12 08:37:17: DHCPD: htype 1 chaddr 0008.02fe.749b

Mar 12 08:37:17: DHCPD: lease time remaining (secs) = 7200

c1811#

Mar 12 08:38:00: DHCPD: checking for expired leases.

c1811#term no mon

c1811#un all

All possible debugging has been turned off

c1811#

As you can see, the phone rebooted and obtain an IP address of 10.95.5.81. I've checked the phone manually to make sure this is matched.

Vincent

There are a couple of things I would hope you can clarify for us. I notice that both switches have their default gateway as 10.95.5.1. I would have assumed that this would be the address of the router interface. But the router interface is 10.95.5.2. And 10.95.5.1 is a standby address. Is there another router doing HSRP? If so please clarify what the real topology of this network is. If not why is standby configured? Please remove HSRP, make the router interface to be 10.95.5.1 and tell us if the symptoms change.

I would also like some clarification about the role of the Cisco 2950 switch in this. It would appear that all the phones are connected to the HP. What is the Cisco 2950 switch doing and what is connected to it?

If you remove the Cisco 2950 switch from the environment does the behavior of the phones change?

I would also like to explore whether the issue is related to a switch port or to a phone. Would you identify a switch port connected to a phone that does not do right? And would you identify a switch port connected to a phone that does do right? And would you then swap these connections (so that the phone that has done right is connected to the port of the phone that does not do right)? And would you then boot both phones? It would be helpful to know whether the problem follows the switch port or follows the phone.

HTH

Rick

HTH

Rick

Vincent

Having asked a couple of questions I would like to offer a couple of observations. I did a project with Mitel IP phones. From the configs and the debug output I would assume that your implementation should act pretty much like mine. In my implementation the phone boots up in the native VLAN, sends a DHCP request, gets a response from the DHCP server in the native VLAN which assigns an address in the subnet of the native VLAN. The DHCP server also sends a couple of optional fields and based on these the Mitel phone takes additional action. It performs a release on the address that it was just assigned, it assumes that it should be in the voice vlan (which was identified in the DHCP optional data) and it sends a new DHCP request in the voice VLAN. The server then assigns an address from the voice VLAN pool.

From what you have posted it appears that most of the phones are doing what I have described and working properly. But 4 of the phones are not.

Here is what I believe that I observe in your debug output. The phone boots up, sends the DHCP request in VLAN 3 and is assigned IP address .80. The phone then does the release (as expected) and sends another DHCP request. But the second request also seems to be in VLAN 3 and address .81 is assigned.

So it looks to me that the critical question is why the phones are not recognizing that they should go into VLAN 100. Is there something about the behavior of the switch or is there something about the behavior of the phone? This is why I suggested the experiment with swapping the phone and switch port.

Are there any show commands on the HP switch or any diagnostics on the switch that would tell us anything about the behavior of the ports in question?

By my count there are 12 phones that move into VLAN 100 and 4 phones that remain in VLAN 3. Can you tell us which ports on the HP are the phones that do not do as expected?

HTH

Rick

HTH

Rick

Rick

- HSRP configured: You're right, HSRP is configured because I've plans to put in a backup router. Just wanted to avoid a LAN outage when adding this new backup router. Are you suspecting that HSRP is doing some weird stuff?

- Role of 2950: provide network services to non PoE devices such as printers, dedicated PCs. These devices do not need phone hence the 2950. The 2950 is directly connected to port F2 on the 1811 router. The HP2626 is directly connected to port F3 on the 1811 router.

- Removing the 2950: I don't think that this will help the annoying phone to boot into the voice vlan because the phone is physically patched to port 6 on the HP which is then patched to port F3 on the 1811.

- Swapping the ports: sounds like a good suggestion. I'll definitely have to investigate this. Just can't do it right now because this is a different office. I'll update once the swap is done.

Vincent

HSRP. I do not have any particular reason to suspect HSRP. But when dealing with weird symptoms like this I want to simplify as much as possible. If it is not actively accomplishing something I would like to test with it out of the environment.

Likewise for the 2950. It interacts with VLAN 3 and since its interface to the router is a trunk there is possible interaction with VLAN 100. I have no particular reason to believe it is the problem, but I would like to eliminate any possibility when I can. As a test please take it out.

Ports on the HP remain my prime theory about where the problem is. Can you tell where the problem phones are connected? When you can do the test with swapping ports I would be very interested in the results.

HTH

Rick

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: