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

5308XL and 2524 vlan routing

SOLVED
Go to solution
svg.support
Occasional Visitor

5308XL and 2524 vlan routing

We are in the process of converting the connection between a 5308xl and a 2524 from ADSL with cisco routers to a direct fiber connection.
I would like to keep the subnet used on the 2524 network site. How do I go about setting this up? VLAN and routing? I have never setup VLAN's before.
The network on the 5308 side is 10.47.8.0 255.255.252.0 and the network on the 2524 side is 10.47.12.0 255.255.252.0
I also need to have DHCP access.

Any info is appreciated..

-rgds
Jan Fredrik

3 REPLIES
Regnar Bang Lyngsø_2
Frequent Advisor
Solution

Re: 5308XL and 2524 vlan routing

Assume:

Port 26 on HP2524

connected to

Port A1 on 5308 XL.

HP2500 DHCP server on subnet different from 10.47.12.0/255.255.252.0 - e.g. on the 10.47.8.0/255.255.252.0 network.

Define:
VLAN 100 as the VLAN serving the 10.47.8.0 255.255.252.0 network
VLAN 200 as the VLAN on the 2524.

Configuration:
HP2500:

vlan 200
name Remote
untagged 1-24
tagged 26
exit

HP5308 XL:
ip routing
vlan 100
name Local
! Untag all ports used locally
untagged a2-a12, b1-b16
ip address 10.47.8.x 255.255.252.0
vlan 200
name Remote
tagged A1
ip address 10.47.12.x 255.255.252.0
! use 10.47.12.x as Default GW on clients
! at remote site
! Define
! helper-address
ip helper-address 10.47.8.x


Regards
Regnar
svg.support
Occasional Visitor

Re: 5308XL and 2524 vlan routing

Thanks, that helped a lot.. A stupid question... If I have 2x 2524 on the remote site, do I have to setup VLAN on both boxes? One switch is connected to the other (stacked)
Regnar Bang Lyngsø_2
Frequent Advisor

Re: 5308XL and 2524 vlan routing

You don't have to - but it is in my opinion the "right" way to it.

It gives you the flexibility to add more VLANs at a later time (VoIP and other stuff might show up).

Furthermore it is easier to manage, if you on each switch can identify the VLANs are used on the switch.

IMHO the configuration is an important part of your documentation. As with other documentation - make it explicit yet concise.

E.g.:

HP2500-1 (connected to 5300):
int 24
name "HP2500-2 24"

vlan 200
name Remote
tag 24,26
untag 1-23

HP2500-2 (connected to first HP2500):
int 24
name "HP2500-1 24"

vlan 200
name Remote
tag 24
untag 1-23

The shortcut would be to connect number 2 switch to one of the untagged VLAN 200 ports on number 1.