Web and Unmanaged
Showing results for 
Search instead for 
Did you mean: 

HP 1910 JE006A w/ Multi Gateway

Go to solution
Occasional Contributor

HP 1910 JE006A w/ Multi Gateway


i'm new to HP Products, so far we have 6 1810G JE9803A and 2 1910 JE006A.


I recently trying to setup one 1910 connected to two 1810G switches,

on all of them i have vlan 1 for management, and 3 tagged vlan ( 10,30,40 ).



vlan1 =

vlan10 =

vlan 40 =


1810 :


PC1 gateway set to 1910 ( )   connected directly to 1910  can ping intervlan and internet.

PC2 gateway set to 1910 ( ) connected to 1810G on vlan 10 can ping intervlan as well, but not to the internet.


I use 2 ethernet cables configured as BAGG between 1910 and 1810 with untag 1, and tagged 10,30,40.


On many sites, i see the instruction to add default to router ( in my case, a pfsense on, and for vlan 1 and 10 )


I've tried to add another gateway on 1910 :

ip route-static preference 10
ip route-static Vlan-interface10

But PC2 still can not get out to the internet..


Can someone tell me where i missed it ?




Trusted Contributor

Re: HP 1910 JE006A w/ Multi Gateway

You need to decide which device is routing for your VLANs - the 1910 or the router.


Assuming you use the 1910, you need to remove the LAN interfaces from it, create a point-to-point link between router and switch, and put static routes on the router, for each internal subnet, pointing at the 1910.


Currently, your router has a local subnet that conflicts with your VLAN10 subnet on your switch. If you had tagged VLAN 10 between router and switch, it would probably be working, but that wouldn't be a very good design.

Occasional Contributor

Re: HP 1910 JE006A w/ Multi Gateway

Thank you so much for the reply,

but i'm affraid i dont follow you correctly,


If i want to use 1910 as intervlan routing,


I have to remove vlan 10 interface from the 1910,

in PC2 what gateway IP address should I put there ?


And yes i tried with tagged 10 vlan on the cable between router + 1910 + 1810.


Pls bear with me  :D






Trusted Contributor

Re: HP 1910 JE006A w/ Multi Gateway

Sorry, I just realised I was thinking one thing and typing something ambiguous - what I meant was, if you want the 910 to do the inter-VLAN routing, you need to remove all your VLAN interfaces from the router, so those interfaces are all on the 1910 instead.


Then, think of it from the 1910's point of view: it is aware of three networks, because they are "connected" - it then needs a default route pointing at the router so it can find everything it isn't "connected" to. Many people patch the router in to one of the existing VLANs and give it an IP address there - this is not the best way to do it (it's a bad way to do it, in fact). You need to create a segment that joins your two layer 3 devices, a segment that doesn't have a bunch of hosts on it, so create a new VLAN (call it "GATEWAY", "WAN", or something like that maybe) on the 1910, and give it an IP address. Patch it to your router where you will need an IP address in the same subnet.


Then, think about it from your router's point of view - how does it know where anything is?

 - Give it a default route pointing out to your firewall or ISP

 - Give it static routes for each of your internal subnets pointing at the 1910.


Nice and simple.

Occasional Contributor

Re: HP 1910 JE006A w/ Multi Gateway

Vince, Thanks so much for idiot-proofing the concept to me :D


I attached the new configs i created, sadly the PC on vlan 10 still can't go outside the L3-switch,


I added static route on pfsense : via

or in other langauge


the weird thing is my pfsense box CAN ping the ip,

packet capture running on PC detected echo-request from,


So the request from pfsense is forwarded by 1910 to PC2,

but request from PC2 to outside, is not forwarded...


Help ... ?

Trusted Contributor

Re: HP 1910 JE006A w/ Multi Gateway

First, is the VLANing on the switches configured correctly - can each PC ping its default GW?


If one PC can get out to the internet, then the VLANing to the FW is correct.


Firewall rules on the FW?

Occasional Contributor

Re: HP 1910 JE006A w/ Multi Gateway

Vince, I've managed to get them worked !

Turns out there're lots of similar prob. in pfsense forum,

not actually a problem, but common mistake for newcomers..


I have traffic going bot in and out of them now,

Thanks so much for the explanation !


Soon will explore these switches capablity on L3