Pure Networking Setup To Ping Google but not Facebook.

what is router or gateway ?

router is the device used to connect two different networks

Let’s check our routing table.

route -n 

as it’s clearly visible that we can go anywhere from the gateway.

Let’s try to ping some webservers

ping <ip_or_website>

Basically route table allow system to create and send the packet. Now we’ll remove the route_ip which let us ping anywhere in internet.

route del -net <dest_ip>

Now try to ping the google and facebook

To ping google we need it’s ip_address

let’s add the rule that is come under the range of above google address.

Now try to ping the google.

try to ping the facebook.

THANK YOU !!

--

--

--

★ Aspiring DevOps Engineer ★ Technical Volunteer @LinuxWorld ★ Technical Content Writer @Medium ★ ARTH Learner

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

Recommended from Medium

Agile Software Part 3 — Getting the test pyramid right

Simple Player Movement in Unity

UNIT TESTING in python:

How to Create a Python Trading Library

Technical Screening Basics for Non-Technical Founders

Closing the loop with Pact verifications

USE PYTHON TO AUTOMATE GOOGLE LIGHTHOUSE REPORTS AND KEEP A HISTORICAL RECORD OF THESE

OARC 30 Meeting Report

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
Vineet Negi

Vineet Negi

★ Aspiring DevOps Engineer ★ Technical Volunteer @LinuxWorld ★ Technical Content Writer @Medium ★ ARTH Learner

More from Medium

Why Pair Programming is a MUST for Developers

developers in the middle of pair-programming

Lazy Change

Valid Palindromes

What if your asset management system could read between the lines?