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

Need to direct selected traffic toward specific router interface

USD SmartAlerts
Level 1
Level 1

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!

1 Reply 1

Giuseppe Larosa
Hall of Fame
Hall of Fame

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

 

Review Cisco Networking products for a $25 gift card