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

INTER-VLAN SWITCHING 1920S

 
Highlighted
Occasional Collector

INTER-VLAN SWITCHING 1920S

Hello there, happy new year for everyone.

I made a configuration with 2 VLAN but it did'nt work. I can not ping through other vlans ...

My switch is a HPE OfficeConnect 1920S 24G 2SFP PoE+ (370W) JL385A

My exact configuration : 

SETUP NETWORK : 
> Get connected 
IP ADDRESS : 192.168.1.50
SUBNET MASK : 255.255.255.0

VLAN CONFIGURATION :

VLAN 100 
VLAN 200

PORT MEMBERSHIP : 
1-12 / VLAN 100 INCLUDE UNTAGGED
13-22 / VLAN 200 INCLUDE UNTAGGED

ROUTING : 
> GLOBAL 
Routing Mode : ENABLE
> VLAN /Interface Configuration
VLAN 100 :
Routing Mode : ENABLE
Admin Mode : ENABLE
IP ADDRESS CONFIG : MANUAL
192.168.10.254
255.255.255.0

VLAN 200 :
Routing Mode : ENABLE
Admin Mode : ENABLE
IP ADDRESS CONFIG : MANUAL
192.168.20.254
255.255.255.0

 

I plug 2 computers on the switch.

Computer 1 :

Port : 3

IP : 192.168.10.1

Netmask : 255.255.255.0

Gateway : 192.168.10.254

 

Computer 2 :

Port : 15

IP : 192.168.20.1

Netmask : 255.255.255.0

Gateway : 192.168.20.254

 

im shure i miss something but i can not find what ...

 

Thank you

Im a student in network and telecommunications

3 REPLIES 3
Highlighted
Honored Contributor

Re: INTER-VLAN SWITCHING 1920S

If routing is enabled on your HPE OfficeConnect 1920S and VLAN configuration is what you wrote (ports 1-12 are all untagged members of VLAN id 100 and ports 13-22 are all untagged members of VLAN id 200)...and if VLAN 100 and 200 have been configured with proper SVIs (IPs Addressing) then your configuration should work out-of-the-box: so check (disable!) the OS Firewall at host level and repeat your inter-VLAN routing test between your hosts.

An host with 192.168.10.1/24 (and Default Gateway 192.168.10.254) connected on any port in the range 1-12 should be able to successfully perform an ICMP Ping against an host with 192.168.20.1/24 (and Default Gateway 192.168.20.254) connected on any port in the range 13-22 and vice-versa.

Highlighted
Occasional Collector

Re: INTER-VLAN SWITCHING 1920S

@parnassus thanks for your help.

The problem was the firewall. To test, I've completely disabled the firewall on both my machines.

And the two of them started ping each other.

Now my vlans can ping each others but i have an other thing to do.

I need to give acces to the internet to all of theim.

Here's the configuration I need to set up : https://imgur.com/a/3hIioNd

How should i process ?

I know I'm gonna have to use a trunk link, but I've never done it on switch HPE graphic version. I only did it with cisco command line.

Thanks 

Highlighted

Re: INTER-VLAN SWITCHING 1920S

In order to access internet you have to add a default rout towards your internet gateway 192.168.1.254. But keep in mind that the gateway is doing NAT for you private address configured in static vlans. 

 

You can refer below document to know how to add a default rout in 1920 switch.

 

https://support.hpe.com/hpesc/public/docDisplay?docId=a00003478en_us

Best Regards,
I am an HPE Employee

Accept or Kudo