Network Protcols: Throughput
Network Protcols: Throughput
BANDWIDTH
Bandwidth is defined as the amount of information that can flow through a network connection
in a given period of time
In digital systems, the basic unit of bandwidth is bits per second (BPS)
Throughput
Throughput refers to actual measured bandwidth, at a specific time of day, using specific
internet routes, and while a specific set of data is transmitted on network
Bandwidth varies depending upon the type of media as well as the LAN and WAN technologies
used
T= S .
BW
Typical Download
T= S .
P
BW Maximum theoretical bandwidth of the “slowest link” between the source host
and the destination host (measured in bits per second)
P Actual throughput at the moment of transfer (measured in bits per second)
T Time for file transfer to occur (measured in seconds)
S File size in bits
Advantages of Digital
Although both analog and digital signals degrade over distance, digital signals can be
regenerated and cleaned up
Different data types can be sent with less bandwidth (voice, video, data)
Digital transmission is less sensitive to noise
Data networks developed as a result of business applications that were written for
microcomputers
Emerging network technologies were built using different kinds of hardware and software
Many of the new network technologies were incompatible
There was a need for standardization
The ISO’s Standard
The ISO recognized there was a need to create a network model that would help vendors create
networks that would work compatibly and interoperably with other networks
In1984, the ISO released their networking model.
TIA
7- Application Layer
6- Presentation Layer
5- Session Layer
Protocols accept data from Session Layer and manage end-to-end delivery of data
1. Ensure data transferred reliably, in correct sequence, and without errors
Protocols also handle flow control
1. Gauging appropriate rate of transmission based on how fast recipient can accept
data
Transmission Control Protocol (TCP): takes care of reliably transmitting HTTP
requests from client to server and vice versa
Connection-oriented protocols: ensure that data arrives exactly as it was sent
1. Establish connection before transmitting data
2. TCP is connection- oriented
A. Client’s TCP protocol first sends synchronization (SYN) packet request to server
B. Server responds with synchronization- acknowledgment (SYN-ACK) packet
C. Client responds with own acknowledgement (ACK)
Acknowledgements also used to ensure that data was properly delieverd
1. For every data unit sent, connection-oriented protocol expects acknowledgment
from recipient
A. If no acknowledgment, data retransmitted
Connection- oriented protocols use a checksum
1. Unique character string allowing receiving node to determine if arriving data unit
exactly matches data unit sent by source
Connectionless protocols do not establish connection before transmitting
1. No effort to ensure data delivered error-free
Transport layer protocols break large data units received from Session layer into
smaller segments (Segmentation)
Maximum transmission unit (MTU): largest data unit a given network will carry
Reassembly (when received at destination): process of reconstructing segmented
data units
Sequencing: method of identifying segments that belong to same group of
subdivided data
1. Indicates where unit of data begins
2. Indicates order in which groups of data were issued
Transport layer protocols of two nodes must synchronize timing and agree on
starting point the transmission
3- NETWORK LAYER
1- PHYSICAL LAYER
Protocols accept frames from Data Link layer and generate voltage to transmit
signals
When receiving data, protocols detect voltage and accept signals
Protocols also set data transmission rate and monitor data error rates
1. Cannot perform error correction
NICs operate at both physical layer and Data Link Layer
Network administrators mostly concerned with bottom four layers of OSI Model
(Figure on binder)
Voltage is an electrical force, or pressure, that occurs when electrons and protons are
separated
The force that is created pushes towards the opposite charge and away from the like
charge
Volt is defined as the amount of work, per unit charge, needed to separate the charges
When voltage, or electrical pressure, is applied and there is a path for the current,
electrons move from the negative terminal along the path to the positive terminal
producing electrical current
Electrical current is the flow of charges created when electrons move
Materials that offer very little or no resistance to the flow of current are called
conductors
Materials that do not allow electrical current to flow are called insulators
The unit of measurement for the resistance is the ohm= Ω
Insulators Conductors Semiconductors
Electrons flow poorly Electrons flow well Electron flow can be
precisely controlled
Plastic Copper (CU) Carbon (C)
Rubber Silver (AG) Germanium (GE)
Air Gold (AU) Gallium Arsenide (GaAs)
Paper Solder Silicon (Si)
Dry wood Water with Ions
Glass Humans
Layer 1- Choices
Media choices:
Layer 1- Investments
Layer 1: Signaling
Copper wires carry electrical signals over copper
Fiber cables carry pulses of light over glass/ plastic
Criteria For Media Selection
Cost
Distance the signal must travel
Speed required
Need for security
Person who will do the installation
Potential interference problems
Fire codes
Differences in Media
Some media use plastic jackets that can emit toxic smoke during a fire
To guard against such occurrences, fire codes, building codes, and safety standards have
been implemented which govern the type of cable jackets that can be used
(PLENUM)
Shielding
Each wire pair or group of wire pairs is surrounded by a metal braid or foil.
Acts as a barrier to any interfering signals
Increases the diameter and cost of the cable
Harder to install
STP
Advantages:
Disadvantages:
UTP
IEEE Standards:
10BaseT
100BaseT
1000BaseT
Advantages:
Disadvantages:
Coaxial Cable
Consists of solid inner core, usually made of copper
Uses a foil or copper braid shield
1. Thinnet (10Base2): 185 meters unboosted
2. Thicknet (10Base5): 500 meters unboosted
Advantages:
Segment lengths are longer than twisted pair
Shielding built in
Hubs between stations are not required
Disadvantages:
Not as easy to run as UTP
More expensive than UTP
Needs more room in wiring ducts than UTP
Light Sources
Multimode= Light Emitting Diode (LED)
o Producing infrared light with wavelengths of either 850nm or 1310nm
o LANs and shorter distances
Single-Mode= Laser
o Producing a thin beam of intense infrared light usually with wavelengths of
1310nm or 1550 nm
o WANs and longer distances
Fiber-Optic Cable
Advantages
Disadvantages
-Expensive
-Most difficult to install
Fiber Install Problems
Stretched or curved too tightly can cause:
o Scatter from cracks in the fiber’s core
o Improper angle of reflection from tight turn
Improper termination and polishing:
o Gap in the core and signal is lost in the cladding
Wireless
802.11a-54Mbps, 5GHz
802.11b-11Mbps, 2.4 GHz
802.11g-54Mbps, 2.4 GHz
802.11n->100Mbps, 2.4 and 5Ghz
WLANS
Operate in one of two modes:
o Infrastructure or Ad-hoc
Wireless network cards access wireless Access Points (APs)
Wireless APs advertise their Service Set ID (SSID)
Wireless cards detect the AP’s SSID and attempt to join
WLAN Security
Wired equivalent Privacy (WEP) key
o 64 bit or 128 bit shared key between AP and card
o Most common form of authentication
o There is also EAP, LEAP (Cisco) and PEAP
Wi-Fi Protected Access (WPA) is gaining popularity as well as 802.1x
Authentication States
Unauthenticated and unassociated
o The node is disconnected from the network and not associated to an access
point.
Authenticated and unassociated
o The node has been authenticated on the network but has not yet associated
with the access point
Authenticated and associated
o The node is connected to the network and able to transmit and receive data
through the access point.
Wireless
Advantages
Allows for mobile use
o Cars, planes, space travel
Air is the media
o No physical wires connecting devices
Disadvantages
Security
Speed
Interference