Skip to main content

Vlan Communication - Between Switches

More
17 years 7 months ago #21816 by networknaz
Dear All,

I am using HP Procurve 3500yl L3 switches

Details are

3500yl Switch : 2 nos

configuration

Siwtch 1 : Vlan 2 and Vlan 3
Siwtch 2 : Vlan 4 and Vlan 5

Bothe the switched connected via trunk like ( port 24 )

now can i ping from vlan 2 to vlan 5 ??

please refer my below configuration..

Switch 1 Configuration

HP ProCurve Switch 3500>enable
HP ProCurve Switch 3500#erase startup-config
Configuration will be deleted and device rebooted, continue [y/n]? Y

HP ProCurve Switch 3500# enable
HP ProCurve Switch 3500# config term

HP ProCurve Switch 3500(config)# hostname DRAGON

DRAGON (config)# vlan 2
DRAGON (vlan-2)# untag 1-11
DRAGON (vlan-2)# ip address 10.20.2.5 255.255.255.0
DRAGON (vlan-2)# exit

DRAGON (config)# ip routing

DRAGON (config)# router rip
DRAGON (rip)# vlan 2
DRAGON (vlan-2)# ip rip
DRAGON (vlan-2)# exit
DRAGON (config)# wr mem

DRAGON (config)# vlan 3
DRAGON (vlan-3)# untag 12-23
DRAGON (vlan-3)# ip address 10.20.3.5 255.255.255.0
DRAGON (vlan-3)# exit

DRAGON (config)# ip routing

DRAGON (config)# router rip
DRAGON (rip)# vlan 3
DRAGON (vlan-3)# ip rip
DRAGON (vlan-3)# exit
DRAGON (config)# wr mem





Switch 2 configuration

HP ProCurve Switch 3500>enable
HP ProCurve Switch 3500#erase startup-config
Configuration will be deleted and device rebooted, continue [y/n]? Y

HP ProCurve Switch 3500# enable
HP ProCurve Switch 3500# config term

HP ProCurve Switch 3500(config)# hostname GARILLA

GARILLA (config)# vlan 4
GARILLA (vlan-4)# untag 1-11
GARILLA (vlan-4)# ip address 10.20.4.5 255.255.255.0
GARILLA (vlan-4)# exit

GARILLA (config)# ip routing

GARILLA (config)# router rip
GARILLA (rip)# vlan 4
GARILLA (vlan-4)# ip rip
GARILLA (vlan-4)# exit
GARILLA (config)# wr mem

GARILLA (config)# vlan 5
GARILLA (vlan-5)# untag 12-23
GARILLA (vlan-5)# ip address 10.20.5.5 255.255.255.0
GARILLA (vlan-5)# exit

GARILLA (config)# ip routing

GARILLA (config)# router rip
GARILLA (rip)# vlan 5
GARILLA (vlan-5)# ip rip
GARILLA (vlan-5)# exit
GARILLA (config)# wr mem


If I am wrong can you help me ?..

Regards
Network Nazzz..
More
17 years 7 months ago #21818 by Chris
networknaz,

While I haven't had much experience with the 3500 HP series, the theory behind Inter-Vlan routing is the same for all vendors, so here's what I'd suggest you check/try:

1) Start off with a clean configuration for both switches
2) Configure your vlans for each switch & assign them an IP address for each vlan
3) Enable VTP and configure one switch as the master VTP server to allow propagation of all vlans to all network switches
4) Create a trunk link between the two switches using 802.1q
5) Enable ip routing on your master 'root' switch
6) Assign each switch port to the appropriate vlan
7) Set each workstation's default gateway to the ip address of your root switch interface that's in same vlan as the workstation.

If you try all the above and still can't get the routing happening, let us know.

As a last note, you don't need RIP enabled in order for Inter-Vlan routing to work, so I'd suggest you keep things a simple as possible and avoid it.
You might also want to check that your switch image supports Inter-Vlan routing. With Cisco, a switch might support these features, you need the appropriate software image (IOS) in order to enable them, I'm not sure if the same applies with HP's switches.

Cheers,

Chris Partsenidis.
Founder & Editor-in-Chief
www.Firewall.cx
More
17 years 7 months ago #21820 by networknaz
Thanks Chirs,

What ever you have mentioned i agree and like VTP in HP Procurve we have to use GVRP and i have done somany configurations.

but the requirement is like

switch has 2 vlans and switch 2 has different vlans

both are connected via trunk

Now all the Vlans should talk each other via trunk and since the switches are L3 so it support routing protocol. you can see my configuration for further.


Regards

Network Nazzzz
More
17 years 7 months ago #21822 by Chris
networknaz

From what I see, the configuration should be okay. However, I'm not aware of the configuration commands used for the HP switches. There might be some extra commands needed to enable InterVLAN routing or the trunk ports;

Can you perform a debugging or check various 'show' commands to ensure the switches see each other and possible help you locate which function/service is not working correctly?

Cheers,

Chris Partsenidis.
Founder & Editor-in-Chief
www.Firewall.cx
Time to create page: 0.124 seconds