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
Post a Comment