LAN Routing
1752800 Members
5718 Online
108789 Solutions
New Discussion юеВ

Re: Inter VLAN routing

 
SOLVED
Go to solution
RalphP
Occasional Contributor

Inter VLAN routing

I'm having a fairly frustrating time trying to get a 2920-24G switch to perform basic inter-VLAN routing. I have wiped the config, and updated it to the latest firmware, and started again, setting up 2 VLANs. My laptop is connected to port 20 (VLAN 80) and another machine is connected to port 10 (VLAN 70). Both have IPs in the respective subnets and both can ping each other if connected to the same VLAN and subnet (so it's not a firewall issue on the machines). The second machine also has a web page that I can access from the same VLAN but not accross VLANs. I can ping both hosts from the switch.

 

The current switch config is as follows: 

 

sh run

 

Running configuration:

; J9726A Configuration Editor; Created on release #WB.15.16.0005
; Ver #06:0c.fc.f3.ff.35.0d:c2

hostname "ZAO-CORE-SW"
module 1 type j9726a
trunk 23-24 trk1 trunk
ip default-gateway 10.80.65.254
ip ttl 60
ip route 0.0.0.0 0.0.0.0 10.80.65.254
ip routing
snmp-server community "public" unrestricted
snmpv3 enable
snmpv3 restricted-access
snmpv3 user "initial"
snmpv3 user "mmradmin"
oobm
  ip address dhcp-bootp
  exit
vlan 1
  name "DEFAULT_VLAN"
  no untagged 1-22
  untagged A1-A2,B1-B2,Trk1
  ip address 192.168.65.1 255.255.255.0
  ip igmp
  exit
vlan 70
  name "Workstation_Network"
  untagged 1-18
  tagged Trk1
  ip address 10.70.65.1 255.255.255.0
  ip helper-address 10.80.65.10
  ip igmp
exit
vlan 80
  name "Server_Network"
  untagged 19-22
  tagged Trk1
  ip address 10.80.65.1 255.255.255.0
  ip helper-address 10.80.65.10
  ip igmp
  exit
primary-vlan 80
spanning-tree
spanning-tree Trk1 priority 4

 

The trunk in the above config goes to a 2530-24G layer 2 switch - but I've tried without having that in the config and it made no difference - so I'm fairly sure it has no effect either way. I'm starting to lose my rag, as I've tried almost everything I can think of, and spent a day looking through web sites and product documentation, and I can't find an example config to follow that actually works. I've tried without a primary VLAN and without IGMP.

 

Thanks in advance for any help.

4 REPLIES 4
RalphP
Occasional Contributor

Re: Inter VLAN routing

I should also mention that my laptop has a default gateway set to 10.80.65.1 and the other machine has 10.70.65.1 as its gateway. It's unfortunately not that obvious.

 

 

Vince-Whirlwind
Honored Contributor
Solution

Re: Inter VLAN routing

It's the firewall on your laptops.

LarryMateo
Occasional Visitor

Re: Inter VLAN routing

I'm not familiar with configuring routing on the 2920-24G; however,  I have worked with 3500-24 layer 3 switches. You may have missed a configuration parameter. When I configure IP RIP V2 on the 3500's, after the 'ip routing' command, I have to add a 'router rip' command and then enable.

 

So it looks like this:

Procurve# config t

Procurve (config)# ip routing

Procurve (config)# router rip

Procurve (rip)# enable

Procurve (rip)# exit

Procurve (config)# wr mem

 

 

RalphP
Occasional Contributor

Re: Inter VLAN routing

Sorry for such a belated reply - but embarrassingly it seems you were correct. I came back the following day with a diffferent machine, and was able to get packets between all the subnets / VLANs. I've since had to configure a number of other HP switches, using a similar config, and had no issues at all. It was just one of those days, I guess.