Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

Procurve 2626, spanning-tree & vlan's ip problem

Arno Haverlach
Occasional Contributor

Procurve 2626, spanning-tree & vlan's ip problem

Hello,

Currently i'm setting up a fiber connection to a other building but i've got some problems with the ipadresses of the switches..

The setup are as in the attached image:

4 procurve 2626 switches
2 are located at building 1
2 are located at building 2

switch 1 & 3 are located in building 1
switch 2 & 4 are located in building 2
1 & 2 are connected to each other with a fiber cable.
3 & 4 are also connected to each other with a fiber cable.

At each building both switches are connected to each other with port 24 & 25

switch 1 port 25 connects to switch 3 port 24
switch 3 port 25 connects to switch 1 port 24
spanning tree is enabled on port 26 & 25 with priority on port 26 (so if the fiber connection fail's on 1 switch the traffic will be send to port 25 which connects to the other switch with a working fiber connection.)
(same story at switches 2 & 4)

Now the switches are configured to run as a 'virtual patch panel'

24 vlan's are enabled
vlan 1 = untagged on port 1
vlan 2 = untagged on port 2
vlan 3 = untagged on port 3
etc..
all vlan's are tagged on port 25 & 26
this way port 1 = the same port on the other switch at the other building.

Now this all works like a charm..
but I have got problems with getting the ip adres working on the switches.

on vlan 7 (port 7) at all switche's i have configured a ip
lets say:
switch 1 = 10.0.0.1
switch 2 = 10.0.0.2
switch 3 = 10.0.0.3
switch 4 = 10.0.0.4

Now i can connect to switch 1 & switch 2 with no problems.

But i can't connect to switch 3 & switch 4 unless i manualy disable port 24 on these switches..

Anyone has got a idea why this doesn't work? or what i am doing wrong :)

thanks


2 REPLIES
Ron Kinner
Honored Contributor

Re: Procurve 2626, spanning-tree & vlan's ip problem

By adding the switch in the middle on VLAN 7, I think you are adding an addition STP connection - at least for VLAN 7. STP sees the switch in the middle as just another loop which annoys it. By disabling 24 you allow it to use the connection to the middle switch.

You should be able to fix the problem by removing VLAN 7 from the interswitch trunks.

Ron
Ron Kinner
Honored Contributor

Re: Procurve 2626, spanning-tree & vlan's ip problem

Oops. My advice would only work if your switches were running what Cisco calls per-VLAN Spanning Tree (PVST). That requires ISL trunking.

Can't you just plug into one port 7 and reach them all that way?

Another possibility would be to disable the the three ports on the center switch that you didn't want to talk to assuming of course that the center switch has management capabilities. You could use a little script to do that. You could also ditch the switch and just put in a patch panel or an A B C D switch.

Ron