LAN Routing
1753989 Members
6504 Online
108811 Solutions
New Discussion

HPE OfficeConnect Switch 1920S 24G 2SFP PoE+ (370W) JL385A, PD.02.13

 
SOLVED
Go to solution
Devnet_sol
Occasional Contributor

HPE OfficeConnect Switch 1920S 24G 2SFP PoE+ (370W) JL385A, PD.02.13

Hi ,

please i have a probleme with my 1920s HPE switch

I have 4 vlans configured :

1 default

10 (192.168.1.0/24) vlan interface 192.168.1.250 [ports 1 to 13 and 23 untagged vlan 10] 

20 (192.168.20.0/24) vlan interface 192.168.20.254 [ports 18 to 21 untagged vlan 20] 

30 (192.168.30.0/24) vlan interface 192.168.30.254 [ports 14 to 17 untagged vlan 30]

trunk [ports 24 25 26 taged vlan 1,10,20,30] 

router (192.168.1.254) pluged in port 24

routing Ip configuration enabled

i add a default getway in ipv4 routing 0.0.0.0 0.0.0.0 192.168.1.254

I can ping any interface from any network successfully

I cant ping 192.168.1.254 from any network

no internet in vlans

please who can help me ? i need internet in vlan 10/20/30 and how to configure dhcp for every vlan.

thankyou.

2 REPLIES 2
parnassus
Honored Contributor
Solution

Re: HPE OfficeConnect Switch 1920S 24G 2SFP PoE+ (370W) JL385A, PD.02.13

It's not necessary to tag VLAN id 1, 20 and 30 on interface 24 (not to speak about interfaces 25 and 26...if your router is just connected on interface 24): your Switch is acting as router for its VLANs with SVI (VLANs with an IP address assigned) so it's performing routing between VLAN 10, 20 and 30.

Your Router is connected to interface 24 and its IP addressing - 192.168.1.254 - belongs to VLAN 10's subnet (192.168.1.0/24), given that you already configured the Route of Last Resort (0.0.0.0/0.0.0.0 via 192.168.1.254) it means that your switch is going to route all non-local traffic (all the traffic with destination networks not belonging to VLAN 10, 20 and 30 subnets) to your router.

The final setting you should be aware of is to instruct your router how to reach VLAN 20 and 30 subnets: this can be easily done via two static routes (on your router):

192.168.20.0/24 via 192.168.1.250

192.168.30.0/24 via 192.168.1.250

Remember to remove tagging of VLAN 1, 20 and 30 from port 24. Technically speaking port 24 should/would be set as untagged member of VLAN 10 (the Router port is configured as a routed port...).

If your router port (the "LAN" port) is made of a main interface (generally on VLAN 1 as default) and various sub-interfaces (each one set with a particular VLAN id) then you have to reconfigure the LAN interface to have just one main interface on VLAN 1 with the 192.168.10.254 IP addressing...it should be enough provided that the port 24 is untagged member of VLAN 10 and not a tagged member of VLAN 10).


I'm not an HPE Employee
Kudos and Accepted Solution banner
Devnet_sol
Occasional Contributor

Re: HPE OfficeConnect Switch 1920S 24G 2SFP PoE+ (370W) JL385A, PD.02.13

Thank You @parnassus 

port 24 is a trunk between this switch and a jl381a switch, I m just using it now with the router. I change now the router cable to port 23.

The router doesnt support any route adding (adsl router).

Please how can I change config so that each vlan can reach the internet?

And How to config DHCP relay (192.168.1.254 dhcp server for the 3 vlans)

Thank You