Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1131
  • Last Modified:

Catalyst 4900M route to different default gateways based on vlan?

I'm looking at core switches, and the Cisco Catalyst 4900M is probably what I can afford.
I want to use it to route traffic amoung vlans.

I have 2 internet connections, and I want internet-destined traffic for vlans 3-5 to go out internet connection A,
and internet-destined traffic for vlans 6-10 to go out internet connection B.

I think the way I would do this is to specify a specific default gateway for each vlan.
Can the Catalyst 4900M do this?

Thanks!
0
luchianoduckman
Asked:
luchianoduckman
2 Solutions
 
avilovCommented:
you probably also have firewall(s) and/or router(s) on the packets path. you can do all what you want easily on either of them
0
 
GridLock137Commented:
i don't know if this is something that can be done, regardless of how many vlans they all use one default gateway, you might have to configure the switch as follows:

put connection A from the router to the 4900m into one vlan and connection B into another vlan but do not give the vlans IP addresses, instead they will be used as flow through interfaces for the internet traffic being provided to hosts in those respective vlans. maybe it's something you can accomplish with access-list rules and groups on that switch.
0
 
rochey2009Commented:
hi,

you may be able to do policy based routing.

set up an access list to identify which traffic you want to send to the Internet and from which subnets.

create access list which matches the source address and traffic type of the subnet for vlan x that you want to route out of a particular internet gateway.

create a route-map X which matches the access list and use the set ip next-hop to point to whichever internet router you want to route to.

on the IP interface for vlan x enable policy based routing e.g. ip policy route-map X

Have a look at the following for more information on PBR.
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a008009481d.shtml
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
luchianoduckmanAuthor Commented:
Thanks for the input so far.
I also have a Cisco 2821 router, a spare 1941, and a spare 1841.  Would it be easier to accomplish this using one of these routers?  Ulitmately the goal is simply to have internet-bound traffic to be routed out a different internet connection  based on which vlan it's coming from.  So if necessary I can use one or all of these routers to accomplish this.  I was hoping that maybe I could just use the 4900M to do it all, but if not that's ok.
Thanks!
0
 
rochey2009Commented:
Hi,

You should be able to do PBR on the 4900M.
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now