Routing – Inter vlan routing not working

hp-procurvelayer3routingswitchvlan

Apologies if any details not clear as I'm not a network expert.

I have a Procurve 3500yl layer-3 switch. I am trying to make two VLANs and get a PC in one VLAN to connect to the other VLAN.

Below is the running configuration from the switch:

Running configuration:

; J8692A Configuration Editor; Created on release #K.14.41

hostname "ProCurve Switch 3500yl-24G"

module 1 type J86xxA

ip routing

vlan 1
   name "DEFAULT_VLAN"
   untagged 9-24
   no untagged 1-8
   no ip address
   exit

vlan 20
   name "local"
   untagged 5-8
   ip address 192.168.1.1 255.255.255.0
   exit

vlan 10
   name "operator"
   untagged 2-4
   ip address 10.11.156.31 255.255.255.0
   tagged 1
   exit

ip route 10.11.156.0 255.255.255.0 vlan 10
ip route 192.168.1.0 255.255.255.0 vlan 20
snmp-server community "public" unrestricted

I am trying to get PC (IP address: 192.168.1.2) to ping IP address 10.11.156.1 which is another router connected to VLAN 10.

I can ping 10.11.156.31 which is the VLAN address, but I can't ping 10.11.156.1. Do you have any idea what is the problem here?

Best Answer

The ip route lines should be redundant as the subnets are directly attached. Remove the lines from config and verify with show ip route.

You need to make sure that

  1. the 10.11.156.1 host has a default route to 10.11.156.31 (or specific route to 192.168.1.0/24).
  2. connectivity between 10.11.156.1 and 10.11.156.31 is established. Can you ping either way?