ARTH — Task 13 👨🏻‍💻, Create a Setup so that you can ping google but not able to ping Facebook from same system !!

Pradeep Kvssk
pradeepkvssk_Technical-Blogs
4 min readDec 14, 2020
Servers in the region of face-book datacenter

A gateway is a node (router) in a computer network, a key stopping point for data on its way to or from other networks.

Basically, it is a gateway is a hardware device that acts as a “gate” between two networks. It may be a router, firewall, server, or other device that enables traffic to flow in and out of the network. It allows computers within the local network to send and receive data over the Internet

There are two main types of gateways: unidirectional gateways and bidirectional gateways.

  1. Unidirectional gateways allow alerts to flow in only one direction.

2. Bidirectional gateways can be considered as synchronization tools.

Gateways regulate traffic between two dissimilar networks, while routers regulate traffic between similar networks. … Because TCP/IP is also the primary protocol of the Internet, you could use a router to connect your network to the Internet.

502 and 504 errors are related to a bad gateway, meaning that while the reverse proxy server is operational, something it needs to collect from the origin server is not working, or the connection between the reverse proxy server and the origin server is broken.

How does we connect to the Internet ??

we use the physical devices like MODEM

That device is required for the internet connection is a MODEM. A modem (modulator–demodulator) is a network hardware device that modulates one or more carrier wave signals to encode digital information for transmission.

Basic elements required to connect to the internet connectivities are :-

1. physical wires,

2. Modem (router), and

3. NIC (network card) and IP (i.e public and private).

A router is mainly used in the local area network(LAN) and wide area network(WAN) domain. The data is transferred across the network by using the routing protocols.

It is much more costly in comparison to other network devices like hub, switch etc.
Some of the companies that develop routers are D-Link, Cisco, Nortel etc.

Main idea of setting up the gateway to ping google but not facebook domain:

For the every network connectivity details are noted down here:

For the IP of the PC
#nslookup needs the dependecy of bind-utils packages

Without Gateway we cannot work with any thing in the public work connectivity.

Without gateway in the route-table

The Gateway is the main point of entry and exit of any request into the particular LAN.

So now we will configure the Gateway as the Google server and trying ping onto the face-book servers

And so here we see that the google DNS i.e check here

We are to ping the Google DNS:

but when ping is done to the face-book servers:

Here the route is configured as Facebook server IP and so we cannot ping the Google DNS.

Finally it is proven that Router will only redirect the request or create a packet within the Range of IP’s over a LAN (Large Area Network)

!!! Thank you, keep Smiling Keep Learning !!!!

--

--

Pradeep Kvssk
pradeepkvssk_Technical-Blogs

Follow me for more Updates :) Passionate — >>🚩,🔍,🔮,Passion