Configure 28xx for Route based on Source

Unanswered Question
Aug 8th, 2008
User Badges:

I'd like to setup a split default route on a 2800 series router so that packets that source from one network (lets say are routed to one gateway but packets from another network (lets say are routed to a different gateway.

What's the best way to accomplish this?

IOS v12.4



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Richard Burts Fri, 08/08/2008 - 13:34
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN


The best way to implement your requirements to make routing decisions based on source address is to configure Policy Based Routing. With PBR you can look at traffic to be forwarded and make forwarding decisions on factors other than just destination address - especially based on source address.

I would suggest that the way to implement this would be to set up a default route pointing at one of the outbound links (if one link will carry more traffic than the other it may be best to have this be the active default route). I would then configure a floating static default route so that if the primary default route fails then traffic will fail over to the other link. Then I would configure PBR. To do this you would configure an access list which will identify the traffic for different routing. Then configure a route map which will use the access list to identify traffic and will then set ip next hop to send the traffic out the alternate link. And then you configure ip policy on the interface on which the traffic arrives at the router.




This Discussion