cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
269
Views
0
Helpful
2
Replies

Multiple Gateways

tjmaurin
Level 1
Level 1

I have 2 ISP's and want to route traffic from certain vlans to a certain ISP and other vlans to antoher ISP. I am trying to do this on a 5509. What is the best way to go about this

2 Replies 2

rbristow
Level 1
Level 1

tjmaurin,

You might want to try using POLICY ROUTING. With Policy Routing you can classify packets arriving at, for example, an ethernet port by source address (with an access-list), and then set the next-hop address with your policy. Your policy will override the routing table for the traffic that passed the access-list.

Regards,

Rob Bristow

AT&T Solutions

CCIE #3335

thisisshanky
Level 11
Level 11

How is your layer 3 routing set up ? Is it an RSM doing the job, or an external router.

If its an RSM, on the appropriate vlan interfaces, you will need to apply policy routing using route-maps to direct traffic from each vlan to appropriate ISP.

If its an external router, doing inter vlan routing, then you can set policy routing on the ethernet subinterfaces for each vlan.

A sample route-map will look like this...

route-map setISP permit 10

match interface vlan 10

set ip next-hop

route-map setISP permit 20

match interface vlan 20

set ip next-hop

route-map setISP permit 30

int vlan 10

ip policy route-map setISP

int vlan 20

ip policy route-map setISP

For an external router, you will be creating two subinterfaces say fa0/0.10 and fa0/0.20 for routing between each vlans.

So instead of the vlan interfaces, it would be replaced by interface fa0/0.10 and interface fa0/0.20

Hope that helps!

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: