- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- HPE Aruba Networking & ProVision-based
- >
- Multiple internet gateway
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
Forums
Discussions
Discussions
Discussions
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
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
10-30-2012 02:38 AM - last edited on 11-26-2013 06:16 PM by Lisa198503
10-30-2012 02:38 AM - last edited on 11-26-2013 06:16 PM by Lisa198503
Hello,
I have a procurve E5406 and multiple VLAN e.g. VLAN 21, 22, 23, 24, 25 ... 50
I have two external Internet gateway the first gatweway is on 10.10.1.253 (VLAN1) and the second on 10.10.1.254 (VLAN1)
I want that the specific VLAN (for exemple 21 and 22) use the second gateway and all other VLAN use the first gateway.
I don't know how can make that.
I have added two ip route 0.0.0.0 0.0.0.0 <gateway number> but I don't know how can tell VLAN to use the correct gateway.
Help needed
Best regards
P.S. This thread has been moved from Switches, Hubs, Modems (Legacy ITRC forum) to ProCurve / ProVision-Based. -HP Forum Moderator
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2012 09:57 AM
11-06-2012 09:57 AM
SolutionI have asked to HP Support.
First the procurve must use only v2 modules with command :no allow-v1-modules WARNING this command will disable all modules v1.
We do not need two default route. Only one is required
ip route 0.0.0.0 0.0.0.0 10.10.1.253
Create a class for matching VLAN that must be use the gateway B
class ipv4 "MatchVlan"
10 match ip 10.10.21.0 0.0.0.255 0.0.0.0 255.255.255.255
20 match ip 10.10.22.0 0.0.0.255 0.0.0.0 255.255.255.255
exit
Please refer procurve documentation for syntax
After class we need a policy pbr
policy pbr "<myname>"
5 class ipv4 "MatchVlan"
action ip next-hop 10.10.1.254
action interface null
exit
exit
In vlan 21 and 22 add the following instruction
service-policy "<myname>" in
That all !
Every paquet from VLAN 21 and 22 to the Internet destination was rerouted to the gateway B
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2012 10:08 AM
11-06-2012 10:08 AM
Re: Multiple internet gateway
Firstly second gateway must have another network address
and different vlan
for example
gateway 1 192.168.1.253 untag vlan 24
gateway 2 192.168.2.253 untag vlan 25
you must write ip routing command to two internet router
0.0.0.0 0.0.0.0 192.168.1.254
0.0.0.0 0.0.0.0 192.168.2.254
and create other vlan 21,22,23 etc.
all vlan have different network address
and ip routing enable on switch
in this way you can use two default gateway address on your network.
secondly
if you want vlan22 using gateway 1 and vlan 23 using gateway 2
for this operation you can use ACL (Access control list)
;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2013 06:47 AM
11-26-2013 06:47 AM
Re: Multiple internet gateway
Hi,
i did similar way as mentioned and vlan is going through correct gateway as well. But the issues is that other vlans cannot reach this vlans. Also devices in this vlan cannot reach their vlan id.
i added another class under policy pbr and matched the next-hop to vlan id , still those devices are using below class and going to default gateway that i created earlier.
pls help
thanks.