10-10-2016 04:13 AM - edited 03-08-2019 07:44 AM
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?
10-10-2016 04:32 AM
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
10-10-2016 05:15 AM
hello,
I am confused now,can you please give me some more links?
10-10-2016 05:28 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide