ANS 1 ProtocolsAndArchitectures 2223
ANS 1 ProtocolsAndArchitectures 2223
Protocols and
Architectures
Advanced Networks and Security
2021/22
1. Protocols and Architectures
• Learning objectives
• Remember how the layer mechanism used in
the data communication protocols works.
• Remember the use of the different layers of the
communication model for the interconnection
of devices with internal and external networks.
[http://www.steves-internet-guide.com/internet-protocol-suite-
explained/]
R. Martí - 2021/22 14
TCP/IP: services and layers
7. Application
• HTTP, SMTP, POP3, IMAPv4, DNS, FTP, etc.
4. Transport
• TCP (reliable, connection), UDP (unreliable, connectionless), RTP (7?), SCTP
3. Network
• For TCP/IP, here goes the Internet Protocol (IP)
• Can also be considered part of the network layer protocols
• Mandatory such as ICMP and IGMP, which are on top of IP
• routing protocols as OSPF, which are on top IP
• routing protocols as BGP and RIP, which for various reasons go on top TCP and UDP respectively
2. Data Link
• LLC, MAC ["Ethernet", 802.11 Wi-Fi, Token ring, ...], ATM, PPP, etc.
• ARP goes on top of the link layer, but can be considered within this layer.
1. Physical
• Physical medium, and coding techniques, T1, E1, ADLS, etc.
• Data link protocols sometimes include physical layer specifications (Ethernet, 802.11 Wi-Fi,
...)
Datagram
Frame
D. Link. (Phys.@...) Netw. (Netw.@...) Trans. (SAP…) Operation Id, data ...
Datagram
Frame
• Routers
• Routers are special computers/devices allowing the
interconnection of different physical networks.
Advanced Networks and
Security - 2021/22 21
TCP/IP Architecture
• Routers use networks, and do not care about computers.
• From the user’s point of view this is totally transparent:
• User does not need to know the inside of the networks.
• All networks are treated in the same way (LANs, WANs,
point-to-point links, ...).
Routers
Switches Have Three
Source and Layers
Have Two
Destination ---
Layers
Hosts Have Each Router
---
5 Layers Port
Each Switch
App Port Has Two
Trans Has One Layers
Int Layer
DL
Phy
Source Switch 1 Switch 2 Router 1 Switch 3 Router 2 Destination
Host Host
Internet Protocol
Int
DL
Phy
Sometimes it amazes me
that routers work at Layer 3
when switches very will could do
the job at simply Layer 2