Create a Setup so that you can ping google but not able to ping Facebook from same system
Mar 20, 2021
Follow these Steps:
Step 1: Checking route table
Step 2: ping www.google.com or ping -4 www.google.com →to ping google
Step 3: ping www.facebook.com or ping -4 www.facebook.com →to ping facebook
Step 4: Delete the universal IP in route table using:
Step 5: Check the google server ip using → nslook google.com
Now we have to ping only google not facebook by adding new rule in route table by route add -net 172.217.0.0 netmask 255.255.0.0 gw 192.168.43.1 enp0s3