Routing and Packet Transfer Overview
Routing and Packet Transfer Overview
I- Introduction
Systems on a network can generally be divided into two types: hosts and routers.
A host typically has a single network interface and can be the source or the final destination of a
package.
A router has multiple network interfaces and forwards packets from one interface to another so that the
package reaches its destination.
Routing is a task of the network layer (layer 3 of the OSI model) that allows deciding on which
interface of the router a packet must be emitted.
Note:
PCs also have a routing table. Command route print
Each router makes its decision alone, based on the available information.
in its routing table.
2. The fact that a router has certain information in its routing table does not mean
say that the other routers have the same information.
3. The routing information related to a path leading from one network to another does not
do not provide routing information on the reverse or return path. (Principles of
routing by Alex Zinin.
2- Packet transfer
Support for the course Internal and External Routing, NZIALI Yvelor, 2016/2017
Chapter 2 Routing and Packet Forwarding L3 ITRM-ISTAG
Remote network: if the destination IP address of the packet belongs to a remote network, the packet
is transferred to another router. Remote networks can only be reached by
transferring the packets to another router.
No determined route: if the destination IP address of the packet does not belong to any network
not connected to a remote network, and the router does not have a default route, the packet is
abandoned. The router sends an ICMP destination unreachable message to the source IP address
of the package.
In the first two results, the router encapsulates the IP packet in the frame format of
layer 2 data link of the output interface. The layer 2 encapsulation type is
determined by the type of interface. For example, if the output interface is FastEthernet, the packet
is encapsulated in an Ethernet frame. If the output interface is a configured serial interface
For the PPP protocol, the IP packet is encapsulated in a PPP frame.
2.2-Switching function
The switching function is the process used by a router to accept a packet on
a interface and transfer it to another interface. The switching function has the purpose of
main responsibility of encapsulating packets in the data link frame type
suitable for the output data link.
What does a router do with a packet it has received from one network that is destined for another network?
He uncaps the layer 3 packet by removing the header and the footer.
the layer 2 frame.
He examines the destination IP address of the IP packet to find the best path.
in the routing table.
It encapsulates the layer 3 packet in a new layer 2 frame and transfers it.
the frame at the output interface.
Step 5: the Ethernet frame containing the encapsulated IP packet arrives at the PC2
The PC2 examines the destination MAC address, which corresponds to the MAC address of
the receiving interface, its Ethernet network card. PC2 then copies the rest of the frame
in its buffer.
2. The PC2 notes that the indicated Ethernet type is 0x800, which means that the frame
Ethernet contains an IP packet in its data part.
3. The PC2 decapsulates the Ethernet frame and transmits the IP packet to the IP process of its
operating system.
Bibliography
CCNA 640-802 course support version 4
- [Link]