cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
487
Views
0
Helpful
3
Replies

Route map question

tedauction
Level 1
Level 1

Hello, can someone please confirm if this will work as expected ?
I have a host 10.23.150.15. I want to modify the next hop for traffic ONLY from this host to ONLY 192.168.8.0, 192.168.9.0, 192.168.10.0 and 192.168.13.0.
All other traffic from this host will follow the normal default gateway configured on their NIC.
Thank you kindly.

Extended IP access list codec
10 permit ip host 10.23.150.15 192.168.8.0 0.0.0.255
20 permit ip host 10.23.150.15 192.168.9.0 0.0.0.255
30 permit ip host 10.23.150.15 192.168.10.0 0.0.0.255
40 permit ip host 10.23.150.15 192.168.11.0 0.0.0.255
50 permit ip host 10.23.150.15 192.168.13.0 0.0.0.255

route-map codec
match ip address codec
set default next-hop 10.21.250.45

Then on the router:
int gi0/0.30
ip policy route-map codec

2 Accepted Solutions

Accepted Solutions

filip00011
Level 1
Level 1

Yes this will work

View solution in original post

Richard Burts
Hall of Fame
Hall of Fame

There are a couple of things about your environment that we do not know and which could change our answer. We do not know what platform and version of code this is, and so can not be sure that Policy Based Routing is supported. We do not know whether interface g0/0.30 is the interface where the host is connected.

 

Other than that your suggested config looks correct, except that your ACL includes network 192.168.11.0 and that network was not mentioned in your verbal description of the requirements. Other than that you seem to be correct for PBR.

 

HTH

 

Rick

HTH

Rick

View solution in original post

3 Replies 3

filip00011
Level 1
Level 1

Yes this will work

Richard Burts
Hall of Fame
Hall of Fame

There are a couple of things about your environment that we do not know and which could change our answer. We do not know what platform and version of code this is, and so can not be sure that Policy Based Routing is supported. We do not know whether interface g0/0.30 is the interface where the host is connected.

 

Other than that your suggested config looks correct, except that your ACL includes network 192.168.11.0 and that network was not mentioned in your verbal description of the requirements. Other than that you seem to be correct for PBR.

 

HTH

 

Rick

HTH

Rick

Larry Sullivan
Level 3
Level 3

I would also consider if asymmetric routing is an issue if destination network has multiple ingress/egress points with dynamic routing.

Review Cisco Networking products for a $25 gift card