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

Traffic redirection on Vlan router

angelmed
Level 1
Level 1

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,

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

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

View solution in original post

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

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

Thank you! I've used policy based routing solution suggested by Jon. Works great!

adamclarkuk_2
Level 4
Level 4

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

Review Cisco Networking products for a $25 gift card