- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- LAN Routing
- >
- HP 1920-24g JG924A No Internet In Vlan
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2020 12:01 PM
тАО05-23-2020 12:01 PM
HP 1920-24g JG924A No Internet In Vlan
Hello Everyone Hope that you all doing well.
I Have hp 1920-24g JG924A switch That I want to have internet access to a vlan.
I create Vlan 2 with IP 192.168.10.1
My Internet Router IP Is 10.43.1.1
I set a static route : 0.0.0.0 0.0.0.0 10.43.1.1
i connected the router to switch on port 1 and i set that port as access on vlan 2.
But No Internet In My Vlan 2.
can Anyone help Please.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2020 12:34 PM
тАО05-24-2020 12:34 PM
Re: HP 1920-24g JG924A No Internet In Vlan
@Networker13 wrote: I create Vlan 2 with IP 192.168.10.1
My Internet Router IP Is 10.43.1.1
I set a static route : 0.0.0.0 0.0.0.0 10.43.1.1
i connected the router to switch on port 1 and i set that port as access on vlan 2.
That's wrong.
How can your Router to communicate on a port untagged member (access) of VLAN 2 if its IP Address falls on 10.43.1.0/24 subnet which, probably, is part of another VLAN id?
In other terms you need to connect your Router 10.43.1.1/32 on a access port of your HP 1920-24G which is member of the correct VLAN id (VLAN id 1? or whatever else it is...).
Please provide the full picture. VLAN ids used, IP Assigned to all VLAN ids involved.
Plus the Router need to have a static route to route back the traffic with destination on the other VLAN ids (VLAN 2 I suppose). Something like: destination 192.168.10.0/24 mask 255.255.255.0 via 10.43.1.x where x is the IP Address of the VLAN id where the Router is directly connected to (VLAN id 1? or whatever else it is...).
On the HP 1920-24 the Route of Last Resort (0.0.0.0/0.0.0.0 via Next Hop Gateway) is OK provided that, as written above, the VLAN id assignment of the port connected to the Router is correct (as you described, actually it isn't).
I'm not an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2020 03:43 PM
тАО05-25-2020 03:43 PM
Re: HP 1920-24g JG924A No Internet In Vlan
thanks Alot for your response.
I m sorry because i didn't give all informations My vlan 1 IP is 10.43.1.100 he is in the same subnet as the router and internet works fine on Vlan 1. But I want to have internet on both vlans vlan 1 and vlan 2. did i can do intervlan routing or something else to achive that. I only have one gateway the : 10.43.1.1.
Maby Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2020 01:34 AM
тАО05-26-2020 01:34 AM
Re: HP 1920-24g JG924A No Internet In Vlan
I'm quite sure that your gateway 10.43.1.1 lacks of the necessary static route that is necessary to route back to VLAN 2 (192.168.10.0/24) subnet. As written on my first reply you should verifiy - and if absent to add - a static route on your gateway like: destination 192.168.10.0/24 mask 255.255.255.0 via 10.43.1.100 where 10.43.1.100 is the IP Address of the VLAN 1 where the Router is directly connected into. IP Routing on the switch is enabled automatically for every defined VLAN id with a SVI (IP Address) so, actually, both your VLAN 1 and VLAN 2 are routed each others, as said the issue is probably on your gateway.
I'm not an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2020 08:02 AM - edited тАО05-26-2020 08:08 AM
тАО05-26-2020 08:02 AM - edited тАО05-26-2020 08:08 AM
Re: HP 1920-24g JG924A No Internet In Vlan
Okay sir, I have a linksys router as gateway i can find the routing option i will add a route to 192.168.10.0/24 via 10.43.1.100.
So basically the port from the gateway that connected to switch should be in vlan 1 and i need to set the route you mentioned in my router, and i am also set ips for both vlans 1 and 2 in switch. That's should do it right.
Another thing yo says that routing is enabled if my vlans have ip set but i can't ping vlan 1 from vlan 2.
NOTE : My Switch Is HPE OfficeConnect 1920 Switch Series
Thanks Again For your time.
Best Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2020 12:03 PM
тАО05-26-2020 12:03 PM
Re: HP 1920-24g JG924A No Internet In Vlan
@Networker13 wrote: Okay sir, I have a linksys router as gateway i can find the routing option i will add a route to 192.168.10.0/24 via 10.43.1.100. So basically the port from the gateway that connected to switch should be in vlan 1 and i need to set the route you mentioned in my router, and i am also set ips for both vlans 1 and 2 in switch. That's should do it right.
Exactly. That's it. Since your Gateway (call it Router or Next Hop Gateway) is directly connected on VLAN 1 (SVI 10.43.1.100) and it has IP Address 10.43.1.1 it's clear that it should be instructed how to reach other VLANs behind your Switch through its SVI on VLAN 1 (so the requirement of having a static route to let it to know how to reach VLAN 2).
@Networker13 wrote:; Another thing yo says that routing is enabled if my vlans have ip set but i can't ping vlan 1 from vlan 2.
OK, do few tests:
- from an Host on VLAN 1 (OS Firewall disabled or configured accordingly to let/accept ICMP Ping) try to ping VLAN 2 SVI.
- from an Host on VLAN 1 (OS FIrewall disabled or configured accordingly to let/accept ICMP Ping) try to ping an Host on VLAN 2 (with OS Firewall disabled or configured accordingly to let/accept ICMP Ping).
- from an Host on VLAN 2 (OS Firewall disabled or configured accordingly to let/accept ICMP Ping) try to ping VLAN 1 SVI.
- from an Host on VLAN 2 (OS FIrewall disabled or configured accordingly to let/accept ICMP Ping) try to ping an Host on VLAN 1 (with OS Firewall disabled or configured accordingly to let/accept ICMP Ping).
- from an Host on VLAN 1 (OS Firewall disabled or configured accordingly to let/accept ICMP Ping) try to ping the Router IP Address (10.43.1.1).
- from an Host on VLAN 2 (OS Firewall disabled or configured accordingly to let/accept ICMP Ping) try to ping the Router IP Address (10.43.1.1).
- from an Host on VLAN 1 (OS Firewall disabled or configured accordingly to let/accept ICMP Ping) try to ping www.google.com (I suppose the FQDN www.google.com gets resolved correctly).
- from an Host on VLAN 2 (OS Firewall disabled or configured accordingly to let/accept ICMP Ping) try to ping www.google.com (I suppose the FQDN www.google.com gets resolved correctly).
Report back Go/No-Go for each test.
I'm pretty sure that simply creating the VLAN ids (as you did) and then add to them the IPv4 addresses (as you already did) automatically enables the Layer-3 functionality and let your swich to act as a IPv4 Router. Double check IP Addressing on hosts belonging to VLAN 1 and VLAN 2. They should use, respectively, VLAN 1 SVI and VLAN 2 SVI as their Default Gateway.
I'm not an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2020 01:05 PM
тАО05-26-2020 01:05 PM
Re: HP 1920-24g JG924A No Internet In Vlan
Thanks For your reply Sir I will try that and let you know.
Many Thanks