Comware Based
cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring DHCP Server on a Comware Switch for MSM460/466 APs

LS1971
Frequent Advisor

Configuring DHCP Server on a Comware Switch for MSM460/466 APs

Hi,

 

I want to configure a DHCP server on a HP 5120-48G EI switch. In the branch-office network there will be APs (MSM460/466) which should get their MSM controller automatically per DHCP. I know how to configure a Windows DHCP Server to accomplisch this. I have found a Blog (The Network Monkey) in which the option 43 is used to configure a ProCurve (?) switch. I want to know if somebody has already configured a Comware switch in such an environment.

So far I have managed to create the following configuration (untested):

 

vlan 20
 name branchvlan

#

dhcp server ip-pool branchvlan extended
 network ip range 10.1.1.31 10.1.1.130
 network mask 255.255.255.0
 gateway-list 10.1.1.254
 dns-list 10.2.2.10 10.2.2.11
 domain-name domain.local
 expired day 8

 option 43 ip-address 10.3.3.20 10.3.3.21

#

interface Vlan-interface20
 ip address 10.1.1.1 255.255.255.0
 dhcp server apply ip-pool branchvlan
#

 

There will be Windows clients, WLAN clients, and the APs sharing the same DHCP server.

 

Regards, Leonardo

 

Regards, Leonardo
7 REPLIES
LS1971
Frequent Advisor

Re: Configuring DHCP Server on a Comware Switch for MSM460/466 APs

Update: I have just changed and tested the configuration. The option 43 has to be given in HEX (converted the four numbers of each IP to HEX):

 

vlan 20
 name branchvlan

#

dhcp server ip-pool branchvlan extended
 network ip range 10.1.1.31 10.1.1.130
 network mask 255.255.255.0
 gateway-list 10.1.1.254
 dns-list 10.2.2.10 10.2.2.11
 domain-name domain.local
 expired day 8

 option 43 hex 01080A03 03140A03 0315

#

interface Vlan-interface20
 ip address 10.1.1.1 255.255.255.0
 dhcp server apply ip-pool branchvlan
#

 

With this configuration the AP finds its MSM Controller. Anyway, I would really like to hear from somebody who has already accomplished this scenario.

 

Regards, Leonardo

 

Regards, Leonardo
Peter_Debruyne
Honored Contributor

Re: Configuring DHCP Server on a Comware Switch for MSM460/466 APs

I can confirm this works. The MSM options are also recognized by Unified wireless code now, so these same options will still work if you would use the MSM46x with Unified controllers.

 

The only caveat may be other devices on the subnet that also need an option 43. I have avoided this so far by using a dedicated AP subnet.

LS1971
Frequent Advisor

Re: Configuring DHCP Server on a Comware Switch for MSM460/466 APs

In our headquarters we have a subnet for the APs. But in the branch offices there is no such special subnet, the APs share the same VLAN with the clients.

 

Regards, Leonardo
ATAHER
Occasional Advisor

Re: Configuring DHCP Server on a Comware Switch for MSM460/466 APs

My dear,

 

could you please help me, as i have an issue as below

 we have configured new VLAN for Voice and when we connect any IP phone to POE Switch it take IP Address from DATA Pool not from Voice Pool. we have DHCP configured in our Core Switch HP A7503 with two Pools Data Voice

LS1971
Frequent Advisor

Re: Configuring DHCP Server on a Comware Switch for MSM460/466 APs

Which IP phones are you using? The access switch recognizes the IP phones based on its MAC address. The A5120EI switch will recognize the following IP phones:

 

<SWITCH>display voice vlan oui
Oui Address     Mask            Description
0001-e300-0000  ffff-ff00-0000  Siemens phone
0003-6b00-0000  ffff-ff00-0000  Cisco phone
0004-0d00-0000  ffff-ff00-0000  Avaya phone
0060-b900-0000  ffff-ff00-0000  Philips/NEC phone
00d0-1e00-0000  ffff-ff00-0000  Pingtel phone
00e0-7500-0000  ffff-ff00-0000  Polycom phone
00e0-bb00-0000  ffff-ff00-0000  3com phone

We have Alcatel IP phones, so I added the following entry to the configuration:

 

voice vlan mac-address 0080-9f00-0000 mask ffff-ff00-0000 description Alcatel phone

Perhaps this helps in your case.

 

Regards, Leonardo

 

Regards, Leonardo
ATAHER
Occasional Advisor

Re: Configuring DHCP Server on a Comware Switch for MSM460/466 APs

i have cisco phones but it starts with " 00-23-5E-18-E1-D7" and other one " 00-1F-9E-AC-02-00"

so shall i enter it manually ?

 

LS1971
Frequent Advisor

Re: Configuring DHCP Server on a Comware Switch for MSM460/466 APs

That would be an option.

 

Also have a look at the thread "Voice VLAN related issue on A3100-24-PoE v2" here in this forum. There is a reply from Peter_Debruyne that could also solve your issue.

 

Regards, Leonardo