03-07-2007 10:17 PM - edited 03-03-2019 04:04 PM
Dear all,
I wanted to know that if i could apply "no ip redirect" on Fast eth interface(fa0/1) as well as a route-map which is setting next-hop of a particular traffic & that next hop is reachable via same interface on which route-map & no ip redirect has been applied.
***************************************
int fa 0/1
ip add 192.168.1.2 255.255.255.0
no ip redirects
ip policy route-map xyz
route-map xyz permit 5
match ip address abc
set ip next-hop 192.168.1.10
ip access-list extended abc
permit ip host 1.1.1.1 host 2.2.2.2
***************************************
The problem which i am facing is that all traffic's is being sent to 192.168.1.10......is this happening just b/c of "no ip redirects"...
Cheers,
Akhtar
03-07-2007 11:06 PM
Akhtar
What is the default next hop for any traffic to reach the destination ? If the default next hop is also the same interface as that of the route map next hop, then there is no use in using the route map as all traffic that obeys the condition as well as those that dont will be put on the same interface. The no ip redirect will only help in not routing the traffic directly to the 192.168.1.10 interface but through the 192.168.1.2, hence this may not be causing the issue.
03-07-2007 11:16 PM
jarvar,
default route is reachable through a different interface.
Regards,
Akhtar
03-08-2007 12:38 AM
Hi,
yes you can use 'no ip redirects' with a route map. the router just wont send icmp redirects to the device it got the packet from, but the route map will work just fine. i think u need to check the ip routes and ip cache on the device thats sending the traffic to 2.2.2.2 (which you want your route map to handle). i dont know the exact scenario....but i presume all the three devices involved in this setup are on the same physical ethernet segment. try disabling proxy-arp as well.
take care.
03-08-2007 03:45 AM
try taking a trace result from the host and the router to the destination intended and paste the results
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: