cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
220
Views
5
Helpful
1
Replies

Multiple Gateways to Internet

scotthawks
Level 1
Level 1

I have 2 3650 doing vlans. i have a firewall setup in between the internet and the switches. i have a dmz i am setting up on a seperate vlan that connects to an optional interface on my firewall. is there a way to have all traffic for this particular vlan route internet access to a different gateway than all other vlans?

thanks in advance for any help.

1 Reply 1

mihanlin
Level 1
Level 1

I would use policy-based routing on the 3560 to accomplish this.

What IOS version are you using?

You will need to configure the SDM template to routing in order to enable PBR.

Setting the SDM template to routing is quite simple. It involves the configuration command:

sdm prefer routing

then a reload

http://www.cisco.com/en/US/products/hw/switches/ps5528/products_configuration_guide_chapter09186a00805b8490.html

PBR can be configured here:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipr_c/ipcprt2/1cfindep.htm#wp1001398

Basically you will need to match the source vlan in the route-map and set the next-hop to the the desired gateway. Finally, apply this to the source vlan interface.

Hope this helps.

Michael

Cisco TAC

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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco