SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
Local Area Networks (LAN)
- Sharing Transmission Media by Computers -
• Classifications of Computer Networks: LAN, MAN, WAN
• Point-To-Point Connection and Shared Medium
• LAN Topology: Star, Ring, Bus
• Typical LANs
- Ethernet (CSMA/CD)
- LocalTalk (CSMA/CA)
- Wireless LAN
- Token Ring
- FDDI
- ATM
• Unicast, Broadcast, Multicast
Lecture 4
Lecture 4
Classifications of Computer Networks
LAN – Local Area Network: A network that spans a small geographic area, such as
a single building or buildings close to each other.
Examples: Ethernet, LocalTalk, Token Ring, FDDI, ATM
PAN – Personal Area Network
MAN – Metropolitan Area Network: A network that can span a geographic area
the size of a city.
Example: DQDB
WAN – Wide Area Network: A network that can span a large geographic area,
e.g., multiple cities, countries or continents.
Examples: ARPANET, X.25, Frame Relay, SMDS, ATM
Lecture 4
Point-To-Point Connection Network
Point-to-Point network provides a dedicated link between any two computers/devices
 Fully Connected
- Dedicated link: used by only two computers and not shared with others
- High security and privacy
- (N2-N)/2 links are needed for N computers/devices
45 links (N=10), 4950 links (N=100), 499500 links (N=1000)
- Such a network is not practical because of its high cost and inflexibility
Lecture 4
Shared Communication Channel/Medium in LAN
Shared Medium
- wire, cable, fiber
- radio, infrared, …
Key natures of LAN:
- Media type: wired/wireless, twisted pair/cable/fiber, radio/infrared
- Topology: network shape/connection method
- Protocol: how to use shared medium, media access control technique
a) TDM: only one computer can send data in a time
b) Frame: transfer element, each type of LAN has its own frame format
- Bit rate/speed: usually from 1Mbps~1Gbps
Lecture 4
LAN Basic Topologies
Star Topology
Ring Topology
Bus Topology
Lecture 4
LAN Basic Topologies (cont.)
Lecture 4
Ethernet - Bus Topology
Media: Coax cable, twisted pair, fiber
Topology: Logic bus (physically may be bus or star)
Transmit: Only one can transmit at any time, all others receive transmission
Speed: 10Mbps, 100Mbps (Fast Ethernet) and 1000Mbps (Gigabit Ethernet)
Status: Most popular LAN and widely used
History: Invented at Xerox (Palo Alto Research Center) in 1970s
Defined a DIX standard by Digital Equipment, Intel and Xerox
IEEE currently controls Ethernet standards
Project 802.3 – Ethernet
Define media, voltages, encoding, data rates, frames, wiring, …
Project 802.3
Ethernet
Lecture 4
When to Start Transmit - CSMA
All computers connect to a bus but only one can transmit at a time.Who can?
No central controller/manager when computers transmit on the bus!!
Ethernet employs CSMA to coordinate transmissions among multiple computers.
CSMA (Carrier Sense with Multiple Access)
- MA (Multiple Access): multiple computers are attached, any can access bus
- CS (Carrier Sense): a computer listens to carrier before sending data
 waits if medium/bus is busy (another computer is transmitting)
 transmits if medium/bus is idle (no one transmits)
Animation
Lecture 4
When to Start Transmit – CSMA/CD
Collision
Even with CSMA, two computers may transmit simultaneously
- Both find it idle and begin transmitting in almost a same time
- Two signals exist in medium, interfere each other, call collision
CD (Carrier Detection)
- Monitor outgoing signal
- Stop transmissions after collision is detected
- Each waits random time in [0, S]
- Listen to the bus and transmit again if it is idle
- Wait random time in [0, 2S] if collisions is detected again
- Double waiting time range [0, 2kS] when k+1 collisions detected
 Called exponential backoff, very effective in practical
Animation
Animation
Collis-Anim
Lecture 4
CSMA/CD
Flowchart
Lecture 4
Inventors of Ethernet
Collision Robert Metcalfe (1946, US)
David R. Boggs (1950, US)
- Developed at Xerox PARC, 1973-1974
- Metcalfe, Boggs, "Ethernet: Distributed Packet
Switching for Local Computer Networks".
Communications of the ACM (1976)
- Metcalfe identifies the day Ethernet: May
22, 1973, circulated a memo titled "Alto
Ethernet" containing a rough scheme.
- Boggs identifies another date as birth of
Ethernet: November 11, 1973, the first day
the system actually functioned.
- Patented with the 2 & Thacker, Lampson (75)
- The two would co-invent Ethernet, with
Metcalfe generating the ideas and Boggs
figuring out how to build the system.
Lecture 4
LocalTalk - Bus Topology
reserve
transmit
Media: Coax cable, twisted pair
Topology: Logic bus (physically may be bus or star)
Transmit: Only one can transmit at any time, all others receive transmission
Speed: 230.4 kbps
Status: IEEE Project 802.4, Apple’s Macintosh computers, low cost & easy install
CSMA/CA: Using CSMA to listen and transmit
Using CA (collision avoidance) rather than CD (collision detection)
- send a short message to reserve the bus if it is idle
- transmit a frame if reservation is successful (no collision)
- listen and reserve again
CSMA/CD vs CSMA/CA
Project 802.4
Lecture 4
Wireless LAN - Bus Topology
Media: Air (infrared, spread spectrum, narrowband microwave)
Topology: Logic bus
Transmit: Only one can transmit, not all others can receive transmission
depended upon transmitting energy and distance
Speed: 1~10Mbps (infrared), 1~20Mbps (spread), 10~100Mbps (MW)
Status: IEEE Project 802.11, many products from different companies
CSMA/CA: Using CSMA to listen and transmit
Using CA (collision avoidance) rather than CD (collision detection)
- send a RTS message to reserve the medium if it is idle
- transmit a frame if receiving a destination’s CTS (no collision)
- listen and reserve again
RTS: Request To Send, CTS: Clear To Send  Hidden node problem
Lecture 4
CSMA/CA
Flowchart
(IEEE802.11)
Wireless LAN
 Wireless LAN: small range (< 100m)
 IEEE 802.11 (similar to Ethernet)
- Defined by IEEE (Institute for Electrical and Electronic Engineers)
- Access control: CSMA/CD (only one can send each time similar to TDMA,
listen and transmit if no other transmission, otherwise wait)
- Speed: 2Mbps (infrared), >10Mbps (Microwave, 2.4/5.2GHz)
 HIPERLAN
- Defined by ETSI (European Telecommunication Standard Institute)
- Access control: dynamic TDMA
- Speed: 25Mbps (5GHz) and 155Mbps (17GHz)
 HomeRF
- Defined by Home Radio Frequency Working Group (Industry, 1998)
- Access control: similar IEEE 802.11 with priority and reservation control
- Speed: 10Mbps (2.4GHz), supports both data, voice and streaming
 Bluetooth
- Defined by Bluetooth Special Interest Group (SIG, industry)
- Access control: TDD (Time Division Duplex) with circuit and packet switch
- Speed: 1M~10bps
Wireless Application Landscape
Lecture 4
Personal Area Network
Lecture 4
Station/Hardware Address and Frame
All stations (computers/devices) on shared-media LAN receive all transmissions
Each station assigned unique number, called station address or
hardware address fixed by manufacturer,
configured manually or electronically
provided dynamically by software
A sender specifies destination address and source address in its frame header
Source station
Source address
Destination station
Destination address
Frame data or PayloadHeader Trailer
Dest Addr Sour Addr
Packet
Lecture 4
Destination Address and Transmission Mode
Packet can be sent to:
- Single destination (station address) called unicast (1-to-1)
- All stations (a special address), called broadcast (1-to-all)
- Subset of stations (special addresses), called multicast (1-to-m)
Ethernet
- Each station has 48bits (6 bytes) unique address assigned by manufacturer
- Broadcast address: all 1s address (1111…11)
- Multicast address: [1xx…x], half of addresses reserved for multicast
unicast broadcast multicast
Video
Lecture 4
Ethernet Frame Format
Preamble: 64bits (8 bytes) for receiver synchronization with incoming signal
Destination address and source address
Frame type (2 bytes):
- 0000~05DC Reserved for use with IEEE LLC/SNAP
- 0800 Internet IP Version 4
- 8008 AT&T Corporation
- 8014 Silicon Graphics Corporation network games
- 8137-8138 Novell Corporation IPX
- …
Data or Payload: Minimum 46 bytes and maximum 1500 bytes
CRC (4 bytes): Cyclic redundancy check
Ethernet Frame
Lecture 4
Token Ring - Ring Topology
Media: Twisted pair (TW), fiber
Topology: Logic ring (physically may be ring or star)
Transmit: Bits flow in single direction from sender, next, destination to send
Speed: 4, 16 or 100Mbps
Status: IEEE Project 802.5, first developed by IBM
Token: A permission to send data across the ring.
Only one token in a ring and the token rotates one by one.
If no data to be sent, computer passes received token to the next.
When a computer obtains the token, it can send a single packet.
A packet travels around entire ring and finally arrives source.
token
PayloadSD AC FC DAdd SAdd CRC ED FS
SD AC ED
Token frame (3 bytes)
Data frame
Up to 4550 bytes
Anim1 Anim2
SD: Start Delimiter
AC: Access Control
ED: End Delimiter
FC: Frame Control
FS: Frame Status
Anim3
Lecture 4
FDDI - Ring Topology
Media: Fiber (Fiber Distributed Data Interconnect) or cable (CDDI)
Topology: Two rings
Transmit: Bits can flow in 2 directions for improving reliability
Speed: 100 Mbps
Status: ANSI standard, expensive than Ethernet and Token Ring
Token: A permission to send data across the ring.
Only one token in a ring and the token rotates one by one.
If no data to be sent, computer passes received token to the next.
When a computer obtains the token, it can send a single packet.
A packet travels around entire ring and finally arrives source.
PayloadSD FC DAdd SAdd CRC ED FS
SD FC ED
Data frame
Up to 4550 bytes
Token frame (3 bytes)
Features: multiple frames for MM data or RT trans.
FDDI
Lecture 4
ATM LAN - Star Topology
ATM: Asynchronous Transmission Mode
Media: Fiber
Topology: Star
Transmit: More than one can transmit because of using switch
Speed: 25, 45, 155, 622 Mbps
Status: ATM Forum and ATM Consortium, high speed for multimedia com
Switch: Each station connects to switch with full-duplex connections.
Computers send data independently and simultaneously.
Packet size is very small, 53 bytes, called cell.
Very expensive
ATM
Exercise 4
1. Prove that the total number of links in a point-to-point network with N computers is (N2-N)/2
2. For each of bus, star and ring topologies, discuss the consequences if a station has broken.
3. In most technologies, a sending station can choose the amount of data in a frame, but the
frame header is a fixed size. Calculate the percentage of bits in a frame devoted to the header,
trailer and preamble for the largest and smallest Ethernet frame.
4. Assume a one megabyte file must be send from one computer to another (both are connected
to a same 10BaseT Ethernet). What is the minimum time to send the file across the network?
What is the minimum time across a Fast Ethernet? Across a gigabit Ethernet?
5. Give the definitions and examples of unicast, broadcast and multicast, respectively.

Weitere ähnliche Inhalte

Was ist angesagt?

Wan configuration in packet tracer by Tanjilur Rahman
Wan configuration in packet tracer by Tanjilur RahmanWan configuration in packet tracer by Tanjilur Rahman
Wan configuration in packet tracer by Tanjilur RahmanTanjilurRahman6
 
Network components
Network componentsNetwork components
Network componentsAnas Karzoun
 
Presentation on Transmission Media
Presentation on Transmission MediaPresentation on Transmission Media
Presentation on Transmission MediaSyed Ahmed Zaki
 
MAC Address – All you Need to Know About it
MAC Address – All you Need to Know About itMAC Address – All you Need to Know About it
MAC Address – All you Need to Know About itAsya Karapetyan
 
Unicast multicast & broadcast
Unicast multicast & broadcastUnicast multicast & broadcast
Unicast multicast & broadcastNetProtocol Xpert
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)k33a
 
LAN (Local Area Network)
LAN (Local Area Network)LAN (Local Area Network)
LAN (Local Area Network)Ridwanul Hoque
 
Chapter 1 introduction to computer networks
Chapter 1 introduction to computer networksChapter 1 introduction to computer networks
Chapter 1 introduction to computer networksViku1985
 
Transmission modes (simplex, duplex &amp; half duplex)
Transmission modes (simplex, duplex &amp; half duplex)Transmission modes (simplex, duplex &amp; half duplex)
Transmission modes (simplex, duplex &amp; half duplex)Rahul Kumar
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic ConfigurationProf. Erwin Globio
 
Cisco Packet Tracer Overview
Cisco Packet Tracer OverviewCisco Packet Tracer Overview
Cisco Packet Tracer OverviewAli Usman
 
IP Address
IP AddressIP Address
IP AddressRahul P
 
Computer networking devices
Computer networking devicesComputer networking devices
Computer networking devicesRajesh Sadhukha
 
Router Full Concept pdf
Router Full Concept pdf Router Full Concept pdf
Router Full Concept pdf Vignesh kumar
 

Was ist angesagt? (20)

Network and it's Uses
Network and it's UsesNetwork and it's Uses
Network and it's Uses
 
Wan configuration in packet tracer by Tanjilur Rahman
Wan configuration in packet tracer by Tanjilur RahmanWan configuration in packet tracer by Tanjilur Rahman
Wan configuration in packet tracer by Tanjilur Rahman
 
COMPUTER NETWORK
COMPUTER NETWORKCOMPUTER NETWORK
COMPUTER NETWORK
 
Internet Protocols
Internet ProtocolsInternet Protocols
Internet Protocols
 
Network components
Network componentsNetwork components
Network components
 
WLAN
WLANWLAN
WLAN
 
Presentation on Transmission Media
Presentation on Transmission MediaPresentation on Transmission Media
Presentation on Transmission Media
 
Introduction to Software Defined Networking (SDN)
Introduction to Software Defined Networking (SDN)Introduction to Software Defined Networking (SDN)
Introduction to Software Defined Networking (SDN)
 
MAC Address – All you Need to Know About it
MAC Address – All you Need to Know About itMAC Address – All you Need to Know About it
MAC Address – All you Need to Know About it
 
Unicast multicast & broadcast
Unicast multicast & broadcastUnicast multicast & broadcast
Unicast multicast & broadcast
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
LAN (Local Area Network)
LAN (Local Area Network)LAN (Local Area Network)
LAN (Local Area Network)
 
Chapter 1 introduction to computer networks
Chapter 1 introduction to computer networksChapter 1 introduction to computer networks
Chapter 1 introduction to computer networks
 
Transmission modes (simplex, duplex &amp; half duplex)
Transmission modes (simplex, duplex &amp; half duplex)Transmission modes (simplex, duplex &amp; half duplex)
Transmission modes (simplex, duplex &amp; half duplex)
 
Networking Devices
Networking DevicesNetworking Devices
Networking Devices
 
Cisco Router Basic Configuration
Cisco Router Basic ConfigurationCisco Router Basic Configuration
Cisco Router Basic Configuration
 
Cisco Packet Tracer Overview
Cisco Packet Tracer OverviewCisco Packet Tracer Overview
Cisco Packet Tracer Overview
 
IP Address
IP AddressIP Address
IP Address
 
Computer networking devices
Computer networking devicesComputer networking devices
Computer networking devices
 
Router Full Concept pdf
Router Full Concept pdf Router Full Concept pdf
Router Full Concept pdf
 

Ähnlich wie Lan

Network Topologies
Network TopologiesNetwork Topologies
Network TopologiesJason Hando
 
FDDI and SONET by Er.Anup-(IOE)
FDDI and SONET  by Er.Anup-(IOE)FDDI and SONET  by Er.Anup-(IOE)
FDDI and SONET by Er.Anup-(IOE)Anup Bista
 
Data communication part2
Data communication part2Data communication part2
Data communication part2Melvin Cabatuan
 
Advanced Network Chapter I: Which is very best lecture note
Advanced Network Chapter I: Which is very best lecture noteAdvanced Network Chapter I: Which is very best lecture note
Advanced Network Chapter I: Which is very best lecture noteabdisani3
 
Networks (Distributed computing)
Networks (Distributed computing)Networks (Distributed computing)
Networks (Distributed computing)Sri Prasanna
 
Introduction to networking
Introduction to networkingIntroduction to networking
Introduction to networkingMohsen Sarakbi
 
Computer Networks By Beant Singh Duggal
Computer Networks By Beant Singh DuggalComputer Networks By Beant Singh Duggal
Computer Networks By Beant Singh DuggalBeantsingh
 
Bluetooth mobileip
Bluetooth mobileipBluetooth mobileip
Bluetooth mobileipRamya Sasi
 
Networks A2
Networks  A2Networks  A2
Networks A2aeneas
 
Aspects Stratégiques des Réseaux
Aspects Stratégiques des RéseauxAspects Stratégiques des Réseaux
Aspects Stratégiques des RéseauxEric Vyncke
 

Ähnlich wie Lan (20)

Mod9
Mod9Mod9
Mod9
 
LAN TECHNOLOGLES
 LAN TECHNOLOGLES LAN TECHNOLOGLES
LAN TECHNOLOGLES
 
Chapter 4ver2
Chapter 4ver2Chapter 4ver2
Chapter 4ver2
 
Network Topologies
Network TopologiesNetwork Topologies
Network Topologies
 
LAN
LANLAN
LAN
 
Unit 1-converted.pptx
Unit 1-converted.pptxUnit 1-converted.pptx
Unit 1-converted.pptx
 
FDDI and SONET by Er.Anup-(IOE)
FDDI and SONET  by Er.Anup-(IOE)FDDI and SONET  by Er.Anup-(IOE)
FDDI and SONET by Er.Anup-(IOE)
 
Lecture5
Lecture5Lecture5
Lecture5
 
Data communication part2
Data communication part2Data communication part2
Data communication part2
 
Advanced Network Chapter I: Which is very best lecture note
Advanced Network Chapter I: Which is very best lecture noteAdvanced Network Chapter I: Which is very best lecture note
Advanced Network Chapter I: Which is very best lecture note
 
wireless.ppt
wireless.pptwireless.ppt
wireless.ppt
 
Networks (Distributed computing)
Networks (Distributed computing)Networks (Distributed computing)
Networks (Distributed computing)
 
6 Ethernet
6 Ethernet6 Ethernet
6 Ethernet
 
Mac
MacMac
Mac
 
Introduction to networking
Introduction to networkingIntroduction to networking
Introduction to networking
 
Computer Networks By Beant Singh Duggal
Computer Networks By Beant Singh DuggalComputer Networks By Beant Singh Duggal
Computer Networks By Beant Singh Duggal
 
Week 5 lan topology
Week 5 lan topologyWeek 5 lan topology
Week 5 lan topology
 
Bluetooth mobileip
Bluetooth mobileipBluetooth mobileip
Bluetooth mobileip
 
Networks A2
Networks  A2Networks  A2
Networks A2
 
Aspects Stratégiques des Réseaux
Aspects Stratégiques des RéseauxAspects Stratégiques des Réseaux
Aspects Stratégiques des Réseaux
 

Kürzlich hochgeladen

Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxNadaHaitham1
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEselvakumar948
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...Amil baba
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadhamedmustafa094
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilVinayVitekari
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 

Kürzlich hochgeladen (20)

Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 

Lan

  • 1. Local Area Networks (LAN) - Sharing Transmission Media by Computers - • Classifications of Computer Networks: LAN, MAN, WAN • Point-To-Point Connection and Shared Medium • LAN Topology: Star, Ring, Bus • Typical LANs - Ethernet (CSMA/CD) - LocalTalk (CSMA/CA) - Wireless LAN - Token Ring - FDDI - ATM • Unicast, Broadcast, Multicast Lecture 4
  • 2. Lecture 4 Classifications of Computer Networks LAN – Local Area Network: A network that spans a small geographic area, such as a single building or buildings close to each other. Examples: Ethernet, LocalTalk, Token Ring, FDDI, ATM PAN – Personal Area Network MAN – Metropolitan Area Network: A network that can span a geographic area the size of a city. Example: DQDB WAN – Wide Area Network: A network that can span a large geographic area, e.g., multiple cities, countries or continents. Examples: ARPANET, X.25, Frame Relay, SMDS, ATM
  • 3. Lecture 4 Point-To-Point Connection Network Point-to-Point network provides a dedicated link between any two computers/devices  Fully Connected - Dedicated link: used by only two computers and not shared with others - High security and privacy - (N2-N)/2 links are needed for N computers/devices 45 links (N=10), 4950 links (N=100), 499500 links (N=1000) - Such a network is not practical because of its high cost and inflexibility
  • 4. Lecture 4 Shared Communication Channel/Medium in LAN Shared Medium - wire, cable, fiber - radio, infrared, … Key natures of LAN: - Media type: wired/wireless, twisted pair/cable/fiber, radio/infrared - Topology: network shape/connection method - Protocol: how to use shared medium, media access control technique a) TDM: only one computer can send data in a time b) Frame: transfer element, each type of LAN has its own frame format - Bit rate/speed: usually from 1Mbps~1Gbps
  • 5. Lecture 4 LAN Basic Topologies Star Topology Ring Topology Bus Topology
  • 6. Lecture 4 LAN Basic Topologies (cont.)
  • 7. Lecture 4 Ethernet - Bus Topology Media: Coax cable, twisted pair, fiber Topology: Logic bus (physically may be bus or star) Transmit: Only one can transmit at any time, all others receive transmission Speed: 10Mbps, 100Mbps (Fast Ethernet) and 1000Mbps (Gigabit Ethernet) Status: Most popular LAN and widely used History: Invented at Xerox (Palo Alto Research Center) in 1970s Defined a DIX standard by Digital Equipment, Intel and Xerox IEEE currently controls Ethernet standards Project 802.3 – Ethernet Define media, voltages, encoding, data rates, frames, wiring, … Project 802.3 Ethernet
  • 8. Lecture 4 When to Start Transmit - CSMA All computers connect to a bus but only one can transmit at a time.Who can? No central controller/manager when computers transmit on the bus!! Ethernet employs CSMA to coordinate transmissions among multiple computers. CSMA (Carrier Sense with Multiple Access) - MA (Multiple Access): multiple computers are attached, any can access bus - CS (Carrier Sense): a computer listens to carrier before sending data  waits if medium/bus is busy (another computer is transmitting)  transmits if medium/bus is idle (no one transmits) Animation
  • 9. Lecture 4 When to Start Transmit – CSMA/CD Collision Even with CSMA, two computers may transmit simultaneously - Both find it idle and begin transmitting in almost a same time - Two signals exist in medium, interfere each other, call collision CD (Carrier Detection) - Monitor outgoing signal - Stop transmissions after collision is detected - Each waits random time in [0, S] - Listen to the bus and transmit again if it is idle - Wait random time in [0, 2S] if collisions is detected again - Double waiting time range [0, 2kS] when k+1 collisions detected  Called exponential backoff, very effective in practical Animation Animation Collis-Anim
  • 11. Lecture 4 Inventors of Ethernet Collision Robert Metcalfe (1946, US) David R. Boggs (1950, US) - Developed at Xerox PARC, 1973-1974 - Metcalfe, Boggs, "Ethernet: Distributed Packet Switching for Local Computer Networks". Communications of the ACM (1976) - Metcalfe identifies the day Ethernet: May 22, 1973, circulated a memo titled "Alto Ethernet" containing a rough scheme. - Boggs identifies another date as birth of Ethernet: November 11, 1973, the first day the system actually functioned. - Patented with the 2 & Thacker, Lampson (75) - The two would co-invent Ethernet, with Metcalfe generating the ideas and Boggs figuring out how to build the system.
  • 12. Lecture 4 LocalTalk - Bus Topology reserve transmit Media: Coax cable, twisted pair Topology: Logic bus (physically may be bus or star) Transmit: Only one can transmit at any time, all others receive transmission Speed: 230.4 kbps Status: IEEE Project 802.4, Apple’s Macintosh computers, low cost & easy install CSMA/CA: Using CSMA to listen and transmit Using CA (collision avoidance) rather than CD (collision detection) - send a short message to reserve the bus if it is idle - transmit a frame if reservation is successful (no collision) - listen and reserve again CSMA/CD vs CSMA/CA Project 802.4
  • 13. Lecture 4 Wireless LAN - Bus Topology Media: Air (infrared, spread spectrum, narrowband microwave) Topology: Logic bus Transmit: Only one can transmit, not all others can receive transmission depended upon transmitting energy and distance Speed: 1~10Mbps (infrared), 1~20Mbps (spread), 10~100Mbps (MW) Status: IEEE Project 802.11, many products from different companies CSMA/CA: Using CSMA to listen and transmit Using CA (collision avoidance) rather than CD (collision detection) - send a RTS message to reserve the medium if it is idle - transmit a frame if receiving a destination’s CTS (no collision) - listen and reserve again RTS: Request To Send, CTS: Clear To Send  Hidden node problem
  • 15. Wireless LAN  Wireless LAN: small range (< 100m)  IEEE 802.11 (similar to Ethernet) - Defined by IEEE (Institute for Electrical and Electronic Engineers) - Access control: CSMA/CD (only one can send each time similar to TDMA, listen and transmit if no other transmission, otherwise wait) - Speed: 2Mbps (infrared), >10Mbps (Microwave, 2.4/5.2GHz)  HIPERLAN - Defined by ETSI (European Telecommunication Standard Institute) - Access control: dynamic TDMA - Speed: 25Mbps (5GHz) and 155Mbps (17GHz)  HomeRF - Defined by Home Radio Frequency Working Group (Industry, 1998) - Access control: similar IEEE 802.11 with priority and reservation control - Speed: 10Mbps (2.4GHz), supports both data, voice and streaming  Bluetooth - Defined by Bluetooth Special Interest Group (SIG, industry) - Access control: TDD (Time Division Duplex) with circuit and packet switch - Speed: 1M~10bps
  • 16. Wireless Application Landscape Lecture 4 Personal Area Network
  • 17. Lecture 4 Station/Hardware Address and Frame All stations (computers/devices) on shared-media LAN receive all transmissions Each station assigned unique number, called station address or hardware address fixed by manufacturer, configured manually or electronically provided dynamically by software A sender specifies destination address and source address in its frame header Source station Source address Destination station Destination address Frame data or PayloadHeader Trailer Dest Addr Sour Addr Packet
  • 18. Lecture 4 Destination Address and Transmission Mode Packet can be sent to: - Single destination (station address) called unicast (1-to-1) - All stations (a special address), called broadcast (1-to-all) - Subset of stations (special addresses), called multicast (1-to-m) Ethernet - Each station has 48bits (6 bytes) unique address assigned by manufacturer - Broadcast address: all 1s address (1111…11) - Multicast address: [1xx…x], half of addresses reserved for multicast unicast broadcast multicast Video
  • 19. Lecture 4 Ethernet Frame Format Preamble: 64bits (8 bytes) for receiver synchronization with incoming signal Destination address and source address Frame type (2 bytes): - 0000~05DC Reserved for use with IEEE LLC/SNAP - 0800 Internet IP Version 4 - 8008 AT&T Corporation - 8014 Silicon Graphics Corporation network games - 8137-8138 Novell Corporation IPX - … Data or Payload: Minimum 46 bytes and maximum 1500 bytes CRC (4 bytes): Cyclic redundancy check Ethernet Frame
  • 20. Lecture 4 Token Ring - Ring Topology Media: Twisted pair (TW), fiber Topology: Logic ring (physically may be ring or star) Transmit: Bits flow in single direction from sender, next, destination to send Speed: 4, 16 or 100Mbps Status: IEEE Project 802.5, first developed by IBM Token: A permission to send data across the ring. Only one token in a ring and the token rotates one by one. If no data to be sent, computer passes received token to the next. When a computer obtains the token, it can send a single packet. A packet travels around entire ring and finally arrives source. token PayloadSD AC FC DAdd SAdd CRC ED FS SD AC ED Token frame (3 bytes) Data frame Up to 4550 bytes Anim1 Anim2 SD: Start Delimiter AC: Access Control ED: End Delimiter FC: Frame Control FS: Frame Status Anim3
  • 21. Lecture 4 FDDI - Ring Topology Media: Fiber (Fiber Distributed Data Interconnect) or cable (CDDI) Topology: Two rings Transmit: Bits can flow in 2 directions for improving reliability Speed: 100 Mbps Status: ANSI standard, expensive than Ethernet and Token Ring Token: A permission to send data across the ring. Only one token in a ring and the token rotates one by one. If no data to be sent, computer passes received token to the next. When a computer obtains the token, it can send a single packet. A packet travels around entire ring and finally arrives source. PayloadSD FC DAdd SAdd CRC ED FS SD FC ED Data frame Up to 4550 bytes Token frame (3 bytes) Features: multiple frames for MM data or RT trans. FDDI
  • 22. Lecture 4 ATM LAN - Star Topology ATM: Asynchronous Transmission Mode Media: Fiber Topology: Star Transmit: More than one can transmit because of using switch Speed: 25, 45, 155, 622 Mbps Status: ATM Forum and ATM Consortium, high speed for multimedia com Switch: Each station connects to switch with full-duplex connections. Computers send data independently and simultaneously. Packet size is very small, 53 bytes, called cell. Very expensive ATM
  • 23. Exercise 4 1. Prove that the total number of links in a point-to-point network with N computers is (N2-N)/2 2. For each of bus, star and ring topologies, discuss the consequences if a station has broken. 3. In most technologies, a sending station can choose the amount of data in a frame, but the frame header is a fixed size. Calculate the percentage of bits in a frame devoted to the header, trailer and preamble for the largest and smallest Ethernet frame. 4. Assume a one megabyte file must be send from one computer to another (both are connected to a same 10BaseT Ethernet). What is the minimum time to send the file across the network? What is the minimum time across a Fast Ethernet? Across a gigabit Ethernet? 5. Give the definitions and examples of unicast, broadcast and multicast, respectively.