Wired Networks Thread, Different default gateway per VLAN in Technical; In essence my thread title explains my question.
Is it possible (with an HP Procurve based LAN) to have a ...
25th April 2012, 11:39 AM #1
Different default gateway per VLAN
In essence my thread title explains my question.
Is it possible (with an HP Procurve based LAN) to have a different default gateway for each VLAN?
For example (and this is a very simplified example)...
VLAN 1 (10.1.1.0/24 - normal network clients) need the core switch to send traffic to a default gateway of 10.1.1.1 (Smoothwall NIC 1)
VLAN 999 (10.2.1.0/24 - iPads and other such tablets) need the core switch to send traffic to a default gateway of 10.2.1.1 (Smoothwall NIC 2, set as a transparent proxy with SSL based auth)
I seem to be only able to set one global default gateway on my core switch (5412zl).
*UPDATE* I've had a break from typing this and I've now got to the point where I'm pretty sure I'm approaching this the wrong way and what I need to do is setup custom routes on my switch to route traffic depending upon the source location. Does that sound right?
25th April 2012, 12:26 PM #2
Looks like how its set up on my A5800s; I can only set an IP and mask for a VLAN interface, not a gateway, but there's no end of static routes set up for different client & management VLANs.
25th April 2012, 12:33 PM #3
Ta - I'm not sure if I can setup different default routes based on traffic source though. Doesn't look like it's possible to do it.
I may have to think about this from a different angle. Essentially the issue is Smoothwall authentication and iPads... meh. I need more coffee.
25th April 2012, 12:34 PM #4
Thinking about it, wouldn't you actually set the default gateway on the DHCP scope options for that VLAN?
25th April 2012, 12:36 PM #5
Yep... but that would have to be the IP address of the VLAN on the switch surely? Otherwise how would traffic route between VLANs?
Unless I make the Smoothwall box do the routing, but I'm not sure a) if it can. b) if that's not a really naff idea.
Last edited by pantscat; 25th April 2012 at 12:38 PM.
Reason: general sloppiness and lack of attention to detail.
25th April 2012, 12:45 PM #6
Ah, fair point. Didn't think about that. Flu is still eating my brain alive.
Looks like the Smoothwall can do some routing - it has sections for subnets and RIP - but don't know if it could meet needs.
If it's entirely guest wireless it shouldn't matter about the rest of the network, of course, but I imagine it includes school kit that needs access to domain servers?
25th April 2012, 12:53 PM #7
Exactly that... it's school kit that ideally would use the DCs for DHCP and DNS resolution. It doesn't really need to access much else... but you never know!
By Andi in forum Wireless Networks
Last Post: 13th October 2008, 03:01 PM
By link470 in forum Wireless Networks
Last Post: 15th January 2008, 11:30 AM
By Lipjam in forum Network and Classroom Management
Last Post: 10th June 2007, 05:13 PM
By tickmike in forum Wireless Networks
Last Post: 17th September 2006, 04:44 PM
By snakepottery in forum Windows
Last Post: 21st November 2005, 03:57 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)