Creating a network that can ping Google but not Facebook at the same time

 We can achieve the following task with the help of editing Routing table, For editing the Routing table we have to use the command #Route -n

This route table gives information about Destination, Gateway and etc

now in this we can remove the basic IP and add google IP

Now to look for google ip we can use nsloopup command , 172.217.166.0 is the ip of google

Now we can try pinging google.com, since we've added we'll be able to ping
Now we won't be able ping facebook because we've removed the default rules and added only google






Comments

Popular posts from this blog

ARTH TASK 23 [📌 Automate Kubernetes Cluster Using Ansible 🔅 Launch ec2-instances on AWS Cloud eg. for master and slave. 🔅 Create roles that will configure master node and slave node seperately. 🔅 Launch a wordpress and mysql database connected to it in the respectine slaves. 🔅 Expose the wordpress pod and client able hit the wordpress ip with its respective port. ]

Arth Task6 "Create High Availability Architecture with AWS CLI" #awscloud #awscli #aws #vimaldaga #righteducation #educationredefine #rightmentor #worldrecordholder #linuxworld #makingindiafutureready #righeudcation #awsbylw #arthbylw

RH294 real used cases workshop #RedHat #vimaldaga #righteducation #educationredefine #rightmentor #linuxworld #makingindiafutureready #righeducation #arthbylw #ansiblebylw #ansible #expertsession #sreejith #arun #practicalimplementation #rh294