This is a basic tutorial to show you how to deny ping's from diferrent pc's in different network, In this example I used pc to pc ping blocking, but you can use it also like pc to server or anything else...
Commands used are as follows:
access-list 101 deny icmp host 172.17.27.1 host 10.10.10.2
access-list 101 permit ip any any
interface Fastethernet 0/0
ip access-group 101 in
@cheongzewei
According to this topology by default ping requests are allowed because all 3 networks involved here are exchanging routes using a dynamic routing protocol (all ranges are Private Ip addresses). Only if we have NAT involved here it will block by default the ping requests but in our case we use private ip addresses, routes are exchanged and 2 different end pc-s from different networks are ping-able, so we created an access list to block icmp requests.
leoniri20 4 months ago
without doing anything, ping requests have already been blocked
i would like to know how to ALLOW ping requests between 2 different end pc from different networks.
use the same setup.
cheongzewei 1 year ago