Ping google but not able to ping Facebook from same system

SIBAYAN BAG
2 min readMar 13, 2021

--

First check the routing table of system:

command : route -n

By seeing the above we conclude that from the gateway ip 192.168.43.1 we can route to destination ip 0.0.0.0 which means any IP in the world we can ping…..

For confirmation we can check by pinging to google and facebook….

Command : ping www.google.com

command : ping www.facebook.com

Task :

Ping to google but unable to ping facebook….

  1. Delete the default routing information from the routing table :

command : route del -net dest_ip

Check it is deleted or not…..

2. Check the IP of the google :

command : nslookup google.com

3. Update the route table with new routing rule :

command : route add -net IP netmask IP gw ip enp0s3

and to check it is add or not :

command : route -n

4. Ping to google :

command : ping google.com

5. Check for ping to facebook :

command : ping facebook.com

Hence Task Completed !!!

Thank You for Reading !!!

--

--

No responses yet