Routing is the Process of selecting the best path to a destination network.It sends a packets of information from one network to another network.Routing is performed by a special device known as a Router.
Router is networking device which is used to connect two or more different networks.It works on Layer 3 called network layer in OSI model and internet layer in TCP/IP model.Router does routing.
Router builds routing table which contains following:
172.16.1.1/24
172.16.0.0/16
The router will do a bit-by-bit comparison to search the best route.
Metric are used to choose the best route to the destination with in a routing protocol.Some Routing Protocols has different metric.Distance vector Routing protocols uses "hop-count" as their metric and Link State Routing Protocol uses a "Cost" as their metric.The routes which has a best metric are added to the routing table.
For Example :Suppose we are configuring a lab where RIP protocol has four routes
to reach the destination.the protocol use the hop count as their metric to reach destination
where less hops it prefers most
like my diagram te prefers 172.16.0.0 network to reach destination.
Fig:Rip Hop-Count Metric lab
Administrative Distance is used to determine which routing protocol to trust the most Lowest administrative distance wins.Administrative Distance is comes in use when we are using multiple routing protocol.
For Example:Let's Assume we are working on a lab where two routing protocols Eigrp and Ospf come in use in a same network.In this type of scenario Administrative Distance is use to determine which routing path to choose.
Every Routing Protocols has different Administrative Distance.
Router is networking device which is used to connect two or more different networks.It works on Layer 3 called network layer in OSI model and internet layer in TCP/IP model.Router does routing.
Router builds routing table which contains following:
- destination network and subnet mask
- Routing metrics and administrative distance.
- The "next hop" router to get the destination network
- Routed Protocol is a layer 3 protocol that applies logical address to devices and routes data between networks.
- Routing Protocols use the metric to determine the best path for the packet of delivery and it also dynamically build the network,topology and next hop information in routing table.
- Prefix length
- Administrative Distance
- Metric
172.16.1.1/24
172.16.0.0/16
The router will do a bit-by-bit comparison to search the best route.
Metric are used to choose the best route to the destination with in a routing protocol.Some Routing Protocols has different metric.Distance vector Routing protocols uses "hop-count" as their metric and Link State Routing Protocol uses a "Cost" as their metric.The routes which has a best metric are added to the routing table.
For Example :Suppose we are configuring a lab where RIP protocol has four routes
to reach the destination.the protocol use the hop count as their metric to reach destination
where less hops it prefers most
like my diagram te prefers 172.16.0.0 network to reach destination.
Fig:Rip Hop-Count Metric lab
Administrative Distance is used to determine which routing protocol to trust the most Lowest administrative distance wins.Administrative Distance is comes in use when we are using multiple routing protocol.
For Example:Let's Assume we are working on a lab where two routing protocols Eigrp and Ospf come in use in a same network.In this type of scenario Administrative Distance is use to determine which routing path to choose.
Every Routing Protocols has different Administrative Distance.
0 Comments:
Post a Comment