Create a setup so that you can ping google but not Facebook from the same system.
- type route -n
2. you need to check if your system is pinging to google or not
use command nslookup google.com
3.type route del -net 0.0.0.0
this command helps to not reach the internet gateway. if you try to ping other system through internet it will not ping.
so , after deleting the net gateway you need to add the ip address of google to your system. It will reach only google not other gateway.
4. try pinging the google now
5. now at the last we need to ping google but not facebook