Need to direct selected traffic toward specific router interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2019 08:15 AM
I had been primarily working with our access switches until recently, so I apologize if this is a basic question. We have two 3925 routers with a 4 port ehwic (switchports), each connected to a different ISP. Our company provides the Internet access for a group that is connected to one of these switchports on R2. They have their own equipment (switches, firewall, etc.). The firewall directly connects to the router's switchport. We use static routing (no dynamic protocol). I need to ensure that their ip range (10.50.20.x/24) always exits on R2's ISP interface. Any suggestions how to facilitate this? Thanks!
- Labels:
-
Other Routing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2019 08:27 AM
Hello,
you can use policy based routing applied inbound to the SVI Vlan interface that receives the traffic sourced by IP subnet 10.50.20.x/24
access-list 101 permit ip 10.50.20.0 0.0.0.255 any
route-map PBR permit 10
match address 101
set ip next-hop <ISP-ip-address>
interface Vlan X
ip policy route-map PBR
Hope to help
Giuseppe
