Download Week-11 - PCT Research Group

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Asynchronous Transfer Mode wikipedia , lookup

Airborne Networking wikipedia , lookup

Recursive InterNetwork Architecture (RINA) wikipedia , lookup

Passive optical network wikipedia , lookup

Registered jack wikipedia , lookup

Wi-Fi wikipedia , lookup

Spanning Tree Protocol wikipedia , lookup

AppleTalk wikipedia , lookup

Policies promoting wireless broadband in the United States wikipedia , lookup

IEEE 1394 wikipedia , lookup

Network tap wikipedia , lookup

Computer network wikipedia , lookup

Zero-configuration networking wikipedia , lookup

List of wireless community networks by region wikipedia , lookup

Wake-on-LAN wikipedia , lookup

IEEE 1355 wikipedia , lookup

Wireless security wikipedia , lookup

Point-to-Point Protocol over Ethernet wikipedia , lookup

Cracking of wireless networks wikipedia , lookup

IEEE 802.1aq wikipedia , lookup

Virtual LAN wikipedia , lookup

IEEE 802.11 wikipedia , lookup

Piggybacking (Internet access) wikipedia , lookup

Power over Ethernet wikipedia , lookup

Transcript
Computer Communication & Networks
Week # 11
Waseem Iqbal
www.pctresearchgroup.com
Powerpoint Templates
ACKNOWLEDGMENTS
Mostly adopted from lecture slides by Behrouz A.
Forouzan.
Updated by Dr. Arshad Ali CS & IT, UOL
Week 11: Course Plan
Ethernet
 Standard Ethernet
 Fast Ethernet
 Gigabit Ethernet
IEEE Project 802
As TCP/IP does not specify any protocol for data
link and physical layer;
it accepts any protocol at these two layers that
can provide services to network layer.
These two layers belong to networks (wired
or wireless) that are using them.
A LAN is computer network designed for a
limited geographic area such as buildings or a
campus.
Most LANs are linked to a wide area network or
Internet
IEEE Project 802
In 1985, the Computer Society of the IEEE started a
project, called Project 802, to set standards to enable
intercommunication among equipment from a variety
of manufacturers.
Project 802 does not seek to replace any part of OSI or
TCP/IP suit; it is a way of specifying functions of the
physical layer and the data link layer of major LAN
protocols
IEEE 802.3: Ethernet LAN
IEEE 802.4: Token bus
IEEE 802.11: Wireless LAN (WLAN)
IEEE 802.15: Wireless PAN (802.15.1 is for Bluetooth)
IEEE 802.16: WiMAX
IEEE standard for LANs
Ethernet
 ALOHA inspired Bob Metcalfe to invent Ethernet for LANs in
1970s
 It became really the most popular local area network technology
of all time
 Hugely popular in 1980s, 1990s deployed in buildings
 Essentially all of the different computers were wired to the one
cable which snaked around the building and connected all of
these together
 Ethernet was officially accepted as IEEE standard 802.3 in 1985
 Nodes usually share 10 Mbps coaxial cable
 The original Xerox Ethernet operated at 3Mbps
 Ethernet networks upto 10 Gbps now exist (switched Ethernet)
 All the nodes really have to do is solve the multiple access control
problem, and then they can all talk to another
7
Ethernet
Need for an Access Method
 Whenever multiple users have unregulated access to a single
line, there is a danger of signals overlapping and destroying
each other
 Such overlaps which turn signals to noise are called Collisions
 As traffic increases on multiple-access link, so do collisions
 Such a network therefore needs a mechanism to coordinate
traffic, minimize the number of collisions and maximize the
number of frames that are delivered successfully
 The access mechanism used in Ethernet is called Carrier Sense
Multiple Access with Collision Detection (CSMA/CD)
8
Ethernet
Why Ethernet became so popular
 Easy to understand, implement, manage, and maintain
 Low-cost network implementations
 Topological flexibility for network installation
 Successful interconnection and operation of products, regardless of
manufacturer
9
Standard Ethernet
The original Ethernet was created in 1976 at Xerox’s
Palo Alto Research Center (PARC) in California. Since
then, it has gone through four generations.
Standard Ethernet: frame format
Example of an Ethernet address
in hexadecimal notation
Each station on Ethernet network has its own Network Interface card (NIC)
which provides the station with link layer address (6 bytes for Ethernet)
Unicast and multicast addresses
The least significant bit of the first byte defines the type of address
If the bit is 0, the address is unicast; otherwise, it is multicast.
The broadcast destination address is a special case of the multicast
address in which all bits are 1s.
The source address is always a unicast address
Example
Define the type of the following destination addresses:
a. 4A:30:10:21:10:1A
b. 47:20:1B:2E:08:EE
c. FF:FF:FF:FF:FF:FF
Solution
To find the type of the address, look at the second
hexadecimal digit from the left.
If it is even, the address is unicast.
If it is odd, the address is multicast.
If all digits are F’s, the address is broadcast.
a. This is a unicast address because A in binary is 1010.
b. This is a multicast address because 7 in binary is 0111.
c. This is a broadcast address because all digits are F’s.
Example
Show how the address 47:20:1B:2E:08:EE is sent out on
line.
Solution
The address is sent left-to-right, byte by byte;
for each byte, it is sent right-to-left, bit by bit;
Transmission in Ethernet is always broadcast (without regard
the intention of unicast, multicast, broadcast)
Categories of Standard Ethernet
The standard Ethernet uses a baseband signal
(bits are changed to a digital signal and directly sent on the line)
Manchester encoding in a Standard Ethernet implementation
10Base5 implementation
10Base2 implementation
10Base-T implementation
10Base-F implementation
Summary of Standard Ethernet implementations
The 10-Mbps Standard Ethernet has gone through several
changes before moving to the higher data rates.
These changes actually opened the road to the evolution of the
Ethernet to become compatible with other high-data-rate LANs.
Bridged Ethernet: A network with and without a bridge
Bridges raise the bandwidth and separate collision domains
Collision domains in an unbridged and a bridged network
Switched Ethernet: Layer 2 switch is an N-port bridge
which additionally allows fast handling of packets.
It opened the way for faster Ethernet
Full-Duplex Switched Ethernet
Fast Ethernet
Fast Ethernet was designed to compete with LAN protocols such
as FDDI (Fiber Distributed Data Interface ) or Fiber Channel.
IEEE created Fast Ethernet under the name 802.3u. Fast
Ethernet is backward-compatible with Standard Ethernet, but it
can transmit data 10 times faster at a rate of 100 Mbps.
Fast Ethernet topology
Fast Ethernet implementations
Encoding for Fast Ethernet implementation
Summary of Fast Ethernet implementations
Giagabit Ethernet
The need for an even higher data rate resulted in the design of the
Gigabit Ethernet protocol (1000 Mbps). The IEEE committee
calls the standard 802.3z.
In the full-duplex mode of Gigabit Ethernet, there is no
collision;
the maximum length of the cable is determined by the signal
attenuation in the cable.
13.24
Topologies of Gigabit Ethernet
Gigabit Ethernet implementations
Encoding in Gigabit Ethernet
implementations
Summary of Gigabit Ethernet implementations
Summary of Ten-Gigabit Ethernet implementations
Wireless LAN and 802.11 WLAN Standard
Dr. Arshad Ali
Wireless LAN (WLAN)
 A wireless LAN uses wireless transmission medium
 WLAN provides wireless network communication over short
distances
using radio or infrared signals instead of traditional
network cabling like UTP
 Wireless LAN provides all the features and benefits of
traditional LAN technologies such as Ethernet and Token Ring
but without the limitations of wires or cables
 Popularity of wireless LANs has grown rapidly
Dr. Arshad Ali
A typical LAN
A Wireless WLAN
It’s a “hub” without wires
Wireless LAN
 A WLAN typically extends an existing wired LAN
 The access point (AP) is attached to the edge of the
wired network to built a WLAN
 a wireless network adopter enables clients to communicate with
the AP
similar in function to a traditional Ethernet adapter
 WLANs use the 900 MHz, 2.4 GHz and 5-GHz
frequency bands.
 ISM (Industry, Scientific, Medical) license-free
(unlicensed) frequency bands
Dr. Arshad Ali
Wireless LANs
How are WLANs Different?
 They use specialized physical and data link protocols
 They integrate into existing networks through access points
which provide a bridging function
 They let you stay connected as you roam from one coverage
area to another
 They have unique security considerations
 They have specific interoperability requirements
 They require different hardware
 They offer performance that differs from wired LANs
Infrastructure Wireless LAN
wireless LAN forms a stationary infrastructure consisting of one or
more cells with a control module for each cell
 Within a cell, there may be a number of stationary end systems.
 Nomadic stations can move from one cell to another
Add Hoc LAN
 No infrastructure for an ad hoc network.
 A wireless network adopter is required to be installed
 a peer collection of stations within range of each other may
dynamically configure themselves into a temporary network
WLAN Technology
according to transmission technique being used
Infrared (IR) LANs: Individual cell of IR LAN limited to single
room
IR light does not penetrate opaque walls
Line of sight only
Spread spectrum LANs: Mostly operate in ISM (industrial,
scientific, and medical) bands
So no Federal Communications Commission (FCC)
licensing is required in USA
Narrowband microwave: Microwave frequencies but not use
spread spectrum
Some products operate at frequencies that require
FCC licensing
While others use one of the unlicensed ISM bands
IEEE 802.11
 In IEEE 802.11 std, the addressable unit is station (STA)
 Station (STA): a device that has the capability to use the 802.11 protocol
 STA may be fixed, mobile or portable
According to IEEE 802.11-2007 : A STA is any device
that contains an IEEE 802.11-conformant media access control
(MAC) and physical layer (PHY) interface to the wireless medium
(WM).
 One requirement of IEEE 802.11 is to handle mobile as well as
portable STAs
 A portable STA is one that is moved from location to location, but
that is only used while at a fixed location.
 Mobile STAs actually access the LAN while in motion.
IEEE standard 802.11
fixed terminal
mobile terminal
server
infrastructure network
access point
application
application
TCP
TCP
IP
IP
LLC
LLC
LLC
802.11 MAC
802.11 MAC 802.3 MAC
802.3 MAC
802.11 PHY
802.11 PHY
802.3 PHY
802.3 PHY
Components of IEEE 802.11 architecture
 The basic service set (BSS) is the basic building block of an IEEE 802.11
LAN
 Each of BSS1 and BSS2 has two STAs that are members of their BSS
 Think of the ovals as coverage area of a BSS within which the member STAs
may remain in communication
 This area is called the Basic Service Area (BSA).
 If a STA moves out of its BSA, it can no longer directly communicate with other
STAs present in the BSA
Components of IEEE 802.11 architecture
 Two type of BSS: Independent and Infrastructure BSS
 Every BSS has an id called the BSSID, it is the MAC address of
the access point servicing the BSS
 Independent BSS (IBSS) is simply comprised of one or more Stations
which communicate directly with each other (ad-hoc network)
 They contain no Access Points
They can not connect to any other basic service set
Components of IEEE 802.11 architecture
 In Infrastructure BSS,
 STAs communicate with each other through Access Points
 STAs can communicate with other stations not in the same basic
service set through Access Points
Components of IEEE 802.11 architecture
 An Extended Service Set (ESS) is a set of connected BSS
 Access Points in an extended service set are connected by a distribution
system
 Each ESS has an ID called the SSID
An ESS is the union of the infrastructure BSSs with
the same SSID connected by a DS
Components of IEEE 802.11 architecture
A Distribution system (DS)
 connects Access Points in an extended service set
 is usually a wired LAN but can be a wireless LAN
 Is the architectural component used to interconnect infrastructure
BSSs (IEEE 802.11 2012)
Components of IEEE 802.11 architecture
Portal bridge to other (wired) networks
 A portal is the logical point at which MSDUs (MAC service data units) from
an integrated non-IEEE-802.11 LAN enter the IEEE 802.11 DS
 In other words, All data from non-IEEE-802.11 LANs enter the IEEE
802.11 architecture via a portal
 It is possible for one device to offer both the functions of an AP and a portal
(IEEE 802.11 2012)
 The portal logic is implemented in a device such as bridge or router, that is
part of the wired LAN and that is attached to the DS
802.11 Architecture: Infrastructure
network
Station (STA)
802.11 LAN
STA1
802.x LAN
BSS1
Portal
Access
Point
Distribution System
Access
Point
ESS
BSS2
STA2
802.11 LAN
STA3
 terminal with access mechanisms to
the wireless medium and radio
contact to the access point
Basic Service Set (BSS)
 group of stations using the same
radio frequency
Access Point
 station integrated into the wireless
LAN and the distribution system
Portal
 bridge to other (wired) networks
Distribution System
 interconnection network to form
one logical network (EES:
Extended Service Set) based
on several BSSs
802.11 Architecture: ad-hoc
network
Direct communication within a limited
range
802.11 LAN
STA1
 Station (STA):
STA3
IBSS1
terminal with access
mechanisms to the
wireless medium
 Independent Basic Service Set
(IBSS):
group of stations using
the same radio
frequency without a
controlling access point
STA2
IBSS2
STA5
STA4
802.11 LAN