Switches, Hubs, and Modems
1752571 Members
5278 Online
108788 Solutions
New Discussion юеВ

VLAN/IP Routing

 
Kelvin.uk
Advisor

VLAN/IP Routing

I need some assistance with routing between VLAN's with a HP ProCurve 2610 (first time I have had to work with VLAN's so go easy!)

These are my 3 VLAN's:
VLAN1 Ports 1-6 Untagged 192.168.0.x/24
VLAN2 Ports 7-12 Untagged 192.168.8.x/24
VLAN3 Ports 13-26 Untagged 220.0.0.x/24

Now how do I configure the switch to route between the three VLAN's?? I have enabled IP routing. I have host A on VLAN1 and host B on VLAN2. Host A can only ping host B if I patch port 6 and 7 together to link the VLAN's together. Is this what you are supposed to do? Do I not need to configure a static route somewhere?
6 REPLIES 6
Patrick Terlisten
Honored Contributor

Re: VLAN/IP Routing

Hello,

can you provide us a show running-config of your switch?

Regards,
Patrick
Best regards,
Patrick
Kelvin.uk
Advisor

Re: VLAN/IP Routing

ProCurve Switch 2610-24# show running-config


Running configuration:

; J9085A Configuration Editor; Created on release #R.11.25


hostname "ProCurve Switch 2610-24"
ip default-gateway 192.168.0.1
ip routing
snmp-server community "public" Unrestricted
vlan 1
name "DEFAULT_VLAN"
untagged 1-6
ip address 192.168.0.250 255.255.255.0
no untagged 7-28
exit
vlan 8
name "TLAN"
untagged 7-12
ip address 192.168.8.254 255.255.255.0
exit
vlan 220
name "ELAN"
untagged 13-28
ip address 220.0.0.254 255.255.255.0
exit
password manager
password operator

ProCurve Switch 2610-24#
Shadow13
Respected Contributor

Re: VLAN/IP Routing

What are the gateways on the clients for each VLAN ?
Kelvin.uk
Advisor

Re: VLAN/IP Routing

All clients and the switch have 192.168.0.1 as the GW but the switch is not yet connected to our main network which has the gateway on it. Shouldn't need it to just ping though right?

(I have used VLAN1-3 naming to make it easier but as you can see I have configured it slightly differently)
Shadow13
Respected Contributor

Re: VLAN/IP Routing

the clients should point to the ip address under each vlan since this switch will handle the routing for now.

vlan 1 the gateway on the clients should be the ip address under vlan 1, and so on for the other 2 vlans.

if there is another switch in the core network is configured for routing also then you will need to change everything :D but for now since it's not connected to the core that should work
brakerm19
Occasional Advisor

Re: VLAN/IP Routing

According to your config:

The clients for VLAN 1 should have a gateway address of 192.168.0.250

The clients for VLAN 8 should have a gateway address of 192.168.8.254

The clients for VLAN 220 should have a gateway address of 220.0.0.254

ergo each client should have the gateway address of the management IP of the switch's VLAN.