LAN Routing
cancel
Showing results for 
Search instead for 
Did you mean: 

Layer 3 switch inter-VLANS routing

 
MCSFe
Occasional Collector

Layer 3 switch inter-VLANS routing

Hello,

I'm configuring some VLANS on my switch HP 1920-24G, and I want to enable routing between them using the switch capability and NOT the router.

Actually I've created them but I can't ping anything except of course the same VLAN in which I'm connected and the switch itself.

I don't find the error OR what is missed. Those are the specs:

switch IP: 10.10.0.252

  • default vlan1 10.10.0.252/24
  • vlan10 10.10.10.252/24
  • vlan20 10.10.20.252/24

I've created vlan10 and vlan20 and then assigned them some ports:

  • all ports untagged in vlan 1
  • ports 9,10,19,20 tagged in vlan10&vlan20 at the same time

At last in the IP table I set as a static route:

  • destination 0.0.0.0
  • mask 0.0.0.0
  • next hop 10.10.0.1 (that is the router)

...I understood that this should bring me out in the internet but...

If I connect, for example, a couple of PC's to the ports with the VLANS tags

Say

  • 10.10.10.111
  • 255.255.255.0
  • 10.10.10.252 (as default gateway)

and

  • 10.10.20.222
  • 255.255.255.0
  • 10.10.20.252

I can only ping the VLANS id (10.10.10.252/10.10.20.252) and the switch (10.10.0.252). So that's not working.

Coul you please help understand what's missed? Thank you very much

 

 

3 REPLIES
Vince-Whirlwind
Honored Contributor

Re: Layer 3 switch inter-VLANS routing

Your PC with 10.10.10.111 on it needs to be on a switchport that is UNtagged in VLAN10.

Similar for the PC in VLAN20.

MCSFe
Occasional Collector

Re: Layer 3 switch inter-VLANS routing

Thanks, but I did it and does not change:

  • Now all ports are untagged in VLAN1
  • Ports 9, 10, 19, 20 are untagged in VLAN10 and VLAN20
  • The 10.10.10.111 and 10.10.20.222 PC's are connected to 2 of these ports

BUT, again, I can't ping one from the other NEITHER I can ping the 10.10.0.1 router!

MCSFe
Occasional Collector

Re: Layer 3 switch inter-VLANS routing

I also enabled the 802.1x, with CHAP autentication method

(I selected CHAP in primis because it's suggested in an example for the VLAN configuration I found in the HP1920 USER MANUAL)