Network Layer Routing & Transport Layer Flashcards
goal of the network layer
deliver a datagram from its source to its
destination
the way a packet is delivered to the next station
Forwarding
process of selecting a path for traffic in a network or across multiple
networks
Routing
if a datagram is destined for only one destination
Unicast Routing
if a datagram is destined for several destinations
Multicast Routing
A packet is routed, hop by hop, from its source to its destination by the help of
forwarding tables
The source router chooses a route to the destination router in such a way that the total cost for the route is the least cost among all possible routes
Least Cost Routing
Routing Algorithms
Distance-Vector Routing
Link-State Routing
Path-Vector Routing
Each node maintains a vector (table) of minimum distances to every node
Distance-Vector Routing
This method uses the term link-state to define the characteristic of a link (edge) that
represents a network in the internet
Link-State Routing
The collection of states for all links is called the
link-state database (LSDB)
To create a least-cost tree, each node needs a complete map of the network (using
Dijkstra’s Algorithm)
The best path is determined by the source using the policy it imposes on the route, i.e.
the source controls the path
Path-Vector Routing
In Path-Vector Routing, the path is also determined by the
best spanning tree.
responsible for the delivery of a message from one process
to another
transport layer
An application program on the local host,
client,
an application program on the remote host (provides services)
server
16-bit integers between 0 and 65,535
Port Number
Client program defines itself with a port number chosen randomly by the transport layer software running in the client host
(ephemeral port number),
Servers use universal port numbers
(well-known port number)
Well-known ports ranging from
0 to 1023
Well-known ports are assigned and controlled
by the (ICANN)
Internet Corporation for Assigned Names and Numbers
Registered ports – ports ranging from:
They can only be registered to prevent duplication. (not assigned by ICANN)
1024 to 49,151
ports ranging from 49,152 to 65,535 and are neither controlled nor registered. They can be used by any process
Dynamic (or private) ports