Traffic redirection on Vlan router

Answered Question
Mar 10th, 2009
User Badges:

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,

Correct Answer by Jon Marshall about 8 years 4 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Jon Marshall Tue, 03/10/2009 - 09:28
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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

angelmed Tue, 03/10/2009 - 11:41
User Badges:

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

Actions

This Discussion