03-10-2009 09:24 AM - edited 03-06-2019 04:30 AM
Hello,
I have Cisco 2621 router set up as Vlan router.The default getway is pointing to our backup DSL circut.I need to direct traffic from one of the VLans to our primary circut. I can't change the default getaway though.Just this one VLan needs to go thru primary getaway.What would be the easiest way to do that?
Thank you,
Solved! Go to Solution.
03-10-2009 09:28 AM
PBR would be the way to go ie.
vlan you need to redirect = 192.168.5.0/24
access-list 101 permit ip 192.168.5.0 0.0.0.255 any
route-map REDIR permit 10
match ip address 101
set ip next-hop
then on sub-interface for 192.168.5.0/24 network
int fa0/0.5
ip policy route-map REDIR
Jon
03-10-2009 09:28 AM
PBR would be the way to go ie.
vlan you need to redirect = 192.168.5.0/24
access-list 101 permit ip 192.168.5.0 0.0.0.255 any
route-map REDIR permit 10
match ip address 101
set ip next-hop
then on sub-interface for 192.168.5.0/24 network
int fa0/0.5
ip policy route-map REDIR
Jon
03-10-2009 11:41 AM
Thank you! I've used policy based routing solution suggested by Jon. Works great!
03-10-2009 09:29 AM
Hi
You can you policy based routing for this
access-list x permit ip
route-map traffic-redirect
match ip address
set ip next-hop x.x.x.x
interface vlan x / or sub int
ip policy route-map equal-access
Policy based routing
http://www.cisco.com/en/US/docs/ios/12_0/qos/configuration/guide/qcpolicy.html
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