cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
267
Views
0
Helpful
1
Replies

Configure 28xx for Route based on Source

sdvandeslunt
Level 1
Level 1

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

What's the best way to accomplish this?

IOS v12.4

Thanks,

-Scott

1 Reply 1

Richard Burts
Hall of Fame
Hall of Fame

Scott

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.

HTH

Rick

HTH

Rick
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card