Curs 1
Curs 1
Introduction to NETWORKING
• computer network = the infrastructure that allows two or more hosts to
communicate with each other.
• set of rules - communication protocols, observed by all hosts
communicating through the network
• Why??? communication protocol
=> different computers from different vendors and with different operating
characteristics are able to “speak the same language”.
COMMUNICATION NETWORKS
AND TRENDS
• Communications networks - used to transport information (data)
exchanged between end-systems,
• goal: support a variety of services and applications.
• Networks were initially designed and optimized for a specific service:
• the telephone network for the voice service,
• the broadcast networks for radio and TV programmes distribution,
• computer networks for exchanging data among computers and to
support applications such as files transfer, e-mails, etc.
Integrated Services Digital
Network (ISDN).
• The concept of service integration in public networks started with ISDN
• was developed to replace the public telecommunications system
• supported a wide variety of services by using both circuit switching and packet switching techniques
• Broadband Integrated Services Digital Network (BISDN) permitted also transmission of video, broadband signals
• BISDN = advanced digital system
• BISDN offered support for a lot of services :
• video conferencing,
• video-on-demand,
• e-business,
• high definition television (HDTV),
• multimedia communications (e.g. telemedicine and e-learning),
• personal communications services.
COMMUNICATION NETWORKS
AND TRENDS
• Alexander Graham Bell (1876) proved that voice can be transmitted to
distance through copper cable.
• Communications have had a spectacular evolution.
• Nowadays, the global communications network provides a continuously
growing number of services in many different areas of our life.
• Telecommunications technology - evolved from circuit switching
(traditional telephony) to fast packet switching, from copper wires to
optical fiber links, satellites, and mobile communications.
A brief history of
communications
• 1896: Marconi marked the beginning of wireless communications
history with the first wireless telegraph system.
• 1927: the first commercial radiotelephone service was operated
between Great Britain and the USA.
• 1946: the first car-based mobile telephone was set up in St. Louis; it
used a “push-to-talk” technology.
• 1962: the first communication satellite (Telstar) was launched, but it
could handle only 240 voice circuits.
• 1973: the Internet and Transmission Control Protocol (TCP) were
developed by Vinton Cerf, as part of a project sponsored by the
United States Department of Defense Advanced Research Projects
Agency.
• 1988: the Integrated Services Digital Network (ISDN),
the first network to support both voice and non-voice
applications was defined;
• 1988: the first technical papers on Broadband Integrated
Services Digital Network (BISDN) appeared;
• The designated technology for B-ISDN: Asynchronous
Transfer Mode (ATM) -> supports both synchronous
voice and asynchronous data services.
• Around the ‘90s: ATM - the technology of the future, but
the ATM and B-ISDN vision had been overtaken by the
Internet.
• The Internet began as a computer network (ARPAnet)
that linked several universities and research laboratories
in the US.
• 1989: World Wide Web (www) for the European Organization for
Nuclear Research (CERN); developed by the English computer scientist
Timothy Berners-Lee.
• 1990: the number of mobile cellular users already exceeded 11
millions.
• 2002: the number of cellular phones exceeded the fixed ones.
• The first mobile communication service: the voice call, enabled by
cellular systems designed and optimized for this service.
• Mobile services have grown significantly in the recent years.
• 2008: more than 30% of mobile business depended on non-voice
services (e.g. IPmultimedia services); these services - offered by 3G
systems defined by International Telecommunication Union (ITU).
• New generation 3G-4G mobile phones have access to Internet and
have cameras.
• 5G is the 5th generation of cellular mobile communications; includes
high data rate, reduced latency, energy saving, cost reduction, higher
system capacity and massive device connectivity;
INTERNET AND MOBILE
COMMUNICATIONS
• The Internet - designed for carrying data traffic (on a best effort basis)
• has become the universal infrastructure for carrying any type of traffic,
such as VoIP, video streaming, etc.
• Mobile communications - four generations of mobile communication:
• 1G (~1980) - based on analog transmission.
• 2G (1990S) - intoduced the digital transmission on the radio link
• 3G (early 2000) – fast wireless internet access
• 4G (~2008) - LTE
1G
• The main technologies:
• Advanced Mobile Phone System (AMPS) developed within North America
and Australia
• Nordic Mobile Telephony (NMT) developed by the public-telephone-
network operators of the Nordic countries, Russia, East Europe etc
• Total Access Communication System (TACS) used in the United Kingdom,
Portugal, South Africa etc.
• Mobile-communication systems based on 1G were limited to voice services
• For the first time -> mobile telephony accessible to ordinary people.
2G
• The target service was still the voice,
• The use of digital transmission allowed for 2G systems to also provide limited data services.
• Several 2G technologies:
• Global System for Mobile communication (GSM) - developed by a large number of countries in Europe,
• Digital AMPS (D-AMPS), Personal Digital Cellular (PDC) - developed and only used in Japan
• CDMA-based IS-95 technology.
• GSM spread to other countries of the world and dominated the 2G technologies.
• GSM success -> the 2G systems turned mobile telephony from something being used by a relatively small fraction of
people to a necessary communication tool!
• Today: many places in the world -> GSM is still dominating,
• Some places -> the only available mobile communication technology.
3G
• Marked the true step to high-quality mobile broadband,
• Enables fast wireless internet access.
• This was especially enabled by the 3G evolution known as High Speed Packet Access
(HSPA).
• Earlier mobile-communication technologies operate in paired spectrum (separate
spectrum for network-to -device and device-to-network links) based on the Frequency-
Division Duplex (FDD).
• 3G operates in unpaired spectrum based on the Time Division Synchronous Code
Division Multiple Access (TD-SCDMA) technology based on Time Division Duplex (TDD).
4G - LTE technology
• Provides higher efficiency and enhanced mobile-broadband experience - higher achievable end-user data rates.
• This is provided by means of Orthogonal frequency-division multiplexing (OFDM) based transmission enabling wider transmission
bandwidths and more advanced multi-antenna technologies.
• The objectives of 4G systems are to offer:
• new services,
• compatibility between different systems,
• 10x greater capacity than the 3G systems,
• 1/10 - 1/100 from the current cost per bit, r
• eal time processing,
• multimedia interactive services,
• less tolerance to errors and delays (smaller than 50 ms).
• LTE supports both FDD and TDD operation - operation in both paired and unpaired spectra, within one common radio-access
technology.
5G
• Discussions on fifth-generation (5G) mobile communication began around 2012.
• In the context of 5G, one is often talking about three distinctive classes of use cases:
• enhanced mobile broadband (eMBB), enabling even larger data volumes and
further enhanced user experience, e.g. by supporting even higher end-user data
rates,
• massive machine-type communication (mMTC), corresponding to services that are
characterized by a massive number of devices, e.g, remote sensors, actuators, and
monitoring of various equipment and ultra-reliable
• low-latency communication (URLLC), envisioned to require very low latency and
extremely high reliability.
Characteristics of modern communications
networks and trends
• communications networks have to deal with some problems:
• a huge and variable number of users that use thousands of communications nodes;
• different sources with different data rates - initially oriented to improve vocal services,
communications have evolved towards multimedia services; multimedia
communications represent most of the traffic, needing a large bandwidth for
transmissions;
• Hub: a simple network device that connects multiple Ethernet segments, so that they act as a
single segment;
• Modem: is a device that converts digital signal into analog signals and vice versa, modulates-
demodulates, allowing data to be transmitted over voice grade telephone lines (Public switched
telephone network - PSTN);
• Repeater: regenerates and propagates electrical signals between two network segments;
• Bridge: connects two Local Area Networks (LANs) that use identical LAN protocols;
• Switch: is a very fast bridge;
• Router: is used to connect two networks that may or may not be similar; it employs an internet
protocol present in each router and each host of the network; it forwards packets from one host
to another based on metrics that allow the use of an optimum path;
• Gateway: is a special-purpose device that converts information from one protocol stack to
another.
Network Types
• Networks may be divided into various categories taking into account 4 criteria:
2. Access restrictions;
has the physical distance between the hosts within a few kilometers;
Local area network (LAN): LANs are suitable for networking within a building or a campus area;
e.g. Ethernet (IEEE 802.3), Wi-Fi (IEEE 802.11), Token rings, Apple-talk.
• private networks:
• networks for the private use of an enterprise or a firm, which
authorizes communications only between its users, and no one else.
point-to-point model:
1 2
circuit switching packet switching
Circuit switching
• first a path is established between the source host and the destination;
• data is sent along the path between source and destination via intermediate nodes, as a
continuous stream of bits;
• the capacity is fixed during conversation and, after conversation, the connection is released.
• circuit switching was the primary technology for voice telephone, video telephone and video
conferencing.
• the telephone networks, the cellular networks and ISDN use this technique of transmission.
Circuit switching
• advantages:
• fixed delays
• guaranteed continuous delivery of transmissions.
• disadvantages:
• it requires a call set-up, during which resources cannot be used;
• it requires a fixed rate stream (e.g., 64 Kbps);
• difficulties in supporting variable data rates;
• if all the capacity is used, the calls are blocked;
• inefficiency of transmission for bursty traffic.
Packet switching
• the data is divided into packets.
• packets are indexed and sent one by one.
• each node verifies the destination address and optimally routes it through the network.
• different packets may follow different routes consequently and they may arrive out of order at the destination.
• advantages:
• the efficiency of bursty data transmission
• the ease of bandwidth allocation on demand, with variable data rates.
• examples: ATM (packets are called cells), VoIP, and Internet.
• disadvantages :
• variable delays;
• difficulty in providing a QoS (they offer a best-effort service);
• packets can arrive out-of-order.
Connection-oriented protocols
Connectio
managed, and terminated.
• The process is very simple:
• a device sends a request to open a connection and the
ns other device responds.
• the devices pass control information to determine if
between and how the connection should be set up.
• if it is successful, the data is sent between the two
devices devices
• when they are finished, the connection is broken.
Connectionless protocols
• is involved with the raw data bits transmission over the physical
medium;
• it defines the electrical, mechanical, procedural and functional
specifications for activating, maintaining and deactivating the
physical link between communicating network systems;
• defines characteristics such as voltage levels, timing of voltage
changes, physical data rates, maximum transmission distances,
and physical connectors.
The data link layer
• deals with the secure transfer of data provided by the previous layer
over the communication channel;
• at this level, the data is divided into data frames which are sequentially
transmitted over the channel;
• it performs a transmission error checking by requiring
acknowledgments from the destination.
The network layer
• isolates the upper three layers of the network, so that any changes in
the network equipment technology is restricted to the lower three
layers.
TCP/IP communication and routes the data between source and destination.
• he primary protocol in this layer is the Internet Protocol (IP);
model • the User Datagram Protocol (UDP) - performs no end-to-end reliability checks,
but is faster;
• Data encapsulation:
• the entire contents of the higher-layer message are encapsulated as the data payload of the message at the lower layer.
• each protocol creates a protocol data unit (PDU) for transmission, that includes headers required by that protocol and
data to be transmitted.
• this data becomes the service data unit (SDU) of the next layer below it.
• The communication between devices on a packet-switched network is based on pieces of information, generally called
messages.
• Other names used for messages: packets, datagrams, frames etc. often correspond to protocols at a particular layer of the OSI
model.
Protocol Data Unit (PDU)
• represent the term used in the OSI model to describe protocol messages.
• PDU = a unit of data with headers and trailers for the particular layer, as well as the encapsulated
data.
• OSI model - 7 layers => PDUs are numbered from 1 to 7, with the Physical layer being the first
one.
• A PDU at a particular layer is a message sent between protocols at that particular layer.
• Each layer in the model uses the PDU to communicate and exchange information, which can only
be read by the peer layer on the receiving device and is then handed over to next upper layer
after stripping.
• Each PDU has a specific format that implements the features and requirements of the protocol.
• Physical layer: raw bits, ones and zeros,
transmitted physically via the hardware.
• Data Link layer: a frame or series of bits.
• Network layer: a packet that contains the
source and destination address.
PDUs at • Transport layer: a segment that includes a TCP
different header and data.
• Session layer: the data passed to the network
layers connection.
• Presentation layer: the data formatted for
presentation.
• Application layer: the data received or
transmitted by a software application.
PDUs at different layers
• packet = a message sent by protocols operating at the network layer of the OSI model.
• people actually refer to IP packets.
• Packet is often used to refer generically to any type of message.
• datagram = related to a message that is sent at a higher level of the OSI model.
• frames = most commonly associated with messages that travel at low levels of the OSI model,
• frames are mostly used to refer to data link layer messages and occasionally used in reference to physical layer
messages, when message formatting is performed by a layer 1 technology.
• a frame is created by taking higher-level packets/datagrams and “framing” them with additional header information
needed at a lower level.
• frames and packets can have a variable length, depending on their contents.
• cell =a message that has a fixed size and is usually used by technologies operating at the lower layers of the OSI
model.
• segment = the data at the Transport layer.
• payload of the message = the actual data to be transmitted.
Standards organizations
• The International Standards Organization (ISO)
• voluntary organization active in science and technology
• American National Standards Institute (ANSI)
• member of ISO
• has developed the Fiber Distributed Data Interface (FDDI) standard.
• International Telecommunication Union Telecommunication Standardization Sector (ITU-T)
• standards for the telecommunication area.
• ITU-T has developed X.25 and other communications standards.
• The Institute of Electrical and Electronic Engineers (IEEE)
• US organization with members all over the world, involved in many electric and electronic-related areas
• has developed the widely used LAN standards IEEE 802.3 and IEEE 802.5
• The European Computer Manufacturers Association (ECMA)
• computer engineering and related technologies
• Internet Activities Board (IAB)
• internetwork researchers who discuss pertinent issues regarding the Internet and set Internet policies
• It designates some Request For Comments (RFC) documents as Internet standards
• Standards: TCP/IP and SNMP
3GPP (3rd Generation
Partnership Program)
• has published the following specifications:
ng
• an efficient alternative of the synchronous TDM;
• is a more flexible version of TDM and it is used to increase
the overall data rate;
• is facilitated through packet oriented communication;
• uses a time slot that has a variable length;
• time slots allocation is performed dynamically and on
demand, in order to separate input channels and thus, to
save the capacity of the channel
Code Division Multiplexing (CDM)