Computer Network Note-5 (3L)
Computer Network Note-5 (3L)
Network Routing
When a device has multiple paths to reach a destination, it always selects one path by preferring it over
others. This selection process is termed as Routing. Routing is done by special network devices called
routers. Router is responsible to forward a packet to proper destination with the help of proper routing
algorithm by maintaining the information into a routing table.
1. Unicast routing
Routing unicast data over the internet is called unicast routing. It is the simplest form of routing
because the destination is already known. Hence the router just has to look up the routing table and
forward the packet to next hop.
2. Broadcast routing
A router creates a data packet and then sends it to each host one by one. In this case, the router creates
multiple copies of single data packet with different destination addresses. This method consumes lots of
bandwidth as here the entire router in the network system receives a packet that is to be broad casted, it
simply floods those packets out of all interfaces.
SKFGI/CSE MKD
3. Multicast Routing
Multicast routing is special case of broadcast routing. But in Multicast routing, the data is sent to only
nodes which wants to receive the packets. Here a group of receiver receives packets from one specific
sender.
Packet forward: Packet forwarding means to place the packet in its route to its destination. In this
technique when a router has received a packet to be forwarded, it looks at this table to find the route to the
final destination. Several technique use to manage the size of routing table and also provide the security.
Next-Hop Method: In this technique, the routing table holds only the address of the next hop instead of
information about the complete route (route method). The entries of a routing table must be consistent
with one another.
SKFGI/CSE MKD
Routing Table
A host or a router has a routing table with an entry for each destination, or a combination of destinations,
to route IP packets. The routing table can be either static or dynamic.
There are two type of routing table.