Chap2 - Course2
Chap2 - Course2
– Course 2 –
Chapter 2 : TCP/IP addressing and routing (2/2)
Introduction
– Course 2 –
Chapter 2 : TCP/IP addressing and routing (2/2)
Introduction
Objectives
Presentation of routing in IP networks,
Introduction of some dynamic routing strategies and their
metrics,
Introduction to the RIP routing protocol.
Data Routing
Data Routing
Routing Definition
Routing Table
Routing Table
An entry in a routing table is usually a route to a specific network.
The basic components of each entry in the routing table are:
1 Destination address: this refers to the IP address of the
destination network.
2 Subnet mask/Netmask: It’s used to map the destination
the destination.
5 Metric: this assigns a value to each route to ensure that
Routing problem
Types de Routage
Static,
each table is constructed using shortest path calculation
algorithms between two nodes a weighted graph representing
the network (Ex. Dijkstra’s algorithm).
Advantages:
Easy implementation,
Forwarding of packets is guaranteed.
Disadvantages:
Not optimal,
No fault management.
Flooding algorithm
Advantages:
Very robust system,
Shortest path is always found.
Disadvantages:
mechanisms must be implemented to avoid overload of the
network and the loopback.
Adaptive Routing
Routing tables are dynamically modified to adapt to changes
in traffic or network topology.
These modifications vary depending on the metric used
(number of hops, bandwidth,...) and/or
The nature of the source (locally from neighboring routers, or
from all routers).
Advantages:
Path always optimal,
Robust system.
Disadvantages:
No guarantee of packet delivery,
Consumption of bandwidth at the expense of data,
No mechanisms to ensure the consistency of data,
No mechanisms to handle convergence problems.
University Constantine2 © Dr. Nadira Benlahrache 13 / 23
Data Routing
Routing Types
Protocole RIP
– Convergence problem.
Examples:
*Cost: a value that can vary from 1 to 65535 with no particular meaning.
RIP on Linux
1 The command:
Router♯ ip route show
displays an initial routing table.
Conclusion
References
http://technet.microsoft.com/fr-fr/library
http://www.linux-france.org/prj/edu/archinet/systeme