Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Change default gateway for one Vlan only

We have a 6500 core switch which handles all the routing for multiple Vlans.  The cores default gateway is an ASA 5510 to the internet.  All outlying switches are 3750's with trunks to them and are part of the same VTP domain (6500 server).

We are introducing another organization to our network and going to place them on their own Vlan.  They are hanging off one of the 3750's and on Vlan 3. Their gateway is 192.168.2.254 ASA firewall, also on Vlan 3.  The problem comes where they now need access to other Vlans routed off the 6500.  If I make their gateway 192.168.2.1 (6500) then they will be directed to the wrong firewall for their internet.  We need them to still go out their ASA 5505 on Vlan 3.

Now I know I cannot route from the ASA 5505 which would solve my problem if I could.   What I was hoping to do instead though is somehow use the 6500 or 3750 to route all Vlan 3 traffic out the ASA5505.  I just cannot figure out how to do that or if it is even possible.  If someone can point me in the right direction if it is even possible I would be very greatfull.   All I can think of is hang another router in Vlan 3 and let them use that as their default gateway so I can use that to route the few Vlans they need access to back through the 6500.

Anyways there is probably a much simpler solution that this rookie just aint thinking of :)

This map may help with my poor explanation.  Thanks for any help you can give.

1 ACCEPTED SOLUTION

Accepted Solutions
VIP Purple

You could point the default

You could point the default-gateway to the 6k5 and send all internet-traffic through policy-based routing (PBR) to the 5505. That's probably the easiest solution.

The config-guide shows how to configure that:

http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/15-1SY/config_guide/sup2T/15_1_sy_swcg_2T/policy_based_routing_pbr.pdf

 

A different solution could be to terminate VLAN3 on the 5505 and use an additional VLAN as a transfer-network to the 6k5. There you would need an additional route for vlan3 to the ASA 5505.


--
Don't stop after you've improved your network! Improve the world by lending money to the working poor: http://www.kiva.org/invitedby/karsteni
2 REPLIES
VIP Purple

You could point the default

You could point the default-gateway to the 6k5 and send all internet-traffic through policy-based routing (PBR) to the 5505. That's probably the easiest solution.

The config-guide shows how to configure that:

http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/15-1SY/config_guide/sup2T/15_1_sy_swcg_2T/policy_based_routing_pbr.pdf

 

A different solution could be to terminate VLAN3 on the 5505 and use an additional VLAN as a transfer-network to the 6k5. There you would need an additional route for vlan3 to the ASA 5505.


--
Don't stop after you've improved your network! Improve the world by lending money to the working poor: http://www.kiva.org/invitedby/karsteni
New Member

Thank you Karsten!  Not sure

Thank you Karsten!  Not sure why I was trying to make this difficult. :)

 

I just set this up in our lab and it works like a charm.  Set an ACL for the whole subnet. Created a route map using "default next-hop" then assigned it to the Vlan interface on the 6500.  All traffic not in the routing table gets directed to the default next-hop.

 

Thanks again for opening my eyes.

618
Views
0
Helpful
2
Replies