07-19-2004 08:09 AM - edited 03-02-2019 05:10 PM
I running version 12.3(9) on a 1751 router. If, I understand the command, it should stop successful trace routes to this interface, correct? If so , it's not working. I can trace route to this interface with the command enabled or disabled, but if I stop icmp echo's to this interface I can't trace to it at all, with command enabled or disabled. Can any explain this.
Solved! Go to Solution.
07-19-2004 12:17 PM
Hello,
the ´no ip unreachables´command in itself does not prevent successful traceroutes. All it does is that, if traceroutes are prevented by an access-list, it does not send a ´port unreachable message´ to the router initiating the traceroute.
If you have access to two routers in a test environment, try the following to see what the command does:
On one router, block ICMP traceroute traffic:
access-list 101 deny icmp any any eq traceroute
access-list 101 permit ip any any
Then apply the access list to the interface where you have the command ´no ip unreachables´ configured:
interface Ethernet0
no ip unreachables
ip access-group 101 in
Turn on debugging for ICMP on both routers and start the traceroute:
debug ip icmp
term mon
With the command ´no ip unreachables´ configured, the traceroute is blocked but nothing is sent to the originating router.
With ´ip unreachables´ configured, the router that is blocking the traceroute sends a ´port unreachable´ message back to the originating router, it looks similar to this:
3w5d: ICMP: dst (135.13.20.2) port unreachable sent to 135.13.20.1
HTH,
Georg
07-19-2004 12:17 PM
Hello,
the ´no ip unreachables´command in itself does not prevent successful traceroutes. All it does is that, if traceroutes are prevented by an access-list, it does not send a ´port unreachable message´ to the router initiating the traceroute.
If you have access to two routers in a test environment, try the following to see what the command does:
On one router, block ICMP traceroute traffic:
access-list 101 deny icmp any any eq traceroute
access-list 101 permit ip any any
Then apply the access list to the interface where you have the command ´no ip unreachables´ configured:
interface Ethernet0
no ip unreachables
ip access-group 101 in
Turn on debugging for ICMP on both routers and start the traceroute:
debug ip icmp
term mon
With the command ´no ip unreachables´ configured, the traceroute is blocked but nothing is sent to the originating router.
With ´ip unreachables´ configured, the router that is blocking the traceroute sends a ´port unreachable´ message back to the originating router, it looks similar to this:
3w5d: ICMP: dst (135.13.20.2) port unreachable sent to 135.13.20.1
HTH,
Georg
07-19-2004 01:02 PM
Thanks,
This link really answered for me. It helped to understand the difference how Cisco, Linux and Windows handle traceroute, which I didn't know there are different way of doing it.
http://cisco.com/en/US/tech/tk364/tk871/technologies_tech_note09186a00801ae32a.shtml
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