NP EFREI L01i - Efrei
NP EFREI L01i - Efrei
NP EFREI L01i - Efrei
Big Picture
1
Networks and Protocols – EFREI, lecture 1
2
Networks and Protocols – EFREI, lecture 1
Quiz
• OSI model
• TCP
• ICMP
• Routing
• OSPF
• MAC address
• Switch
3
Part I
Introduction
Reference models
Basic terms
A (computer) network
nodes, links, …
4
Networks and Protocols – EFREI, lecture 1
The Internet
5
Networks and Protocols – EFREI, lecture 1
• ARPANET (1969)
• ALOHAnet (1970)
• Internet (1980)
ARPANET
• Interface Message Processor
6
Networks and Protocols – EFREI, lecture 1
ARPANET (1980)
Ethernet (1973)
7
Networks and Protocols – EFREI, lecture 1
Some protocols
• FTP – 1971 (RFC 114)
• DTP – 1971 (RFC 171)
• IP – 1981 (RFC 791)
• TCP – 1981 (RFC 793)
• SMTP – 1982 (RFC 821)
• HTTP – 1991
WWW (1991)
• Tim Berners-Lee (CERN)
8
Networks and Protocols – EFREI, lecture 1
https://www.scaler.com/topics/images/circuit-switching-and-packet_thumbnails.webp
© 2024 Łukasz Czekierda 17 version 2.1
https://www.teachoo.com/16343/3712/Question-12-ii/category/CBSE-
Class-12-Sample-Paper-for-2022-Boards--Term-2----Computer-Science/
9
Networks and Protocols – EFREI, lecture 1
10
Networks and Protocols – EFREI, lecture 1
RFC documents
(Request for Comments)
• Official documents describing network-related
standards
– Publication process supervised by IETF
– Crucial documents of networking professionals
– Numbered, e.g. RFC 3550
• RFC 1 (7.04.1969): Host Software
• RFC 9109 (08.2021): Network Time Protocol Version 4: Port
Randomization
– Sometimes older documents are becoming obsolete
– www.rfc-editor.org or rfc-ref.org
Exercise: Read a few RFC documents
PRESENTATION
Provides communication in
a single network (single
SESSION May be responsible for
technology).
Responsible
Responsible
Responsible for
Responsible
forfor
provisioning
providing
routing.for
a
reliable
Provides
Responsible
delivery
protocols
for(e.g.
session
forTCP).
user
ofproviding
communication
Provides
common media
a logical
dataaccess
medium
TRANSPORT creation
Provides applications.
and
andprotocol
management.
addressing
and
representation.
coding
addressing.
of
inside
host of
stream
HTTP,
theImplemented
host
FTP,(port
telnet,numbers).
bySMTP,…
OS.
Implemented
addressing.
IP,data
IPX,…by OS.
NETWORK TCP, UDP, SCTP, DCCP,…
Ethernet, Token Ring, FDDI,
PPP, FR…
DATA LINK
PHYSICAL
11
Networks and Protocols – EFREI, lecture 1
APPLICATION
APPLICATION PRESENTATION
SESSION
TRANSPORT TRANSPORT
INTERNET NETWORK
DATA LINK
ACCESS
PHYSICAL
12
Networks and Protocols – EFREI, lecture 1
Communication protocol
Set of rules regarding exchange of information:
a) user data, b) control data
with the corresponding layer in another system
13
Networks and Protocols – EFREI, lecture 1
peer-to-peer
APPLICATION APPLICATION
PRESENTATION PRESENTATION
SESSION SESSION
TRANSPORT TRANSPORT
NETWORK NETWORK
PHYSICAL PHYSICAL
14
Networks and Protocols – EFREI, lecture 1
PRESENTATION PRESENTATION
encapsulation
SESSION SESSION
NETWORK NETWORK
transmission medium
DATA LINK DATA LINK
PHYSICAL PHYSICAL
TCP
DATA IP
Ethernet
Encapsulation-decapsulation
• Encapsulation is performed by the sender
• Receiver must know how to interpret payload
part of the PDU
– “Type” field in Ethernet frames
– “Protocol” field in IP datagrams
– “Port number” in UDP datagrams or TCP segments
TCP
DATA IP
Ethernet
15
Networks and Protocols – EFREI, lecture 1
Questions
? Do you understand a concept of the layered
systems?
? Do you understand benefits of using the layered
models?
? Do you know two basic layered models?
? Do you know basic tasks of particular layers?
? Do you understand encapsulation and
decapsulation processes?
16
Networks and Protocols – EFREI, lecture 1
17
Networks and Protocols – EFREI, lecture 1
router 3
switch
2
bridge
hub
1
repeater
Any network
18
Networks and Protocols – EFREI, lecture 1
Transmission modes
• simplex – one-way, always the same way
• half-duplex – two-way, but not at the same time
• full-duplex (duplex) – two way
• Multicast – to a group
https://orhanergun.net/uploads/blog/thumbnail/unicast-vs-multicast-vs-broadcast-vs-anycast.jpeg
© 2024 Łukasz Czekierda 38 version 2.1
19
Networks and Protocols – EFREI, lecture 1
20
Part II
Physical layer (L1)
Data transmission issues
Communication media
Data coding
Physical layer devices
Tasks of L1
21
Issues related to
transmission of signals
• Tactile Internet
22
Networks and Protocols – EFREI, lecture 1
Signal attenuation
Signal attenuation
• Expressed in dB/km
– 10log(P1/P2) [dB]; P1,P2 [W]
– 20log(V1/V2) [dB]; V1,V2 [V]
• For example:
– 3 dB – power decreases 2 times
– 10 dB – power decreases 10 times
– 20 dB – power decreases 100 times
• Examples:
– Twisted pair, cat. 5, 100 MHz: ca 20 dB/100m
– Single mode fiber, 1550 nm: ca 0.5 dB/km
© 2024 Łukasz Czekierda 46 version 2.1
23
Networks and Protocols – EFREI, lecture 1
Signal distortion
Summary
• These factors must be taken into account while
designing the network!
– Appropriate medium type
– Appropriate medium length
– Appropriate cabling quality and placement
• BER, bit error rate
– In wired networks – even only 10-10
– In wireless networks – even up to 10-4
24
Communication media
Communication types
• Wired
– Copper cables
• twisted-pair
• coaxial
– Fiber cables
• Wireless
– Radio frequency (e.g. WiFi 802.11, Bluetooth 802.15)
– Infrared frequency (e.g. IrDA)
25
Networks and Protocols – EFREI, lecture 1
Cables
cable
copper fiber
Twisted pair
26
Networks and Protocols – EFREI, lecture 1
www.cisco.com
27
Networks and Protocols – EFREI, lecture 1
Terminator
www.cisco.com
Twinax
• twinaxial cable
(twin coaxial)
• popular since 2013
• very-short-range, high-
speed differential signaling,
e.g.100GbE (7m)
28
Networks and Protocols – EFREI, lecture 1
Fiber
– Glass conductor (core)
– Cladding
www.cisco.com,
www.fiber-optics.info/fiber-history.htm
Fiber
29
Networks and Protocols – EFREI, lecture 1
Fiber cables
• Single mode (SMF)
– 8-9/125 µm
– Laser diode
– Range: up to 70-100 km
– Mainly WAN networks
• Multimode (MMF)
– 62.5/125 µm
– LED
– range: up to 2 km
– Mainly LAN networks
ww.fiber-optics.info
Fiber – windows
• 850 nm
• 1310 nm
• 1550 nm
(nm)
www.fiber-optics.info/fiber-history.htm
30
Networks and Protocols – EFREI, lecture 1
Data encoding
31
Networks and Protocols – EFREI, lecture 1
Data encoding
• Transformation of data into the form appropriate
to send in particular medium
– Depends on the type of the medium
– Self-synchronization feature (e.g. Manchester coding)
– Not necessarily two-level only (e.g. MLT-3)
32
Networks and Protocols – EFREI, lecture 1
Manchester encoding
• Self-clocking
• Significant overhead better encoding methods
© 2024 Łukasz Czekierda 65 version 2.1
4B/5B codes
value code value code
0 (0000) 11110 8 (1000) 10010
1 (0001) 01001 9 (1001) 10011
2 (0010) 10100 A (1010) 10110
3 (0011) 10101 B (1011) 10111
4 (0100) 01010 C (1100) 11010
5 (0101) 01011 D (1101) 11011
6 (0110) 01110 E (1110) 11100
7 (0111) 01111 F (1111) 11101
33
Networks and Protocols – EFREI, lecture 1
MLT-3 coding
• Logical level: 4B/5B
• Physical level: MLT-3
Ss
10Gbase-T: PAM16,
800Ms/sec.
34
Local computer network
– Layer 1 perspective
Layer 1 elements
• Active:
– Transceiver (transmitter-receiver)
• External
• Integrated with network cards
– Repeater
– Hub (multipoint repeater)
• Passive:
– Cables
– Plugs
– Patch panels
35
Networks and Protocols – EFREI, lecture 1
Structured cabling
• TIA/EIA 569
• “Extended star” topology
• Wiring closets
• Cabling
– Horizontal
• twisted pair, fiber (multimode)
• host-infrastructure connections
• (Wi-Fi)
– Vertical
• twisted-pair, fiber
• intra-infrastructure connections
• Documentation! https://www.aflglobal.com/Services/What-We-Do/Structured-Cabling.aspx
https://www.aci-tn.com/blog.aspx?p=well-designed-structured-cabling
© 2024 Łukasz Czekierda 71 version 2.1
Structured cabling
Source: http://www.luckyjoint.com.sg/ib
36
Networks and Protocols – EFREI, lecture 1
A not-so-simple network
37
THE END
38