• Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar
  • Skip to footer

Computer Notes

Library
    • Computer Fundamental
    • Computer Memory
    • DBMS Tutorial
    • Operating System
    • Computer Networking
    • C Programming
    • C++ Programming
    • Java Programming
    • C# Programming
    • SQL Tutorial
    • Management Tutorial
    • Computer Graphics
    • Compiler Design
    • Style Sheet
    • JavaScript Tutorial
    • Html Tutorial
    • Wordpress Tutorial
    • Python Tutorial
    • PHP Tutorial
    • JSP Tutorial
    • AngularJS Tutorial
    • Data Structures
    • E Commerce Tutorial
    • Visual Basic
    • Structs2 Tutorial
    • Digital Electronics
    • Internet Terms
    • Servlet Tutorial
    • Software Engineering
    • Interviews Questions
    • Basic Terms
    • Troubleshooting
Menu

Header Right

Home » Networking » Routing » What is Routing? Type of Routing.
Next →
← Prev

What is Routing? Type of Routing.

By Dinesh Thakur

In a mesh network, the routing of packets is part of a complex algorithm, by the distribution of decisions, which are both space and time. A node should know the status of all the other nodes before deciding where to send a packet, which is impossible to achieve.

First, let’s look at the components necessary for the establishment of a routing. It should firstly be a routing table, which is as illustrated in figure.

Routing table

It can be seen that a transfer node is formed of output lines, which emit frames obtained from packets. The packets are routed by the node to an output line through the routing table. If a packet arrives at node with for destination final, D1 node, the node can send this packet to the output line A1 or to the output line A2. The decision is made on local criteria in the present case. By example, it sends the packet on the shortest queue. If the final destination is D2, the package is set in the A2 line.

We’ll be covering the following topics in this tutorial:

  • Centralized Routing
  • Distributed Routing

Centralized Routing

Centralized routing is characterized by the existence of a center, which takes decisions on the definition of a new table and sending the table to all transfer network nodes. This central node receives information from all network components, and designs its routing table following specific algorithms in advance.

Key considerations to be taken into account to determine the best routes in a network, whether in routing or to the opening of a road, are following:

• cost of the bonds;

• cost of switching in a knot;

• requested rate;

• Transit delay requested;

• Number of nodes to traverse;

• Safe transport of certain classes of packets;

• Occupation of the memories of the switching nodes;

• Occupation of the line couplers.

Routing algorithms using mostly cost criteria. We find, for example, the lowest cost algorithm, which, as its name suggests, is to find the path that minimizes the higher the price. The simplest algorithms, and almost always the most efficient, give a cost of 1 each time through a node. This is the algorithm of the shortest route. Contrary to what could be thinking is often a good way to proceed. One can easily add bias to reflect the occupancy of the buffers, the use of output lines, etc.

The fixed routing is another particularly simple technique since the table does not vary in time. Each time a packet enters a node, it is sent in the same direction which corresponds, in almost all cases, the algorithm to the shortest route. However, one can not speak of routing algorithm in this case, since the routing is fixed and does not require update. The fixed route goes along with a control center, which manages the serious breakdowns and generates a new table when a node fails or a communication line is broken. We call this fixed routing between updates day.

Can be improved by taking into account fixed routing of events indicated by the network, such congestion or occupations lines or excessive memory. Every ten seconds, all network nodes send a control packet indicating their situation. From these reports, the central node is developing a new routing table, which is broadcast.

Sending routing tables asynchronously is a more sophisticated technique. The central node broadcasts to all nodes a new routing table as soon as this table has changed sufficiently over that in force. In other words, the control center stands the routing tables as and with the arrival of new and sends information to all nodes the first routing table that seems to him sufficiently different from the previous. Adaptation is here and not asynchronous synchronous as before.

The performance of this centralized routing is architecture and topology network. Indeed, the main problem of routing and adaptation is that they must take place in real time. Between the times a node sends a report involving a new routing and when the new routing table arrives, it should not be have substantial change in the system state. This condition is badly made if the network is large and overcrowded roads, control packets being little priority than packets carrying information.

Routing the quality corresponds to a first view to adaptation increasingly sophisticated. This is where there is the second major problem regarding the performance, also related to the first: the sophistication leads to network overload by control packets, which can prevent a real-time operation.

It can be seen that a given routing algorithm does not have the same efficiency for a network three nodes, for example, that for a network to twenty knots. The first conclusion we can draw is that it is no better algorithm than another, even for a well-defined network, since it depends on the traffic. Moreover, it appears that there is an optimum in the complexity of the adaptive algorithm for not overloading the network unnecessarily.

Distributed Routing

The simplest distributed routing techniques, flood, is not adaptive. When a packet is received in a node, it is forwarded to all destinations possible. This efficient routing is nevertheless penalizing in terms of flow and can not be adopted in specific cases, such as networks where real time is essential and low traffic.

In a little more complex algorithm, adaptability begins to appear. It concerns only a dimension, time. For a package in transit node i and leader to node j, a plurality of output lines can be selected. In the method Routing called hot potatoe, we try to get rid of as quickly package possible by transmitting the first empty line output. In fact, it only uses Never a hot potatoe pure method. Preferred more elaborate techniques in coefficients which are assigned to different output lines for a destination given.

There is almost always a more appropriate output line than others. All these techniques are local, since the states of other nodes are not taken into account. To adapt the algorithm in space, it is first necessary to have an idea what is happening in neighboring nodes. Without the use of control packets, there is obtained sample traffic from neighboring nodes by counting arrivals from these nodes. These can also send synchronously or asynchronously an account of their condition. Taking into account these implicit information or explicit, it is possible to choose the output queue knowingly. Adaptation Space is still limited, since a fracture, two links below, may not be taken into account by the minutes of the neighboring nodes. A more technical fine is defined in the next section, enabling a node to determine its table routing function of all system conditions.

Hot potatoe routing with bias

The distributed routing algorithm, which must fully adapt to the times space and time, requires a complete knowledge of the status of all network nodes. The various nodes must exchange messages. If each node transmits a message to all the others, total traffic so may increase worrying. To stay within reasonable limits, a node transmits an account made to its neighbors. These must be considered in their own account. Again, update the instants can be synchronous or asynchronous. The advantages and disadvantages of these two types of measurement are the same as in the centralized case.

You’ll also like:

  1. Distance Vector routing Protocol- What is Distance Vector routing ?
  2. Routing Protocols
  3. Distributed Routing
  4. Data Routing
  5. Routing Algorithms
Next →
← Prev
Like/Subscribe us for latest updates     

About Dinesh Thakur
Dinesh ThakurDinesh Thakur holds an B.C.A, MCDBA, MCSD certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps.

Dinesh Thakur is a Freelance Writer who helps different clients from all over the globe. Dinesh has written over 500+ blogs, 30+ eBooks, and 10000+ Posts for all types of clients.


For any type of query or something that you think is missing, please feel free to Contact us.


Primary Sidebar

Networking

Networking Tutorials

  • Network - Home
  • Network - Uses
  • Network - Advantages
  • Network - Classification
  • Network - Architecture Type
  • Nework - Networks Vs Comms

Networking Devices

  • Network - Modem
  • Network - Routers Types
  • Network - Bluetooth
  • Network - RS-232C
  • Network - Hub
  • Network - Devices
  • Network - Bridges
  • Network - Repeaters
  • Network - Routers
  • Network - Switching Hubs
  • Network - Transceiver
  • Network - Multiplexer
  • Network - Gateway
  • Network - BNC Connector
  • Network - Optical Connectors
  • Network - NICs
  • Networking Protocol

  • Protocol - Definition
  • Protocol - IP
  • Protocol - Aloha
  • Protocol - MAC Layer
  • Protocol - Sliding Window
  • Protocol - Stop & Wait
  • Protocol - Network Protocols
  • Protocol - Token Passing
  • Protocol - SIP
  • Protocol - Ad-Hoc Networks Routing
  • Protocol - Lap-f
  • Protocol - Point-to-Point
  • Protocol - PPP
  • Protocol - PPP Phases
  • Protocol - LDP
  • Protocol - MPLS
  • Protocol - MPOA
  • Protocol - HDLC
  • Protocol - Distance Vector routing
  • Protocol - IGMP
  • Protocol - ICMP
  • Protocol - SLIP
  • Protocol - DVMRP
  • Protocol - SDLC
  • Protocol - Routing
  • Protocol - UDP
  • Protocol - ARP and RARP
  • Protocol - Link-State
  • Protocol - ARP Table
  • Protocol - RTP
  • Protocol - NHRP
  • Network Addressing

  • Addressing - Home
  • Addressing - SubNetting
  • Addressing - Classless
  • Addressing - Classes or Classful
  • Addressing - IPV4 vs IPV6
  • Addressing - IPv6
  • Addressing - Subnet Mask
  • Addressing - MAC Address
  • Addressing - Supernetting
  • Addressing - Private IP
  • Addressing - IPv4
  • Addressing - Public IP
  • Addressing - Multihomed
  • Addressing - Indirect Addressing
  • Addressing - ASP
  • Addressing - VLSM
  • Addressing - Routing Algorithms
  • Addressing - Hierarchical Routing
  • Addressing - Routing
  • Addressing - Distributed Routing
  • Addressing - Data Routing
  • Addressing - Services
  • Addressing - IP forwarding
  • Addressing - Aging
  • Addressing - Algorithm CR
  • Networking Media

  • Transmission - Home
  • Transmission - Modes
  • Transmission - Media
  • Transmission - System
  • Transmission - Bound
  • Transmission - Unbound
  • Transmission - Baseband
  • Transmission - Wired
  • Transmission - Fiber Benfits
  • Transmission - Infrared
  • Transmission - UnGuided
  • Transmission - Microwave
  • Transmission - Infrared
  • Transmission - Radio Wave
  • Transmission - Network
  • Transmission - Digital Signal
  • Transmission - Data
  • Transmission - Asynchronous
  • Transmission - Sync Vs Async
  • Cable - Twisted-Pair
  • Cable - Coaxial
  • Cable - UTP and STP
  • Cable - Fiber Optics
  • Cable - Gigabit Ethernet
  • Cable - Fast Ethernet
  • Cable - Ethernet Cable
  • Cable - Fiber-Optic Using
  • Cable - CATV
  • Cable - 100Base T
  • Cable - 10BASE T
  • Cable - 10 Base 2
  • Cable - 10 Base 5
  • Networking Types

  • IEEE - 802.11
  • IEEE - 802.5
  • IEEE - 802.15
  • IEEE - 802.11e
  • IEEE - 802.11n
  • Network - Ethernet
  • Network - Arpanet
  • Network - Frame Relay
  • Network - X.25
  • Network - Telephone
  • Network - WSN
  • Network - Metro Ethernet
  • Network - WAN Ethernet
  • Network - Wireless Mesh
  • Network - SAN
  • Network - SNA
  • Network - Cisco Architecture
  • Network - Vlan
  • Network - FDDI
  • Network - 100VG-Any
  • Network - EPON
  • Network - ISDN
  • Network - ARCNet
  • Network - Passive Optical
  • Networking Reference Models

  • Models - TCP/IP
  • Models - OSI
  • Models - MAC Layer
  • Models - Network Layer
  • Models - MAC Layer Functions
  • Models - TCP/IP Vs OSI
  • Models - CSMA
  • Models - CSMA/CD
  • Models - CSMA/CA
  • Models - CDMA
  • Models - STDM
  • Models - FDMA
  • Models - TDMA
  • Models - SDH
  • Models - CDM
  • Models - Multiplexing
  • Models - Reference
  • Models - Random Access Methods
  • Models - TCP/IP Architecture
  • Models - FDM
  • Models - IP Header
  • Models - OTN
  • Models - Amplitude Levels
  • Models - MIMO
  • Models - Plesiochronous Media
  • Models - Half Duplex
  • Models - ISO Architecture
  • Models - Data-Link Layer
  • Models - WDM
  • Models - Duplex
  • Models - Ethernet FDSE
  • Networking Switching Techniques

  • Switching - Home
  • Switching - Techniques
  • Switching - Packet
  • Switching - Circuit
  • Switching - Message
  • Switching - Packet Vs virtual Circuit
  • Switching - Cell
  • Switching - ATM Cell Structure
  • Switching - Virtual Circuit Vs Datagram
  • Switching - Time Space
  • Switching - Modulation
  • Switching - Cell Relay
  • Switching - ATM Structure
  • Switching - VC Vs PVC
  • Switching - Packet and Circuit
  • Switching - VPC
  • Switching - IP
  • Switching - Logical Channels
  • Switching - TDM
  • Switching - FDM
  • Network Codes

  • Codes - CRC
  • Codes - Error Correction and Detection
  • Codes - Hamming
  • Codes - Piggybacking
  • Codes - Encoding Techniques
  • Codes - Error Control
  • Codes - Parity Check
  • Codes - Parity bit
  • Codes - Bit Error
  • Codes - CRC
  • Codes - Transmission Errors
  • Codes - Error Detection and Correction
  • Network Communication

  • Communication - Home
  • Communication - Satellite
  • Communication - Wireless
  • Communication - Data Type
  • Communication - Congestion Control
  • Communication - Network
  • Communication - Data
  • Communication - Software
  • Communication - Layering Process
  • Networking Signaling

  • Signal - Analog
  • Signal - Digital
  • Signal - Analog Vs Digital
  • Signal - Digitization
  • Network Security

  • Security - Home
  • Security - Requirements
  • Security - Threats
  • Security - Services

Other Links

  • Networking - PDF Version

Footer

Basic Course

  • Computer Fundamental
  • Computer Networking
  • Operating System
  • Database System
  • Computer Graphics
  • Management System
  • Software Engineering
  • Digital Electronics
  • Electronic Commerce
  • Compiler Design
  • Troubleshooting

Programming

  • Java Programming
  • Structured Query (SQL)
  • C Programming
  • C++ Programming
  • Visual Basic
  • Data Structures
  • Struts 2
  • Java Servlet
  • C# Programming
  • Basic Terms
  • Interviews

World Wide Web

  • Internet
  • Java Script
  • HTML Language
  • Cascading Style Sheet
  • Java Server Pages
  • Wordpress
  • PHP
  • Python Tutorial
  • AngularJS
  • Troubleshooting

 About Us |  Contact Us |  FAQ

Dinesh Thakur is a Technology Columinist and founder of Computer Notes.

Copyright © 2025. All Rights Reserved.

APPLY FOR ONLINE JOB IN BIGGEST CRYPTO COMPANIES
APPLY NOW