05-16-2018 11:57 AM - edited 03-08-2019 03:02 PM
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
Solved! Go to Solution.
05-16-2018 12:21 PM
Yes this will work
05-16-2018 12:23 PM
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
05-16-2018 12:21 PM
Yes this will work
05-16-2018 12:23 PM
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
05-16-2018 01:13 PM - edited 05-16-2018 01:13 PM
I would also consider if asymmetric routing is an issue if destination network has multiple ingress/egress points with dynamic routing.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide