01-25-2021 09:24 PM
Hi All,
I am faced with a very strange problem. My internal network contains IPs from 172.16.X.X subnet. I want to block a certain IP from appearing in traceroute(this IP belongs to an uplink hosted in my own AS) and I can easily do things anyone suggests. Any leads to achieve this task will be highly appreciated.
01-25-2021 10:53 PM
01-25-2021 11:31 PM
When traceroute operates it uses icmp time-exceeded and icmp unreachable messages as the mechanism that reports the intermediate hops in the path to the ultimate host. We normally allow those messages inbound but if you deny them for the particular host you want to exclude it will have the effect of removing it from traceroute (the * denoting a hop not reporting its address will still show up).
01-26-2021 12:58 AM
Hi Marvin,
Thank you for your update. I made an ACL in which I am denying ICMP time-exceeded, traceroute and echo-reply but I am unable to block this IP in traceroute. Can you kindly help me in pointing out the exact point? The ACL on ingress interface is pasted below:
ipv4 access-list ICMP-BLOCK
1 deny icmp any 172.16.11.112 0.0.0.3 ttl lt 255
2 deny icmp any 172.16.11.112 0.0.0.3 time-exceeded
5 deny icmp any 172.16.11.112 0.0.0.3 fragments
6 deny icmp any 172.16.11.112 0.0.0.3 traceroute
7 deny tcp any 172.16.11.112 0.0.0.3 icmp-off
8 deny udp any 172.16.11.112 0.0.0.3 icmp-off
10 deny icmp any 172.16.11.112 0.0.0.3 echo
15 deny icmp any 172.16.11.112 0.0.0.3 echo-reply icmp-off
20 deny icmp any 172.16.11.112 0.0.0.3 echo-reply
25 deny udp any 172.16.11.112 0.0.0.3 range 33434 33534
26 deny tcp any 172.16.11.112 0.0.0.3 range 33434 33534
30 deny icmp any 172.16.11.112 0.0.0.3 time-exceeded
40 permit ipv4 any any
01-26-2021 03:50 AM
Your ACL is denying from "any" to the subnet 172.16.11.112/30. If your intention is to mask the hosts in that subnet from appearing, then they must be the SOURCE address and the ACL must be applied between where that subnet lives and your client PCs.
01-26-2021 07:00 AM
The IP I intend to block is 172.16.11.114/32 and this ACL is applied where the same IP on an interface(/30) is configured. I am yet to yield any fruitful outcome on this.
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