cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1232
Views
0
Helpful
2
Replies

Connection to Internet through a specific router for one selected host

We have two edge routers connected to Internet network - router R1 and router R2. By default all traffic is directed to router R2 according to implemented static route. How should network be configured to force host with IP address 192.168.160.1 to connect with Internet via R1 router ?

Question.jpg

 

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

PBR ( aka - Policy-based Routing)

 

https://networklessons.com/cisco/ccie-routing-switching/how-to-configure-policy-based-routing

 

Note: have heard any time called google.com,  before posting many learning posts in the technical community?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello,

 

the below should work:

 

access-list 101 permit ip host 192.168.160.1 any
!
route-map TO_R1 permit 10
match ip address 101
set ip next-hop 20.0.0.2
!
route-map TO_R1 permit 20
!
interface GigabitEthernet0/0
ip policy route-map TO_R1