Dr. Alexios Louridas
Computer Networks
Forms Of Networks
Forms Of Networks
Personal Area Networks (PAN), any device that communicate over the range of a person.
Local Area Network (LAN) standards for devices in single limited area.
Metropolitan Area Network (MAN) connecting user networks within small geographic areas.
Wide Area Network (WAN) connecting user networks over large geographic areas.
The Internet
Radio Propagation
Dealing with Failures and Errors
Error detection
Error correction
Routing
Congestion
Multiplexing
Quality of Service (QoS)
Some Networks are Scalable!!
Scaling a network
Addressing
Protocol Layering
Internetworking
Confidentiality
Authentication
Integrity
To minimise errors and complexity. Layered architecture with each layer having their protocols and algorithms hidden from other layers.
Each layer has a specific communication language/protocol
Communications between each layer is done via a interface. The interface defines which primitive operations and services the lower layer makes available to the upper one.
At the bottom of all layers a physical layer connects devices together. It is the layer where the true data transmission from one location to another happens
Layers
Distinguishing operations per layer is important to be able to create equipment specific for a layer.
Protocols
Each layer should contain a single protocol. A list of all protocols used in a network architecture is called a protocol stack.
Interfaces
These are not and should not be part of a network architecture
A system has an n-layer protocol hierarchy. Applications generate messages of length M bytes. At each of the layers, an h-byte header is added. What fraction of the network bandwidth is filled with headers?
The total number of header bytes: n * h
The total packet size: n * h + M
Hence, the fraction of each packet used by protocol header is
[n * h / (M + n * h)]
Use n = 7, h=8 and M =56 and M =100
What do you believe is better sending big packets or small packets?
Connection-Oriented Service
Connectionless Service
The amount of information that can flow through a network connection in a given time.
Measured in bits per second (bps)
Throughput is the actual bandwidth at a specific time of day.
Bandwidth Delay Product is measured in bits and it signifies the amount of data that are transferred at anytime in through the network.
A normal person (Danny) can carry a bag with 3 data cartridges each containing 10GB of data and can run at a speed of 18km/hour. For what range of distances does Danny have a higher data rate than a transmission line whose data rate (excluding overhead) is 150Mbps? How does your answer change if (i) Danny’s speed is doubled; (ii) each cartridge capacity is doubled; (iii) the data rate of the transmission line is doubled.
Danny can carry 3 * 10 = 30GB (240Gb)
Speed = 18 km/hour = 0.005 km/sec
Distance: d km
Time: d / 0.005 = 200*d sec
Hence, 240 / (200*d) Gbps or 1200/ d Mbps.
Solve inequality: 1200/d > 150
For d < 8 km, Seb has higher rate than the communication line.
i)If Danny’s speed is doubled, then his data rate will also double. Therefore, the range of distances for which Danny has a higher data rate than the transmission line will also double.
ii) If each cartridge capacity is doubled, then Danny can carry 60 gigabytes of data. Therefore, redoing calculation in the main question you should find that the distance would double.
iii) If the data rate of the transmission line is doubled, then the range of distances for which Danny has a higher data rate than the transmission line will be halved.
Transmission Control Protocol / Internet Protocol
Open System Interconnection.
OSI Reference Model
Application
Presentation
Session
Transport
Network
Data Link
Physical
Application
N/A
N/A
Transport
Network
Link
N/A
Physical Cables to connect network nodes
Wireless connection between network nodes
Data packets in raw form are just digital 1 and 0.
Electromagnetic, Electrical and Optical data transfers.
Serial Lines
Ethernet connection
Creates Connections
Media Access Control (MAC) addressing
Ignored mostly in early TCP/IP
Routing of data
Transporting data from source to destinationInternet Protocols is used in this layer
End to End packet delivery via datagrams or virtual circuits.
Data from a source process to data at a destination process
Error recovery
Retransmission
Two Protocols:
Authentication
Security
Creation of connection
Protocols that work with the client
Image formats
Video formats
This is the layer that most users interact with and will recognise.
Provides network services to the end user:
HTTP
FTP
SMTP
TELNET
Bad timing. It was released too late to change the TCP/IP widespread usage.
OSI 7 layers were more political selected rather than technical. The reason of the session and presentation layer are very thin.
Difficult to implement and probably inefficient.
Services, interfaces and protocols are not easily differentiated. That makes design of expanding new networks very difficult.
It is more described as protocol stack rather than network architecture.
The link layer is used more like an interface between the OSI data link and network layer.
Besides the IP and TCP protocols all others protocols are very loosely defined but because of well spread usage difficult to replace.
ITU
International Telecommunications Union
Committed to connecting all the world’s people.
ITU-R – for radiocommunications
ITU-T – for standardisation.
ITU-D – for development.
ISO
International Standards Organisation
Brings together experts to share knowledge and develop voluntary, consensus-based, market relevant International Standards that support innovation and provide solutions to global challenges.
3GPP
3rd Generation Partnership Project Unites seven telecommunications standard development organizations (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC), to provide a stable environment to produce the Reports and Specifications of mobile broadband standards.
W3C
World Wide Web Consortium To develop Web standards, protocols and guidelines to ensure the steady and long-term growth of the Web.