Académique Documents
Professionnel Documents
Culture Documents
1 Physical
7 Application
6 Presentation
5 Session
4 Transport INTRODUCTION
3 Network
2 Data Link
1 Physical
7 Application NETWORK GOALS
Communications
5 Session Information can be distributed very quickly, such as
email and video conferencing.
4 Transport
Saving Money
Resources such as information, software, and
3 Network hardware can be shared.
1 Physical
7 Application APPLICATIONS
5 Session • Email
• Chat
4 Transport • Web sites
• Sharing of documents and pictures
• Accessing a centralized database of information
3 Network • Mobile workers
2 Data Link
1 Physical
7 Application NETWORK STRUCTURE
Subnet
5 Session Carries messages from host to host. It is made up
of telecommunication lines (i.e. circuits, channels,
4 Transport trunks) and switching elements (i.e. IMPs, routers).
Hosts
3 Network End user machines or computers.
1 Physical
7 Application NETWORK ARCHITECTURES
2 Data Link
1 Physical
7 Application OSI REFERENCE MODEL
5 Session Benefits
• Interconnection of different systems (open)
4 Transport • Not limited to a single vendor solution
Negative Aspect
3 Network
• Systems might be less secure
• Systems might be less stable
2 Data Link
1 Physical
7 Application OSI REFERENCE MODEL
3 Network • Internetworking
• Routing algorithms
• Internet Protocol (IP) addressing
2 Data Link • Routers
1 Physical
7 Application OSI REFERENCE MODEL
Main topics:
4 Transport
• Connection-oriented and connectionless services
• Transmission Control Protocol (TCP)
3 Network • User Datagram Protocol (UDP)
2 Data Link
1 Physical
7 Application OSI REFERENCE MODEL
3 Network d) Synchronization.
2 Data Link
1 Physical
7 Application OSI REFERENCE MODEL
2 Data Link
1 Physical
7 Application OSI REFERENCE MODEL
1 Physical
7 Application SERVICES
1. Terminologies
5 Session
Entities – active elements in each layer (e.g.
process, intelligent I/O chip).
4 Transport Peer Entities – entities in the same layer on
different machines.
3 Network Service Provider – Layer N.
Service User – Layer N + 1.
2 Data Link
Service Access Points – places where layer N + 1
can access services offered by layer N.
1 Physical
7 Application SERVICES
2 Data Link
1 Physical
7 Application SERVICES
Analog Bandwidth
5 Session
• Measurement is in Hertz (Hz) or cycles/sec.
2 Data Link
1 Physical
Hello
7 Application AH Hello
6 Presentation PH AH Hello
5 Session SH PH AH Hello
4 Transport TH SH PH AH Hello
3 Network NH TH SH PH AH Hello
1 Physical Bits
7 Application
6 Presentation
5 Session
2 Data Link
1 Physical
7 Application OVERVIEW
6 Presentation 1. Signals
• Fourier analysis
• Maximum data rate of a channel
5 Session 2. Transmission Media
• Guided and Unguided
4 Transport 3. Analog Transmission
• Modulation
• Modems
3 Network • RS-232, RS-422
4. Digital Transmission
2 Data Link • Encoding schemes
• Repeaters and hubs
5. Transmission and Switching
1 Physical • Multiplexing (FDM and TDM)
• Circuit vs. packet switching
7 Application SIGNALS
6 Presentation Shannon
Maximum data rate (bits/sec) = H log2(1+ PS/PN)
H = line bandwidth
5 Session PS = signal strength in watts
PN = noise strength in watts
4 Transport
Example:
A 3kHz channel with a noise ratio of 30dB
3 Network (PS/PN = 1000) cannot transmit at a rate faster
than 30,000bps
2 Data Link (3k) log2(1001) = 30,000bps
6 Presentation 1. Guided
Data is sent via a wire or optical cable.
5 Session Twisted Pair
Two copper wires are twisted together to reduce
the effect of crosstalk noise. (e.g. Cat5, UTP, STP)
4 Transport
Baseband Coaxial Cable
3 Network A 50-ohm cable used for digital transmission. Used
in 10Base2 and 10Base5.
2 Data Link Broadband Coaxial Cable
A 75-ohm cable used for analog transmission such
1 Physical as Cable TV.
7 Application TRANSMISSION MEDIA
1 Physical
* Fiber optic cables are difficult to tap (higher security)
and are normally used for backbone cabling.
7 Application TRANSMISSION MEDIA
6 Presentation 2. Unguided
Data is sent through the air.
5 Session
Line-of-sight
Transmitter and receiver must “see” each other,
4 Transport such as a terrestrial microwave system.
Communication Satellites
3 Network
A big microwave repeater in the sky. Data is
broadcasted, and can be “pirated.”
2 Data Link
Radio
Term used to include all frequency bands, such as
1 Physical
FM, UHF, and VHF television.
7 Application ANALOG TRANSMISSION
6 Presentation 1. Modulation
Modulating a sine wave carrier to convey data.
5 Session
Amplitude Modulation (AM)
Amplitude is increased/decreased while frequency
4 Transport remains constant.
6 Presentation 2. Modems
A device that accepts digital signals and outputs a
modulated carrier wave, and vice versa.
5 Session
It is used to interconnect the digital computer to the
4 Transport analog telephone network.
2 Data Link
1 Physical
7 Application ANALOG TRANSMISSION
6 Presentation
5 Session
2 Data Link
1 Physical
7 Application OVERVIEW
B(A,2) C(B,3)
5 Session B 1 C
2
4 Transport A(-,-) 3 2 3
D(E,3)
2
A F(E,4)
3 Network D
1
1 F
E(A,2) 2
2 Data Link 2
E
1 Physical
A–E–D–F
A – E – F is the answer.
7 Application ROUTING ALGORITHMS
6 Presentation 2. Flooding
Packet to IMP C
5 Session Packet IMP Packet to IMP D
4 Transport B Packet to IMP E
1 Physical
7 Application IP ADDRESSING
6 Presentation Format
xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx
where x is either 0 or 1
5 Session
Example 1:
4 Transport 11111111. 11111111.00000000.00000000
255.255.0.0
3 Network
Example 2:
2 Data Link 11111111. 11111111.10000000.00000000
1 Physical 255.255.192.0
IP address classes
16,777,214
A 1 – 126* 0 N.H.H.H 255.0.0.0 126 (27 – 2)
(224 – 2)
255.255.255. 2,097,150
C 192 – 223 110 N.N.N.H 254 (28 – 2)
0 (221– 2)
Private Address
Class Subnet Mask
Networks Range
10.0.0.0 -
A 10.0.0.0 255.0.0.0
10.255.255.255
172.16.0.0 - 172.16.0.0 -
B 255.240.0.0
172.31.0.0 172.31.255.255
192.168.0.0 -
C 192.168.0.0 255.255.0.0
192.168.255.255
MASK
It is called a subnet mask because
it is used to identify network
address of an IP address by
perfoming a bitwise AND operation
on the netmask. A Subnet mask is
a 32-bit number that masks an IP
address, and divides the IP address
into network address and host
address.
7 Application IP ADDRESSING
Example 3:
1 Physical
IP address of computer 180.100.7.2
Mask 255.255.192.0
Network address 180.100.0.0
7 Application IP ADDRESSING
6 Presentation Mask
6 Presentation Subnets
The Internet is running out of IP address. One solution
is to subnet a network address.
5 Session
This is done by borrowing host bits to be used as
4 Transport network bits.
Example:
3 Network
Class B mask 255.255.0.0
Borrowing 1 bit gives a subnet mask of 255.255.128.0
2 Data Link Borrowing 2 bits gives a subnet mask of 255.255.192.0
Borrowing 3 bits gives a subnet mask of 255.255.224.0
Borrowing 4 bits gives a subnet mask of 255.255.240.0
1 Physical
7 Application IP ADDRESSING
6 Presentation Example:
Given an IP address of 180.200.0.0, subnet by
borrowing 4 bits.
5 Session
Subnet mask = 255.255.240.0
4 Transport The 4 bits borrowed are value 128, 64, 32, 16. This will
create 16 sub networks, where the first and last will be
unusable.
3 Network
Sub network address:
2 Data Link 180.200.0.0
180.200.16.0
180.200.32.0
1 Physical
180.200.48.0
180.200.64.0
etc…
7 Application IP ADDRESSING
180.200.31.255
1 Physical
7 Application ROUTERS
2 Data Link
1 Physical