cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
752
Views
0
Helpful
3
Replies

how to configure cisco catalyst 3750g with two different gateway?

ahnoman231
Level 1
Level 1

Hello everyone...!

i have Cisco 3750G switch and my requirements are:

Requirement: Need to create two vlan's with different network gateways i.e vlan1 should allow the traffic from 192.168.1.1 and vlan2 should allow the traffic from 172.168.1.1

i have two ISP's whose network is  192.168.X.X and 172.168.X.X.and i want some of the clients should access 192.168.X.X network and the other remaining clients should access 172.168.X.X.

Moreover these two vlans should not interact with each other.

Can any one let me show the complete steps of configurations?

3 Replies 3

Mark Malone
VIP Alumni
VIP Alumni

Hi

if you have an advanced license you could use pbr and set one subnet to be redirected to the other gateway with the set next hop ip command under the policy map

so you could have 1 standard gateway set and then apply a policy map to the egress interface redirecting anything from one subnet to the other gateway you want them to hit but you need a licence to support that feature

couple of examples of how it works in this link

http://www.cisco.com/c/en/us/support/docs/ip/ip-routed-protocols/47121-pbr-cmds-ce.html

If you want vlans to not speak with each other block there subnets speaking to each other in an acl and apply it to the vlan interfaces or use private vlans and isolate them , acls are probably easier though , make sure to block both directions in the acl

or use vrfs either stop them talking , acls don't scale well but if its only a few shouldn't be too bad to configure them

hello, 

I am confused now,can you please give me some more links?

what part are you confused on ?

http://www.ciscozine.com/pbr-route-a-packet-based-on-source-ip-address/

the first thing to do is check your license with show license see if you can even support pbr before going further as an ipbase license will  not support it