Networking Basics: Carlo Fonda
Networking Basics: Carlo Fonda
Carlo Fonda
cfonda@ictp.it
Marco Zennaro
mzennaro@ictp.it
Copyright
This lecture notes are released under the
Creative Common license:
Attribution-NonCommercial-ShareAlike 2.0
You are free:
to copy, distribute, display, and
perform the work
to make derivative works
Under the following conditions:
Attribution.
You must give the original author credit.
Noncommercial.
You may not use this work for commercial purposes.
Share Alike.
If you alter, transform, or build upon this work, you
may distribute the resulting work only under a
license identical to this one.
http://creativecommons.org/licenses/by-nc-sa/2.0/
Agenda
Why a network?
Standardisation
Theory: the OSI Model
Reality: the Internet
Network classification
Agenda
Media and Hardware
Internet Addressing
Subnets
Domain Names System
Host configuration
Why a computer
network?
Distribute pieces of computation
among computers (nodes)
Personal communications
(em@il, chat, audio/video
conference, messaging)
Typical values:
Local Ethernet: 0.2–1 msec
Wireless link: 1.5–3 msec
Long distance (many hops): 10–100 msec
Intercontinental/Satellite: 100–500 msec
Multiple Satellite hops: 500–1500 msec
Measuring the “speed”
Data transfer rate
It’s the speed at which data can be
transferred between sender and receiver in a
network, once transmission has begun.
bit/sec (bps)
bytes/sec (Bps)
Typical values:
100baseT Ethernet: 100 Mbps
10base2, 10base5 and 10baseT Ethernet: 10 Mbps
Wireless 802.11: 1–54 Mbps
Telephone modem: 56 Kbps
Packet Radio AX25: 1200–19200 bps
Measuring the “speed”
Message transfer time
= latency + (length of message) / (Data transfer rate)
Networks can be
divided into three
types based on
geographical areas
covered:
LANs
MANs
WANs
Network dimension
LAN
Local Area Network.
Typically it connects
computers in a single
building or campus.
E.g. Ethernet, WiFi
(WLAN).
Network dimension
MAN
Metropolitan Area
Network.
It covers towns and
cities (50 km).
Optical fibers,
microwave links,
often operated by
Telecoms.
Network dimension
WAN
Wide Area Network.
It covers large
distances (regions,
countries, continents).
Satellites, optical
fibers, microwave
links. Very expensive.
Topology
Networks may be
structured according
to various topologies:
fully connected
partially connected
Topology
Star
Used in the past, with many terminals connected to
one server
Bus
The bus is a shared media
Topology
More realistic and
complex network are
usually structured as
Tree
Hierarchical structure with many
branches
Mesh
A mixture of all previous kinds of
topology
Which medium?
There are four principal media for
network communications:
Coaxial cable (now obsolete)
Twisted pair cable
Optical fiber
Wireless
Network hardware
Network Interface
Card, or Network
Adapter.
It interfaces a
computer board with
the network medium.
Repeater
It’s a two-ports
electronic device that
just repeats what
receives from one
port to the other.
A multi-port repeater
is called hub.