Switches, Hubs, and Modems
1752341 Members
6022 Online
108787 Solutions
New Discussion юеВ

Re: Inter-VLAN Routing

 
Simon_B
Occasional Contributor

Inter-VLAN Routing

I have a number of HP Procurve Switch 2650-PWR switches.
Out of the box, they have been configured as follows:
(static ip on 172.20.1.x network)

spanning-tree
vlan 2 name voice
vlan 2
tagged 1-50
voice
qos priority 6

There is a data network on the default VLAN on 172.20.1.x/255.255.255.0
There is a VoIP phone system running on the voice VLAN IP 192.168.1.2/255.255.255.0
Intelligent VoIP handsets have PCs connected to their LAN port.

Is their a way to allow PCs to see the VoIP system on the 192.168.1.x network?
Can I configure a layer3 route on the HP switches somehow?
Thanks in advance....
9 REPLIES 9
Mohieddin Kharnoub
Honored Contributor

Re: Inter-VLAN Routing

Hi

Since all the Switch ports are tagged to the VoIP Vlan, and i assume its untagged to the default Vlan.
Also both Vlans has an IP address, then you should be able to route between them by running IP Routing on the 2600 switch.

In this case and as an example you may use a Softphone on the PCs to access the phones.

To enable routing:
Switch(config)#ip routing

run this also:
Switch#show ip route
and you should be able to see both networks as connected.

Good Luck !!!
Science for Everyone
Simon_B
Occasional Contributor

Re: Inter-VLAN Routing

The switches have a static ip on the 172.20.1.x network (in the default VLAN?), but no other IP address assigned.
Even after I run 'ip routing' command on a switch, PCs on 172.20.1.x still can't ping 192.168.1.2
Mohieddin Kharnoub
Honored Contributor

Re: Inter-VLAN Routing

Hi

In this case you need to add an IP to the VoIP Vlan so the switch can route between the L3 Vlans:

Switch(config)#Vlan 2 ip add 192.168.1.1/24
Switch(config)#ip routing

and after you issue: show ip route, you should be able to see both IP addresses of both Vlans in your routing table.

Good Luck !!!
Science for Everyone
Simon_B
Occasional Contributor

Re: Inter-VLAN Routing

Hi, here is the new config:

ProCurve Switch 2650-PWR(config)# show run

Running configuration:

; J8165A Configuration Editor; Created on release #H.08.98

hostname "ProCurve Switch 2650-PWR"
ip routing
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-50
ip address 172.20.1.248 255.255.255.0
exit
vlan 2
name "voice"
ip address 192.168.1.234 255.255.255.0
qos priority 6
tagged 1-50
voice
exit
spanning-tree

IP Route Entries
127.0.0.0/8 reject static 0 250
127.0.0.1/32 lo0 connected 0 0
172.20.1.0/24 DEFAULT_VLAN 1 connected 0 0
192.168.1.0/24 voice 2 connected 0 0

OK
A PC with a DHCP IP in 172.20.1.x subnet still cannot see anything in 192.168.1.x

Help!
Mohieddin Kharnoub
Honored Contributor

Re: Inter-VLAN Routing

Hi

- I assume that the PC with DHCP IP in the 172.20.1.0/24 subnet must have:

1- Default Gateway: 172.20.1.248
2- Connected to untagged port to Vlan1

- I also assume that another PC with DHCP IP in the 192.168.1.1.0/24 subnet must have:

1- Default Gateway: 192.168.1.234
2- Connected to untagged port to Vlan2.
\
\
These 2 PCs must communicate without any issues.


Now,
if you have an IP Phone connected to a port tagged to Vlan2 and untagged to Vlan1, and a PC connected to the IP Phone ans both the IP Phone and the PC has the proper IP Address/Mask-Default Gateway, both must communicate with each other.

If this is not happening, then untag one port to Vlan1 and assign a Static IP with Default Gateway then ping: 1- the gateway, 2- Vlan2 IP Address.
Also do the same by placing a PC in Vlan2 and do the same test.

Good Luck !!!


Science for Everyone
Erich Haupt
New Member

Re: Inter-VLAN Routing

Perhaps, your VoIP handsets are missing their "default gateway" setting? It would not be necessary for VoIP operation between each of the telephone devices at 192.168.1.x but of course is needed for communication with your PCs in the other IP network 172.20.1.x!
Everthing is feasible!
Simon_B
Occasional Contributor

Re: Inter-VLAN Routing

Hi, I found an HP document that states the 2650 can only route between different VLANs with the aid of 'an external router'!!
I've managed to get proper routing to work between subnets on the same VLAN (an ip address in each subnet on the default vlan), but not between different subnets on different VLANS.
Thanks all
External router here we come....
Gary Cantwell
Honored Contributor

Re: Inter-VLAN Routing

Hi There,

Please take a moment to assign points to those who have taken the time to assist you. Here's how:

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

Thanks,

Gary
Simon_B
Occasional Contributor

Re: Inter-VLAN Routing

!