no ip redirect with route-map

Unanswered Question
Mar 7th, 2007
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
jarvar832004 Wed, 03/07/2007 - 23:06
User Badges:

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.

nedian123 Wed, 03/07/2007 - 23:16
User Badges:

jarvar,


default route is reachable through a different interface.


Regards,


Akhtar



radiohead23 Thu, 03/08/2007 - 00:38
User Badges:

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.

jarvar832004 Thu, 03/08/2007 - 03:45
User Badges:

try taking a trace result from the host and the router to the destination intended and paste the results

Actions

This Discussion