Email Subscription Notifications Suspended Temporarily
We are in the process of making navigation in the Servers and Operating Systems forums simpler and more direct. While doing this, we have to temporarily suspend email notifications for subscriptions. If you are subscribed to one or more discussion boards or blogs in the community, please check them daily to see new content. Notifications will be turned back on in a few days. We apologize for any inconvenience this may cause. Thanks, Warren_Admin
Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

Communcation Betweens VLAN's in 3500yl

networknaz
Advisor

Communcation Betweens VLAN's in 3500yl

Dear All,

Here is my issue..

I have 2 switches 3500yl and my requirement is
i am creating 2 vlans in switch 1 and 2 vlans in switch 2. i want now all the vlan should talk each other between switches. please find the blew switch configuration for switch 1 should i do the samethig in switch 2 ??

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)# ip routing
DRAGON (config)# router rip
DRAGON (rip)# vlan 100
DRAGON (vlan-100)# untag 1-10
DRAGON (vlan-100)# tag 24
DRAGON (vlan-100)# ip address 10.10.100.1/24
DRAGON (vlan-100)# ip rip

DRAGON (vlan-100)# vlan 200
DRAGON (vlan-200)# untag 11-23
DRAGON (vlan-200)# tag 24
DRAGON (vlan-200)# ip address 10.10.200.1/24
DRAGON (vlan-200)# ip rip
DRAGON (vlan-200)# write mem

1.Should I do the same configuration in Switch 2
2.If the do the same configuration in Switch 2 will they able to talk each other ?
3.if I am wrong can any please correct and send me the configuration.

Thanks & Regards

Network Naz......

5 REPLIES
Mohieddin Kharnoub
Honored Contributor

Re: Communcation Betweens VLAN's in 3500yl

Hi

If you are going to use the same Vlan100 , 200 on the second switch, then you don't need the RIP to route between them,
So you create Vlan100,200 on the second switch, and then on one of them enable ip routing which will route between connected Vlans, and on the second add a default gateway pointing to the first switch.

But, if you have other Vlans on the second switch, then you should tell us about it
and i'm going to assume that you will have Vlan 300, 400

In this case, you can use RIP and also you can use the Inter-Val routing feature on both switches with the help of 2 more static routes.

Assume you have Vlan100,200 on Switch1, and Vlan300,400 on Switch2.

Both switches are connected on ports untagged to the default Vlan.

So for scenario1 where both Vlan100,200 configured on both switches,

Switch1 config will be:

Dragon(config)#Vlan 1 ip add 192.168.1.1/24
Dragon(config)#Vlan 100 ip add 10.10.100.1/24
Dragon(config)#Vlan 100 tag 24
Dragon(config)#Vlan 200 ip add 10.10.200.1/24
Dragon(config)#Vlan 100 tag 24
Dragon(config)#ip routing


Switch2 config will be:

Snake(config)#Vlan 1 ip add 192.168.1.2/24
Snake(config)#Vlan 100 ip add 10.10.100.2/24
Snake(config)#Vlan 100 tag 24
Snake(config)#Vlan 200 ip add 10.10.200.2/24
Snake(config)#Vlan 100 tag 24
Dragon(config)#ip default-gateway 192.168.1.1

If this is not your scenario, then you should tell us about your plans in Switch2 so we can talk :)

Good Luck !!!
Science for Everyone
networknaz
Advisor

Re: Communcation Betweens VLAN's in 3500yl

Hi Thanks,

As you mentioned, YES i am using diffrent diffrent VLANs in the both swithes

Swicth 1 : VLAN 2 and 3
Switch 2 : VLAN 4 and 5

And Can you please check below configuration and tell me whether it will work ?.

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 Nazzzzzz....
Mohieddin Kharnoub
Honored Contributor

Re: Communcation Betweens VLAN's in 3500yl

Hi

You may add one more command on both switch to redistribute static routes if you have entered some of them (example the default route for internet),

So enter the command:
DRAGON(rip)#redistribute static

and on the other switch also if needed.

Now run the command: show ip rip on both switches, and you should see your configuration and run: show ip route , and show ip route rip

Good Luck !!!
Science for Everyone
networknaz
Advisor

Re: Communcation Betweens VLAN's in 3500yl

Hi All,

Finally the problem is resolved from below configuration.

Switch 1 Configuration

ip routing
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
ip address 192.168.3.11 255.255.255.0
no untagged 1-24
exit
vlan 3
name "VLAN3"
untagged 1-11
ip address 10.20.3.5 255.255.255.0
exit
vlan 4
name "VLAN4"
untagged 12-23
ip address 10.20.4.5 255.255.255.0
exit
vlan 2
name "VLAN2"
ip address 10.20.2.5 255.255.255.0
tagged 24
exit
vlan 5
name "VLAN5"
ip address 10.20.5.5 255.255.255.0
tagged 24
exit

Switch 2

snmp-server community "public" Unrestricted

vlan 2
name "VLAN2"
untagged 1-12
tagged 24
exit

vlan 5
name "VLAN5"
untagged 13-23
tagged 24
exit

After this config i was able to ping from connected PC to all the vlans but not able to ping VLANs ip from switches.

Then I added default gateway in switch 2 (192.168.13.11).

After adding gateway i am able to ping VLANs except VLAN 4 then i tagged VLAN 4 for 24th port.

Found now i am able to ping all the VLAN from switch to switch.

Regards

Network Nazzzzz....





networknaz
Advisor

Re: Communcation Betweens VLAN's in 3500yl

As i mentioned in my replies its working now..