Types of Routing Protoco
Difference Between Static Route and Dynamic Route
Static Routing | Dynamic Routing |
Does not use routing protocol | Use routing protocol |
It is ideal for small/simple networks | It is suitable for large/complex networks |
Configuring static route involve less cost | Dynamic routing involves cost in terms of CPU processes and bandwidth on the network links |
It is maintained by Network Administrator | Routers are responsible for maintaining paths |
Routes cannot be changed until authorized by the administrator | Routing protocols find the routes for traversing the packets |
Routers are not updated dynamically in the routing table and hence cannot detect inactive routes | Routing protocols update the routing table with the update routes |
Link failure disturb rerouting | Link failure does not disturb the rerouting |
Link failure affects the network | Link failure does not affect the network |
Better Security | Less Security |
Configuration is difficult | Configuration is easy |
Basic network knowledge is required | Advanced network knowledge needed |
Video :
When an interface of a router is activated, what is happened?
The router does the following:
- -> Read the IP configuration of the interface.
- -> Extract network information from the IP configuration.
- -> Find the extracted network information in the routing table.
- -> If the routing table already contains an entry for the extracted network, the router updates that entry.
- -> If the routing table contains no entry for the extracted network, the router adds an entry for the extracted network.
The following image shows how the router0 learns the network address from the IP configuration of the FastEthernet 0/0 interface and adds that network address in the routing table.
Source : computernetworkingnotes
Metric of Various Routing Protocol
By the way, What is Metric?
Metric is the criteria of finding best path selection
Administrative Distance
What is this?
Administrative distance is the first criterion that a router uses to determine which routing protocol to use if two protocols provide route information for the same destination.
Most Important
Protocol | Administrative Distance
|
Connected | 0 |
Static | 1 |
EIGRP | 90 |
OSPF | 110 |
RIP | 120 |
If PC-A want to reach to server , which protocol will use?
EIGRP protocol will be used, because EIGRP matric value is 90 which is less than OSPF metric value(120)
Difference Between RIPv1 and RIPv2
SL. | RIPv1 | RIPv2
|
1.
|
RIPv1 is a Distance-Vector Routing protocol.
|
RIPv2 is also Distance-Vector Routing Protocol.
|
2.
|
It can supports class full network only.
|
It can support class full and classless networks.
|
3.
|
It does not support for authentications.
|
It supports for authentications.
|
4.
|
It hop count limit is 15.
|
It hop count limit is 15.
|
5.
|
It does not support for VLSM and discontinuous networks.
|
It supports for VLSM and discontinuous networks.
|
6.
|
It is less secure.
|
It is more secure.
|
7.
|
RIPv1 use Broadcast traffic for updates.
|
RIPv2 use Multicast traffic for updates.
|
8.
|
RIPV1 does not provide trigger updates.
|
RIPv2 provides trigger updates.
|
9.
|
RIPV1 not send subnet mask to routing table.
|
RIPv2 send subnet mask to routing table.
|
10.
|
RIPv1 do not support manual route summarization.
|
RIPv2 support manual route summarization.
|