Creating a Setup so that you can ping google but not able to ping Facebook

Shubham kumar
Mar 8, 2021

First, try pinging both Google and Facebook,

As we can see, we are able to ping both www.google.com & www.facebook.com, and using ping we also get the IP addresses of both. So, in our case we want to make Facebook not pingable, so we just add a route to the routing table with the IP of Facebook and provided no Internet gateway to it.

Now after this route try pinging.

Can ping google but can’t ping facebook.😊

--

--