Documente Academic
Documente Profesional
Documente Cultură
Networks
Networks have traditionally been classified as:
Telecommunication (the sort of network BT, NTL
and similar operate) either fixed or mobile. Originally
for voice, data as a retrofit.
Broadcast (e.g. terrestrial, cable and satellite TV and
broadcast audio) how you (traditionally) get TV and
radio.
Data: used to carry data exclusively
Internet: a heterogeneous network of networks that
uses the Internet Protocol to send data.
Made of parts of many types
Convergence
Application Software
Socket - portal into/out of communication
software
TCP/IP stack (part of operating system)
Driver software (manages hardware and
interfaces OS to hardware)
NIC firmware (typ. layer 2) and hardware (typ.
layer 1)
Network
Interface card
RG '12
There are also plenty of examples of non-IP point-topoint communications: Serial, USB, firewire, HDMI.
So not everything has IP addresses or implements the
TCP/IP protocol stack.for now.
Networks Summary
Communications Technology
Logical IP address
To send packets across networks and routers an
(layer 3) address is required.
In TCP/IP this is an Internet Protocol (IP) address.
In IP version 4 (most devices today), this is a 32 bit
number usually written in dotted decimal notation.
e.g. 152.71.0.66
Each number from
0-255
What this actually means is:
1001100001000111000000000100010
Practice
A network has ID 152.68.192.0 mask
255.255.224.0:
Define a host ID on the network
Define the broadcast address
Write in /x notation
Client-Server Paradigm
Client
App
Server
App
initiates
contact
waits for
contact
Unique
on
Network
IP address
Port Number
Routing
A router connects two (or more) networks.
The networks have distinct network IDs.
Routing decisions are based on the content of the
routing table
The routing table may be filled manually or through exchange
of routing protocol messages
Any IP enabled device will have a routing table.
RG '12
Networks Summary
Communications Technology
More specifically
Network
Interfaces
Protocols
This has advantage that it allows the location of the host IP address
to change whilst keeping the same domain name (just have to
update the DNS entry). Especially important when the domain name
is used for marketing purposes and becomes part of a brand.
Protocol
www browsing
HTTP
SMTP
XMPP
Video streaming
RTP
RG '12
Networks Summary
Layers
Each layer appears to communicate with its opposite
(peer) with its own format and rules (protocol).
Achieved by passing/receiving messages to layer above
and below.
Lower layers offer services to layers above.
Note that we can change a layers protocol without
changing other layers provided layer interfaces are the
same.
Most common layering is TCP/IP:
Application, Transport, Network, Network Access
Communications Technology
Layered Communications
Top Layer Protocol
Top Layer
TLH
Middle
Layer
Service
MLH
Bottom
Layer
BLH
MLH
Indentical Messages
Data
Data
Service
Connections
Top Layer
Data
TLH
Middle
Layer
TLH
MLH
Data
Data
TLH
Data
Bottom
Layer
TLH
Data
BLH
MLH
TLH
Data
Connection
Establishment
Connection OK
Connection request
#x Data
Data
Server
#y
Ive finished
Node 2
Node 1
Connection Establishment
Data transfer
Connection Termination
Client
OK
Ive finished too
OK
I havent
received
#2 Ill ask
for it to be
resent
Reliable TCP
Connection
Termination
TCP
segment
#1 Data
#2 Data
#3 Data
Resend #2
Client
#2 Data
Server
RG '12
Networks Summary
Communications Technology
TCP
UDP
Connection-Oriented
Yes
No
Yes
No
Yes
No
Yes
No
Yes
No
Yes
Yes
Flow control
Increase or decrease rate of data delivery depending on
congestion
Summary
Networks converging to all IP based.
Reminder of basic principles of IP
networks.
Existing protocols (TCP/IP, UDP/IP) can
pose difficulties for real-time and high
bandwidth messages (VoIP, video).
RG '12
Networks Summary