Comments

4/recentcomments

What is Routing ? - techinfo108

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:


  • destination network and subnet mask
  • Routing metrics and administrative distance.
  • The "next hop" router to get the destination network
Routing table has two types of protocols:

  • 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.
Router plays a very important role to determine best route to destination.It has three components are as follows:

  • Prefix length
  • Administrative Distance
  • Metric
Prefix length or Prefix is the number of bits used to identify the network and is used to determine the most specific route.For example:I am trying to login my office firewall and the address is 172.16.1.1 /24.If the routes available in routing table:
           
        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.

RIP Hop-Count Metrics
                                             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.

SHARE

Milan Tomic

Hi. I’m Designer of Blog Magic. I’m CEO/Founder of ThemeXpose. I’m Creative Art Director, Web Designer, UI/UX Designer, Interaction Designer, Industrial Designer, Web Developer, Business Enthusiast, StartUp Enthusiast, Speaker, Writer and Photographer. Inspired to make things looks better.

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 Comments:

Post a Comment