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

--

--

--

Software Engineer at ChaosNative

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

No Time Like ThePresent https://t.co/xjxfWksiko https://t.co/BalYT78Ota

Django learning resources

Retrograde Launch remix

Why Stress is Hurting Your Decisions. And How to Fix It.

Internship Story — From Imperative Javaist to a Functional Clojurian

How to improve the security of a mobile application in Android with nDPI library implementation?

How No-Code Democratizes App Development

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
ADARSH KUMAR

ADARSH KUMAR

Software Engineer at ChaosNative

More from Medium

Multipass: Easy Virtual Machine

Github VCS

RMF — The Five Stages of Activity | Building Secure Software

Why ROS Docker might not be the best choice for your (Production Ready) Robots