Switches, Hubs, and Modems
1748044 Members
5098 Online
108757 Solutions
New Discussion юеВ

Re: HP 2626

 
SOLVED
Go to solution
anth
New Member

HP 2626

Hi,

I have 2 x HP 2626PWR for use with an Avaya phone system and I am having a problem with the phones getting an IP address from the DHCP server when they connect to the correct VLAN. I think it is because I havenтАЩt set up routing correctly.

My setup is as follows:

VLAN 1 Data
Switch 1 ports 1-26 Untagged IP 192.168.116.8
Switch 2 ports 1-26 Untagged IP 192.168.106.8

VLAN 2 Voice
Switch 1 ports 1-24 Tagged IP 192.168.116.9
Switch 2 ports 1-25 Tagged IP 192.168.106.9
IP Helper-address 192.168.116.1

IP routing is enabled
But I havenтАЩt set up any static routes.

They use port 26 for uplink.

The DHCP server is on VLAN 1 IP 192.168.116.1
It has 2 scopes set up
192.168.116.20-200
192.168.106.20-200

Both scopes have option 176 as
192.168.106.1,MCPORT=1719,TFTPSRVR=192.168.106.2,L2Q=1,L2QAUD=5,L2QSIG=3,L2QVLAN=2,VLANTEST=0

Which I am sure is correct.

So when I connect a phone it powers up and connects to VLAN 1 and gets an IP address and option 176 which tells it to connect to VLAN 2. So it disconnects and re-boots to VLAN 2 but is unable to get and IP address from the DHCP server. If I enter the IP manually it works fine, but obviously that isn't what I want to do for all the phones.

I can't ping one VLAN from the other (I've tried both ways)

Things I don't know:

1. What should the default gateway for the voice scope be? I have it set as the top switch address 192.168.106.8, but I don't think that is correct.

2. Should I have some static routes set up? If so what?

3. What am I doing wrong?

I have been reading up on this for hours, I feel like I am missing something simple. I would be grateful for any help.

Anthony
4 REPLIES 4
Ron Kinner
Honored Contributor

Re: HP 2626



I think you are confusing the poor things with your IP addresses. You need to have the same IP subnets on one LAN. If you put the same subnet on different LANs the routing has no idea what to do.

Try changing them so that they read this way:

VLAN 1 Data
Switch 1 ports 1-26 Untagged IP 192.168.116.8
Switch 2 ports 1-26 Untagged IP 192.168.116.9


VLAN 2 Voice
Switch 1 ports 1-24 Tagged IP 192.168.106.8
Switch 2 ports 1-25 Tagged IP 192.168.106.9
IP Helper-address 192.168.116.1

Your default gateway needs to be in the IP range as the VLAN so if you are on VLAN 1 then you use 192.168.116.8 or .9 and on VLAN2 it would be 192.168.106.8 or .9.
I can't tell how you connect the two switches together or even if they are connected. You say 26 is the uplink port. Does that means it goes to the internet? Then you need to put in a static route on each switch that says
ip route 0.0.0.0 0.0.0.0 (NextHopAddress)

You may also have to add a route on the next hop to tell it that it can get to VLAN2 via 192.168.116.8 or .9 and unless it understands tags and you have told it to expect them then you need to untag port26.

Ron


anth
New Member

Re: HP 2626

Ron thanks so much for replying. You are right about the confusion with IP address, but it was my mistake. The settings are in fact:

VLAN 1 Data
Switch 1 ports 1-26 Untagged IP 192.168.116.8
Switch 2 ports 1-26 Untagged IP 192.168.116.9

VLAN 2 Voice
Switch 1 ports 1-24 Tagged IP 192.168.106.8
Switch 2 ports 1-24 Tagged IP 192.168.106.9
IP Helper-address 192.168.116.1

The switches are connected together by port 26, and I need to set this to VLAN 1 - untagged, VLAN 2 Tagged to allow data from both VLANs to go between the two switches, right?

Switch 1, port 24 connects to an unmanaged switch which the PCs, servers and Internet firewall connect to connect to.

VLAN 1 works a treat. The default gateway is the firewall address (192.168.116.254).

VLAN 2 won't allow devices to get an IP address from the DHCP server.
VLAN 2 doesn't need access to the Internet, just to VLAN 1.

I had set the gateway of VLAN 2 to 192.168.106.8 but this didn't give the desired effect.

When you talk about the default gateway, do you mean an additional device (such as a router) or is it an address of the switch?

Does the DHCP server need to be connected directly to the managed switch? At the moment it is on an unmanagged switch that is connected to the 2626. (is this what my problem is? I wish I was on-site so I could try it!)

Given that the only data that needs to pass between VLAN 1 and VLAN 2 is DHCP (request and then lease) do I need to have any
static routes configured?
I have been reading the 2600 Advance trafic management guide and in the DHCP relay section it doesn't mention the need.

Thanks again.

Anthony
Ron Kinner
Honored Contributor
Solution

Re: HP 2626

If Port 26 is the connection between the two switches then yes you need both VLAN1 untagged and VLAN2 tagged on 26 on both switches.

Seems to me that things should work a bit better once you get the port 26 configured correctly.

Then your phones on VLAN2 would use
192.168.106.8 or .9 Shouldn't matter which as long as both have the 0.0.0.0 0.0.0.0 route set to point to 192.168.116.254 and the port 26 configuration is correct.

(The default gateway setting is usually only used when the switch is not doing routing and is then only used so that if you telnet into the switch from a remote site that it can respond to you. The prefered method when using ip routing is to add the static ip route 0.0.0.0 0.0.0.0 192.168.116.254)

You do not need to add routes for the directly connected VLANS but I think you do need to do:

dhcp-relay

on each switch. See page 7-25 in

ftp://ftp.hp.com/pub/networking/software/AdvTraff-Oct2005-59908853-Chap07-IProuting.pdf

The option 82 is probably not needed unless your DHCP server understands it.

Ron





anth
New Member

Re: HP 2626

Ron,

Thanks for this, it is very clear and very helpful.

I will try to ge to it tomorrow and try it out. I'll post and let you know how it went.

Anthony