Routing
What is Routing?
Routing is a process of selecting a path in a network over which packet shall be sent to a destination. OR
The term routing refers to a process of taking a packet from one device and sending it through the network to other device.
This routing process is done at Layer 3 of OSI layer model i.e. Network layer.
Is really routing required in Networks?
Routing is analogous to locating a house. We can imagine how important it is for a Courier Service Company, to locate a destination (house) in order to deliver the shipment.
Is really routing required in Networks?
Routing is analogous to locating a house. We can imagine how important it is for a Courier Service Company, to locate a destination (house) in order to deliver the shipment.
To locate a house, the minimum details required are - State, district/city, locality, street address and house number. Once the house is located, the next task is to deliver the shipment.
In the same way, routing is very much required to locate the host in a network and deliver the information.
Likewise some minimum details are required for a Courier Company to deliver the shipment, router also make use of some address (IP Address) to locate a destination host in a network.
Basically Routing involves 2 important processes - one is to locate a host and the other is to find out a best path to reach it.
Routers really don’t care about the hosts. They only care about the network and the best path to reach that network. The logical address of the destination host is used to locate that host in a network.
Once the destination host is located, the hardware address of the destination host is used to deliver the packet or information.
Here the hardware address is MAC address and logical address is IP address. We will discuss in detail about MAC and IP address in upcoming posts.
Routing also helps in efficient management of network layer and its resources. It also helps in congestion management.
If network has no router, then it clearly means that you are not routing.
In the same way, routing is very much required to locate the host in a network and deliver the information.
Likewise some minimum details are required for a Courier Company to deliver the shipment, router also make use of some address (IP Address) to locate a destination host in a network.
Basically Routing involves 2 important processes - one is to locate a host and the other is to find out a best path to reach it.
Routers really don’t care about the hosts. They only care about the network and the best path to reach that network. The logical address of the destination host is used to locate that host in a network.
Once the destination host is located, the hardware address of the destination host is used to deliver the packet or information.
Here the hardware address is MAC address and logical address is IP address. We will discuss in detail about MAC and IP address in upcoming posts.
Routing also helps in efficient management of network layer and its resources. It also helps in congestion management.
If network has no router, then it clearly means that you are not routing.
Now there might be a question running in your mind. Some of you may relate this to your working environment also.
“I have no router in my network, but still I can send the information from source host to destination host correctly. How it is possible? “
Yes. In your case, the source and destination are in the same network and the primary function of the router is to locate a network first and then follows location of host. If network is already known, then there is no role of a router in delivering the information.
So, Router helps us in sending a data from one network to another network.
By now, I think we have tuned our understanding about function of router and routing process.
To route a packet, a router must know
1. Destination IP Address.
2. Neighbor router from which it can learn about remote Network.
3. Possible route to all remote networks.
4. The best route to each network.
Router can route the packet only when it knows the information of neighboring connected routers.
“I have no router in my network, but still I can send the information from source host to destination host correctly. How it is possible? “
Yes. In your case, the source and destination are in the same network and the primary function of the router is to locate a network first and then follows location of host. If network is already known, then there is no role of a router in delivering the information.
So, Router helps us in sending a data from one network to another network.
By now, I think we have tuned our understanding about function of router and routing process.
To route a packet, a router must know
1. Destination IP Address.
2. Neighbor router from which it can learn about remote Network.
3. Possible route to all remote networks.
4. The best route to each network.
Router can route the packet only when it knows the information of neighboring connected routers.
How router learns the information of neighboring connected routers? Whether administrator has to do some manual configuration or protocols take care of them? All these things we will discuss in next post.
Hope you have enjoyed the reading. Your queries and feedback are welcome.
Have a nice time