Basics of COMPUTER NETWORKS - PowerPoint PPT Presentation

1 / 81
About This Presentation
Title:

Basics of COMPUTER NETWORKS

Description:

Title: [ ] Advanced Computer Networks Author: ABC Last modified by – PowerPoint PPT presentation

Number of Views:664
Avg rating:3.0/5.0
Slides: 82
Provided by: abc49
Category:

less

Transcript and Presenter's Notes

Title: Basics of COMPUTER NETWORKS


1
Basics of COMPUTER NETWORKS
  • Book in glance

Computer Engineering Faculty of
Engineering Kurdistan University ( Email
ghasem.mohammadi_at_gmail.com)
2
????????? ???
Contact information
  • ??? 1 ?????? ?????
  • ??? 2 ???? ??????
  • ??? 3 ???? ????? ????
  • ??? 4 ???? ????
  • ??? 5 ???? ??????
  • ??? 6 ???? ??????
  • ??? 7 ????? ??? ???? ?????

3
Whats a Computer Network?
  • Connecting two or more computers or other
    devices via a Communication media( Physical or
    wireless)
  • Categorizing networks according to size
  • LAN (Local Area Network)
  • MAN (Metropolitan Area Network)
  • WAN (Wide Area Network)
  • Internet

4
Types of Links
Point-to-Point
Multiple Access

5
(No Transcript)
6
(No Transcript)
7
Protocol Demultiplexing
  • Multiple choices at each layer

FTP
HTTP
TFTP
NV
TCP
UDP
TCP/UDP
IP
Network
IP
IPX
Port Number
Protocol Field
Type Field
NET1
NET2
NETn

8
OSI Layers and Locations
Application
Presentation
Session
Transport
Network
Data Link
Physical
Switch
Hub
Host
Router
Host
9
Network Interface Card (NIC)
10
Hub (layer 1 device) Just knows bits
11
Switch (layer 2 device) Knows MAC addresses
12
Router (layer 3 device) Knows Logical addresses
(IP and IPX)
13
(No Transcript)
14
Twisted Pair
UTP
Connector
STP
15
Bad Good
16
Connectors
17
Fiber Optic
Connectors
18
(No Transcript)
19
A Fiber Optic Ring with Active repeaters
20
Electromagnetic Spectrum
21
Types of Propagation
22
Basic Modulation Types
23
Compression
  • Huffman Coding
  • Run-length Coding
  • Ziv Lempel compression

24
(No Transcript)
25
FDM (Frequency Division Multiplexing)
26
WDM (Wavelength Division Multiplexing)
27
TDM (Time Division Multiplexing)
28
(No Transcript)
29
Circuit Switching
30
(No Transcript)
31
Time Division Switch
32
Packet Switching
33
Message Switching
34
Framing Methods
Character Count
Byte Stuffing
Bit Stuffing
35
Handling Errors
36
Single bit Error
Multiple bit Error
37
Parity bit
0110100
1
1011010
0
One Dimensional Parity
0010110
1
1110101
1
1001011
0
1000110
1
Two Dimensional Parity
38
Cyclic Redundancy Check (CRC)
  • Represent a (n1)-bit message as an n-degree
    polynomial M(x)
  • E.g., 10101101 ? M(x) x7 x5 x3 x2 x0
  • Choose a divisor k-degree polynomial G(x)
  • Compute reminder R(x) of M(x)xk / C(x), i.e.,
    compute A(x) such that
  • M(x)xk A(x)G(x) R(x), where degree(R(x)) lt
    k
  • Let
  • T(x) M(x)xk R(x) A(x)G(x)
  • Then
  • T(x) is divisible by G(x)

39
Hamming Code
40
Categories of Flow Control
41
Stop-and-Wait
42
Sliding Window Sender/Receiver State
Receiver
Sender
Max acceptable
Next expected
Max ACK received
Next seqnum




Receiver window
Sender window
Sent Acked
Sent Not Acked
Received Acked
Acceptable Packet
OK to Send
Not Usable
Not Usable
43
Example of Sliding Window
44
Sliding Window Go-Back-n, Damaged Frame
45
Sliding window Selective-Repeat, Damaged Frame
46
Media Access Control
Evolution of Contention Protocols
Aloha
Developed in the 1970s for a packet radio network
SlottedAloha
Improvement Start transmission only at fixed
times (slots)
CSMA Carrier Sense Multiple Access Improvement
Start transmission only if no transmission is
ongoing
CSMA
CD Collision Detection Improvement Stop
ongoing transmission if a collision is detected
(e.g. Ethernet)
CSMA/CD
47
  • The Aloha Protocol
  • simple if you have pkt to send, "just do it"
  • if pkt suffers collision, will try resending
    later
  •                                                 
            

48
  • Slotted Aloha
  • synchronous system time divided into slots
  • slot siz equals fixed packet transmission time
  • when pkt ready for transmission, wait until start
    of next slot
  • packets overlap completely or not at all
  •                                                 
              

49
  • Carrier Sensing Protocols
  • Aloha is inefficient (and rude!) doesn't listen
    before talking!
  • Carrier Sense Multiple Access CSMA
  • non-persistent CSMA
  • sense (listen to) channel
  • if channel sensed busy
  • then wait random time go to 1
  • else transmit packet
  • p-persistent CSMA
  • sense (listen to) channel
  • when channel sensed idle
  • transmit with probability p
  • else wait random time, go to 1

50
  • CSMA/CD
  • CSMA with collision detection(CD)
  • listen while talking!
  • stop transmitting when another pkt has collided
    with your pkt
  • wait random time before attempting to resend
  • worst case time to detect a collision?
  • performance depends (as in CSMA) on channel
    length

51
Collision free protocols
Reservation
  • No collisions
  • reservation is made before sending
  • average waiting time before transmission is N
  • low load utilization d/(dN) not good if N is
    large
  • high-load utilization d/(d1)

t
52
Collision free protocols
53
(No Transcript)
54
IEEE 802 Standards
55
(No Transcript)
56
802.3 Frame structure
57
10Base5
58
10Base2
59
10BaseT
60
10BaseF
61
IEEE 802.4 Token Bus Network
62
Token Ring IEEE 802.5
Listen
Talk
Data
Token/Data
l1
l4
l3
l2
TRTToken Rotation Time
63
Token Ring IEEE 802.5
64
IEEE 802.11 Wireless LAN (WLAN)
802.11b
802.11
802.11a
802.11g
65

ISM Bands (Unlicensed )
802.11b (11Mbps)
802.11a (54 Mbps)
802.11g (54 Mbps)
66
Wireless Network Interface Card
Wireless Access Point
67
Spread Spectrum Methods
DSSS
FHSS
68
FHSS
69
DSSS
Original Data
Transmitted Data
70
ESS Extended Service Set
Overlapped Area for roaming
BSS Basic Service Set
71
CSMA/CA
72
(No Transcript)
73
(No Transcript)
74
(No Transcript)
75
Network Layer
Internetworking
Hop-by-hop
76
Need of Network Layer
Host-to-host (End-to-end)
77
Packet delivery in Network layer
Internet
78
Routing Algorithms
  • Calculate the shortest path (lowest cost)
  • Two common methods
  • Distance vector routing (RIP , IGRP , )
  • Link state routing (OSPF , IS-IS)

79
The concept of distance vector routing
80
Concept of link state routing
81
Hierarchical Routing Routing in Autonomous
Systems (IGP)
Routing between Autonomous Systems (EGP)
EGP
IGP
Write a Comment
User Comments (0)
About PowerShow.com