04 Commutation - FR
04 Commutation - FR
Page 3 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Objectives
Objectifs
A l'issue de ce cours, vous serez capable de :
Décrire le processus de commutation.
Identifier les types de commutation : circuit (paquet), message et datagramme
Décrire le principe de fonctionnement du protocole TCP.
Décrire le principe de fonctionnement du protocole IP ou du routage IP
Décrire le principe de fonctionnement du protocole ARP et RARP.
Comprendre les protocoles standards communs.
Page 4 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. Types de commutation
3. Mécanismes TCP
Page 5 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Common Protocol Standardization Organizations
Internet Engineering Task Force (IETF)
IETF is a voluntary organization responsible for developing and promoting Internet protocols (especially protocols
that constitute the TCP/IP protocol suite), and releasing new or replacing old protocol standards through RFCs.
Page 6 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
Application Layer
• The application layer provides interfaces for application software so that applications can use network
services. The application layer protocol designates transport layer protocols and ports.
• PDUs transmitted at the network layer are called data.
Page 7 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
Transport Layer
A transport layer protocol receives data from an application layer protocol, encapsulates the data
with the corresponding transport layer protocol header, and helps establish an end-to-end (port-
to-port) connection.
PDUs transmitted at the transport layer are called segments.
Application
Layer Transport layer protocols:
Transport TCP: a connection-oriented reliable
Layer protocol defined by IETF in RFC 793.
(Segment) UDP: a simple connectionless
protocol defined by IETF in RFC 768.
Network Layer
Data Link
Layer
Physical Layer
Page 8 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Protocoles TCP/IP communs
The TCP/IP protocol stack defines a series of standard protocols.
Page 9 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
TCP port 1024 TCP port 1231 TCP port 80 TCP port 23
House number: 1.1.1.1 (IP address) House number: 2.2.2.2 (IP address)
Network
• Generally, the source port used by a client is randomly allocated, and the destination port is specified by the application
of a server.
• The system generally selects a source port number that is greater than 1023 and is not being used.
• The destination port number is the listening port of the application (service) enabled on the server. For example, the
default port number for HTTP is 80.
Page 12 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
Seq=b Ack=a+1
Source = 2.2.2.2
(Flags: SYN is set, and ACK
Destination=1.1.1.1
is set.)
Page 13 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
TCP uses the Sequence Number and Acknowledgment Number fields to implement
reliable and ordered data transmission.
PC1 PC2
1.1.1.1:1024 2.2.2.2:23
1 A TCP connection is
2
3 established.
4
5
6 … IP header TCP header
… Source = 1.1.1.1 Payload
Seq=a+1
Destination = 2.2.2.2 Ack=0 Length = 12 bytes
Page 14 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
PC1 PC2
Data to be sent
2 seq=101 win=3
Page 15 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
Page 16 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
Network Layer
The transport layer is responsible for establishing connections between processes on hosts, and
the network layer is responsible for transmitting data from one host to another.
PDUs transmitted at the network layer are called packets.
Application
Layer
Transport Layer
• The network layer is also called the Internet layer.
Network It sends packets from source hosts to destination
Layer hosts.
(Packet) • Functions of the network layer:
Provides logical addresses for network devices.
Data Link Layer Routes and forwards data packets.
Common network layer protocols include IPv4,
IPv6, ICMP, and IGMP.
Physical Layer
Page 17 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
PC1 G0/0/1
PC2
The PC encapsulates the IP header
(envelope).
The key information is about source and
destination IP addresses. Network A
Routing table of Router 1 • The network layer header of a packet sent by a source
device carries the network layer addresses of the
Outbound source and destination devices.
Network
Interface • Each network device (such as a router) that has the
routing function maintains a routing table (like a map of
Network A G0/0/1 the network device).
Envelope: IP packet header • After receiving a packet, the network device reads the
Sender: source IP address … … network layer destination address of the packet,
Receiver: destination IP address searches the routing table for the matching entry of the
destination address, and forwards the packet according
… …
to the instruction of the matching entry.
Page 18 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
Application
Layer
Transport
Layer The data link layer is located between the network layer and
Network Layer the physical layer.
• The data link layer provides intra-segment
Data Link communication for the network layer.
Layer • The functions of the data link layer include framing,
(Frame) physical addressing, and error control.
• Common data link layer protocols include Ethernet,
Physical Layer PPPoE, and PPP.
Page 19 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
Network A
Host C Host D • A media access control (MAC) address uniquely identifies a
• Ethernet is a broadcast multiple access protocol that NIC on a network. Each NIC requires and has a unique
works at the data link layer protocol. MAC address.
• The network interfaces of PCs comply with the Ethernet • MAC addresses are used to locate specific physical devices
standard. in an IP network segment.
• Generally, a broadcast domain corresponds to an IP • A device that works at the data link layer, such as an
network segment. Ethernet switch, maintains a MAC address table to guide
data frame forwarding.
Page 20 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
ARP
Address Resolution Protocol (ARP):
Discovers the MAC address associated with a given IP address.
ARP request
Destination IP address: 192.168.1.2
Destination MAC address: ?
Host A Host B
192.168.1.1/24 192.168.1.2/24
3C-52-82-49-7E-9D ARP reply 48-A4-72-1C-8F-4F
Source IP address: 192.168.1.2
Source MAC address: 48-A4-72-1C-8F-4F
Page 21 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
Page 22 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
Page 23 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
Page 24 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
Page 25 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
Page 26 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
Physical Layer
After data arrives at the physical layer, the physical layer converts a digital signal into an optical signal, an
electrical signal, or an electromagnetic wave signal based on the physical media.
PDUs transmitted at the physical layer are called bitstreams.
Application
Layer
Transport
Layer
Network
Layer The physical layer is at the bottom of the model.
• This layer transmits bitstreams on media.
Data Link • It standardizes physical features such as cables, pins,
Layer voltages, and interfaces.
• Common transmission media include twisted pairs, optical
Physical
fibers, and electromagnetic waves.
Layer
(Bitstream)
Page 27 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Application Transport Network Data Link Physical
Layer Layer Layer Layer Layer
Data transmission through twisted pairs Data transmission through optical fibers
1 2
3 4
Synchronous/asynchronous
serial cable: V.24 on the left
and V.35 on the right PAD Mobile phone Laptop Wireless router
Page 28 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Summary
Both the OSI reference model and the TCP/IP reference model adopt the layered
design concept.
Clear division of functions and boundaries between layers facilitates the development,
design, and troubleshooting of each component.
Page 29 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Quiz
1. What are the benefits of the layered model?
2. What are the common protocols at the application layer, transport layer, network layer, and
data link layer?
Page 30 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.
Thank You
www.huawei.com
Page 31 Copyright © 2020 Huawei Technologies Co., Ltd. All rights reserved.