"?? Setup so that you can ping google but not able to ping Facebook from same system"

STEP1:- Firstly analyze your routing table and save your gateway IP , and also check the connectivity to google and Facebook.

No alt text provided for this image

Here you can see , i can connect to both , google as well as Facebook.

STEP2:- Now the first rule of routing table helps us to connect with all. But i have to connect with google only. So delete the first routing rule, and after check whether you can ping to google and Facebook.

No alt text provided for this image
No alt text provided for this image

STEP3:- Now find the ip of google by the command nslookup google.com , So the ip of google is 142.1250.194.14. SO i have to only allow the ip's who are in range of google ip's.

No alt text provided for this image

As well as check the routing table also.

And now you can see that , we cannot ping fb.com but we can ping google.com.

No alt text provided for this image

?


Laveena Jethani

Salesforce DevOps Engineer at Red Hat

4 年

Great ??

回复

要查看或添加评论,请登录

Nitin Tilwani的更多文章

社区洞察

其他会员也浏览了