Creating a network setup that can ping Google but unable to ping facebook from the same system

[root@localhost ~]# nslookup facebook.com & nslookup google.comServer:     192.168.43.229
Address: 172.31.2.2#53
Non-authoritative answer:
Name: facebook.com
Address: 69.171.250.23
Name: facebook.com
Address: 2a03:2880:f1ff:83:face:b00c:0:25de
Non-authoritative answer:
Name: google.com
Address: 216.58.193.174
Name: google.com
Address: 2404:6800:4007:813::2004
[root@localhost ~]# route del -net 0.0.0.0
[root@localhost ~]# route add -net 216.58.192.0 gw 192.168.43.1 netmask 255.255.224.0 enp0s3

Conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store