Networking

📌What is a routing table?

  1. Network ID: The network ID or destination corresponding to the route.
  2. Subnet Mask: The mask that is used to match a destination IP address to the network ID.
  3. Next Hop: The IP address to which the packet is forwarded
  4. Outgoing Interface: Outgoing interface the packet should go out to reach the destination network.
  5. Metric: A common use of the metric is to indicate the minimum number of hops (routers crossed) to the network ID.

📌What is Gateway?

📌What is IP Address?

How do IP addresses work:

  1. Our device indirectly connects to the internet by connecting at first to a network connected to the internet, which then grants our device access to the internet.
  2. When we are at home, that network will probably be our Internet Service Provider (ISP). At work, it will be our company network.
  3. Our IP address is assigned to our device by our ISP.
  4. Our internet activity goes through the ISP, and they route it back to us, using our IP address. Since they are giving us access to the internet, it is their role to assign an IP address to our device.
  5. However, our IP address can change. For example, turning our modem or router on or off can change it. Or we can contact your ISP, and they can change it for us.
  6. When we are out and about — for example, traveling — and we take our device with us, our home IP address does not come with us. This is because we will be using another network (Wi-Fi at a hotel, airport, or coffee shop, etc.) to access the internet and will be using a different (and temporary) IP address, assigned to you by the ISP of the hotel, airport or coffee shop.

📌What is Netmask?

How to read a netmask?

🎯Create a Setup so that we can ping Google but not able to ping Facebook from the same system.

The Wrap-Up

--

--

--

I am tech enthusiast fascinated towards technology and its various disciplines including Big Data, Hadoop, Web Development, Competative Programming,ML,etc.

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

Recommended from Medium

How to Test Web Performance with Lighthouse

Why Offshoring Software Does Not Work in the Agile Age

Create Alexa Custom Skill

Not Everything Needs to be a Dashboard

Enable Mutual TLS Authentication Between Your Kubernetes Workloads Using Istio

Impossible read and write isolation phenomena with Cloud Spanner

Micro Series 6 : Prime Video — shuffle episodes

Why Pair Programming Is Fantastic

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
Abhayagarwal

Abhayagarwal

I am tech enthusiast fascinated towards technology and its various disciplines including Big Data, Hadoop, Web Development, Competative Programming,ML,etc.

More from Medium

Pork Chop Hill

Morris School District Performance Report 2020–21

Re-name that team

Implementation of Agile Methodology- Zomato