Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.



Published on


Published in: Education, Technology, Business


  1. 1. What are going to be discussed <ul><li>Introduction to broadcast networks </li></ul><ul><li>Overview of LANs: frame format & placement in OSI. </li></ul><ul><li>Random access: ALOHA & CSMA-CD ( Carrier Sensing Multiple Access with Collision Detection ) i.e., Ethernet. </li></ul><ul><li>Scheduling: token-ring. </li></ul><ul><li>LAN standards (brief view) </li></ul><ul><li>LAN bridges: used to connect several LANs. </li></ul>
  2. 2. OSI Application Presentation Session Transport Network Data Link Physical Framing Error control Flow control Transmission/reception of frames MEDIA ACCESS sublayer LOGICAL LINK sublayer
  3. 3. LAN & MAC (Medium Access Control) protocols <ul><li>Two basic types of networks: </li></ul><ul><ul><li>Switched networks: transmission lines, multiplexers, and switches; routing. </li></ul></ul><ul><ul><li>Broadcast networks: a single shared medium, simpler, no routing, messages received by all stations, flat address; however, when users try to transmit messages into the medium, potential conflict, so MAC is needed to orchestrate the transmission from various users . </li></ul></ul><ul><ul><li>LAN is a typical broadcast network. </li></ul></ul>
  4. 4. Single communication channel that is shared by all the machines on the network Broadcast Networks 1 2 3 4 5 computer cable Packets Short messages sent by any machine are received by all others Fields Address General Rule: Smaller, geographically localized networks Quick Review…
  5. 5. Packets 1 2 3 4 5 ALL machines receive it, but one processes it Also possible to address a packet to ALL machines (special code in the address field) Mode of operation: Broadcasting Also possible to address a packet to a SUBSET of machines (group number code in the address field) Mode of operation: Multicasting Quick Review… 3
  6. 6. BROADCAST NETWORKS AND THEIR PROTOCOLS The Medium Access Sublayer deals with
  7. 7. <ul><li>1 </li></ul><ul><li>2 </li></ul><ul><li>3 </li></ul><ul><li>4 </li></ul><ul><li>5 </li></ul><ul><li>M </li></ul><ul><li>Shared Multiple </li></ul><ul><li>Access Medium </li></ul><ul><li>Any transmission from any station can be heard by any other stations </li></ul><ul><li>If two or more stations transmit at the same time, collision occurs </li></ul><ul><li> </li></ul><ul><li>Multiple access communications </li></ul>
  8. 8. <ul><li>Satellite Channel </li></ul><ul><li>= f in </li></ul><ul><li>= f out </li></ul><ul><li>Satellite communication involves sharing of </li></ul><ul><li>uplink and downlink frequency bands </li></ul>
  9. 9. <ul><li>Multidrop telephone lines </li></ul><ul><li>Inbound line </li></ul><ul><li>Outbound line </li></ul><ul><li>Figure 6.4 </li></ul><ul><li>Multi-drop telephone line requires access control </li></ul><ul><li>Host </li></ul><ul><li>Terminals </li></ul>
  10. 10. <ul><li>Ring networks </li></ul><ul><li>Multitapped Bus </li></ul><ul><li>Figure 6.5 </li></ul><ul><li>Ring networks and multi-tapped buses require MAC </li></ul>
  11. 11. <ul><li>Figure 6.6 </li></ul><ul><li>Wireless LAN: share wireless medium and require MAC </li></ul>
  12. 12. <ul><li>Medium Sharing Techniques </li></ul><ul><li>Static Channelization </li></ul><ul><li>Dynamic Medium Access Control </li></ul><ul><li>Scheduling </li></ul><ul><li>Random Access </li></ul><ul><li>Figure 6.2 </li></ul><ul><li>Approaches to sharing transmission medium </li></ul><ul><li>Partitioned channels </li></ul><ul><li>are dedicated to </li></ul><ul><li>individual users, so </li></ul><ul><li>no collision at all. </li></ul><ul><li>Good for steady traffic </li></ul><ul><li>and achieve efficient </li></ul><ul><li>usage of channels </li></ul><ul><li>Good for bursty traffi c . </li></ul><ul><li>Schedule a </li></ul><ul><li>orderly access </li></ul><ul><li>of medium. </li></ul><ul><li>Good for heavier </li></ul><ul><li>traffic. </li></ul><ul><li>Try and error. if no collision, </li></ul><ul><li>that is good, otherwise wait a </li></ul><ul><li>random time, try again. </li></ul><ul><li>Good for light traffic . </li></ul>
  13. 13. The Channel Allocation Problem <ul><li>How to allocate a single broadcast channel among competing users? </li></ul><ul><li>Static </li></ul><ul><ul><li>FDM /TDM (Frequency/Time Division Multiplexing) </li></ul></ul><ul><ul><ul><li>FDM : Radio/TV broadcasts </li></ul></ul></ul><ul><ul><ul><li>TDM : POTS (Plain Old Telephone System) </li></ul></ul></ul><ul><ul><ul><li>GSM uses both (Global System for Mobile Communications) </li></ul></ul></ul><ul><li>Dynamic </li></ul><ul><ul><li>Pure/ Slotted ALOHA </li></ul></ul><ul><ul><li>Carrier Sense Multiple Access (CSMA) Protocols </li></ul></ul><ul><ul><li>Collision free protocols </li></ul></ul>
  14. 16. Dynamic Channel Allocation Technologies <ul><li>Pure ALOHA </li></ul><ul><li>Slotted ALOHA </li></ul><ul><li>CSMA </li></ul><ul><li>CSMA/CD (old ETHERNET) </li></ul><ul><li>Switching (Fast ETHERNET) </li></ul><ul><li>Token passing (Token Ring ) </li></ul>
  15. 17. ALOHA Protocols <ul><li>Anyone may transmit whenever they want. (Continuous time model.) </li></ul><ul><li>Each radio detects collisions by listening to its own signal. A collision is detected when a sender doesn't receive the signal that it just sent. </li></ul><ul><li>After a collision, wait a random amount of time and transmit the same frame again. This technique is known as backoff . </li></ul>Basic idea:
  16. 18. Pure ALOHA
  17. 19. A Shared Medium  Collision Domain
  18. 22. Slotted ALOHA <ul><li>Time is divided into slots… can only transmit at start of slot </li></ul><ul><li>Vulnerable period halved => max. eff is doubled </li></ul><ul><li>Requires sync of clocks </li></ul><ul><li>Still poor at hi-loads </li></ul>
  19. 24. Carrier Sense, Multiple Access (CSMA) <ul><li>We can improve the performance of our simple network greatly if we introduce carrier sensing (CS) . With carrier sensing, each host listens to the data being transmitted over the cable. </li></ul><ul><ul><li>A host will only transmit its own frames when it cannot hear any data being transmitted by other hosts. </li></ul></ul><ul><ul><li>When a frame finishes, an interframe gap of about 9.6  sec is allowed to pass before another host starts transmitting its frame. </li></ul></ul>Communication Link
  20. 25. Carrier Sense Multiple Access (CSMA) <ul><li>I mproves performance when higher medium utilisation </li></ul><ul><li>When a node has data to transmit, the node first listens to the cable (using a transceiver ) to see if a carrier (signal) is being transmitted by another node. </li></ul>
  21. 26. Persistent and Nonpersistent CSMA <ul><li>Comparison of the channel utilization versus load for various random access protocols. </li></ul>
  22. 27. CSMA with Collision Detection <ul><li>CSMA/CD can be in one of three states: contention, transmission, or idle. </li></ul>
  23. 28. Wireless LAN Protocols <ul><li>Wireless LAN. (a) A transmitting. </li></ul><ul><li>(b) B transmitting. </li></ul>
  24. 29. Wireless LAN Protocols <ul><li>The MACA protocol. (a) </li></ul><ul><li>A sending an RTS to B. </li></ul><ul><li>(B responding with a CTS to A. </li></ul>
  25. 30. IEEE 802.3: CSMA/CD Bus LAN <ul><li>The 802.3 standard describes the operation of the MAC sub-layer in a bus LAN that uses carrier sense, multiple access with collision detection (CSMA/CD). </li></ul><ul><ul><li>Beside carrier sensing, collision detection and the binary exponential back-off algorithm, the standard also describes the format of the frames and the type of encoding used for transmitting frames. </li></ul></ul><ul><ul><li>The minimum length of frames can be varied from network to network. This is important because, depending on the size of the network, the frames must be of a suitable minimum length. </li></ul></ul><ul><ul><li>The standard also makes some suggestions about the type of cabling that should be used for CSMA/CD bus LANs. </li></ul></ul><ul><li>The CSMA/CD Bus LAN is also widely called Ethernet . </li></ul>
  26. 31. Ethernet MAC Sublayer Protocol <ul><li>Frame formats. (a) DIX Ethernet, </li></ul><ul><li>(b) IEEE 802.3. </li></ul>
  27. 32. IEEE 802.3: MAC Addresses <ul><li>Every network card in the world has a unique 46-bit serial number called a MAC address . The IEEE allocates these numbers to network card manufacturers who encode them into the firmware of their cards. </li></ul><ul><ul><li>The destination and source address fields of the MAC frame have 48 bits set aside (the standard also allows for 16-bit addresses but these are rarely used). </li></ul></ul><ul><ul><li>The most significant bit is set to 0 to indicate an ordinary address and 1 to indicate a group address (this is for multicasting , which means that frames are sent to several hosts). If all 48 bits are set to 1 then frames are broadcast to all the hosts. </li></ul></ul><ul><ul><li>If the two most significant bits are both zero then the 46 least significant bits contain the MAC addresses of the source and destination hosts. </li></ul></ul>
  28. 33. IEEE 802.3: Minimum Frame Length <ul><li>When a host transmits a frame, there is a small chance that a collision will occur. The first host to detect a collision transmits a 48-bit jam sequence. </li></ul><ul><li>To ensure that any hosts involved with the collision realise that the jam sequence is associate with their frame, they must still be transmitting when the jam sequence arrives. This means that the frame must be of a minimum length. </li></ul><ul><li>The worse case scenario is if the two hosts are at far ends of the cable. If host A’s frame is just reaching host B when it begins transmitting, host B will detect the collision first and send a jam signal back to host A. </li></ul>
  29. 34. CSMA/CD  Minimum Ethernet Frame Size <ul><li>To ensure that no node may completely receive a frame before the transmitting node has finished sending it, Ethernet defines a minimum frame size (i.e. no frame may have less than 46 bytes of payload). </li></ul><ul><li>The minimum frame size is related to the distance which the network spans, the type of media being used and the number of repeaters which the signal may have to pass through to reach the furthest part of the LAN. </li></ul><ul><li>Together these define a value known as the Ethernet Slot Time , corresponding to 512 bit times at 10 Mbps . </li></ul>
  30. 35. IEEE 802.3: Minimum Frame Length <ul><li>The longest time between starting to transmit a frame and receiving the first bit of a jam sequence is twice the propagation delay from one end of the cable to the other. </li></ul><ul><ul><li>This means that a frame must have enough bits to last twice the propagation delay. </li></ul></ul><ul><ul><li>The 802.3 CSMA/CD Bus LAN transmits data at the standard rate of r = 10Mbps. </li></ul></ul><ul><ul><li>The speed of signal propagation is about v = 2  10 8 m/s. </li></ul></ul>
  31. 36. IEEE 802.3: Minimum Frame Length In order to calculate the minimum frame length, we must first work out the propagation delay from one end of the cable to the other.
  32. 37. IEEE 802.3: Minimum Frame Length Propagation delay time: The round-trip propagation delay is, of course, twice this. Thus the round trip delay is With a data rate of each bit has duration Example #1: Cable = 400m, transm. speed = 10 Mbit/sec, propagation speed = 2*10**8 m/sec
  33. 38. IEEE 802.3: Minimum Frame Length The number of bits we can fit into a round-trip propagation delay is <ul><ul><li>The minimum frame length is thus 40 bits (5 bytes). </li></ul></ul><ul><ul><li>A margin of error is usually added to this (often to make it a power of 2) so we might use 64 bits (8 bytes). </li></ul></ul>Example #1 – cont.
  34. 39. Two nodes are communicating using CSMA/CD protocol. Speed transmission is 100 Mbits/sec and frame size is 1500 bytes. The propagation speed is 3*10**8 m/sec. Calculate the distance between the nodes such that the time to transmit the frame = time to recognize that the collision have occurred. EEE 802.3: Minimum Frame Length Example # 2
  35. 40. IEEE 802.3: Minimum Frame Length <ul><li>The standard frame length is at least 512 bits (64 bytes) long, which is much longer than our minimum requirement of 64 bits (8 bytes). </li></ul><ul><ul><li>We only have to start worrying when the LAN reaches lengths of more than 2.5km. </li></ul></ul><ul><li>802.3 CSMA/CD bus LANs longer than 500m are usually composed of multiple segments joined by in-line passive repeaters , which output on one cable the signals received on another cable. </li></ul><ul><ul><li>When we work out the minimum frame length for these longer LANs, we also have to take the delays caused by the passive repeaters (about 2.5  sec each) into account as well. </li></ul></ul>
  36. 41. Shortest Ethernet Frame <ul><li>64 bytes sent at 10Mbps  51.2  sec </li></ul><ul><li>500m/segment, 4 repeaters between nodes  2500m  25  sec propagation delay </li></ul><ul><li>The frame should be longer enough for sender to detect the collision(2x25 or about 50  sec ) </li></ul>Why specify a shortest frame of 64byte? Node A Node B R1 R2 R3 R4 500m  25  sec propagation delay
  37. 42. IEEE 802.3: Non-Deterministic <ul><li>The 802.3 CSMA/CD bus LAN is said to be a non-deterministic network. This means that no host is guaranteed to be able to send its frame within a reasonable time (just a good probability of doing so). </li></ul><ul><ul><li>When the network is busy, the number of collisions rises dramatically and it may become very difficult for any hosts to transmit their frames. </li></ul></ul><ul><li>A real-time computing application (such as an assembly line) will demand that data is transmitted within a specified time period. </li></ul><ul><ul><li>Since the 802.3 bus LAN cannot guarantee this, its use for real-time applications may not only be undesirable but potentially dangerous in some situations. </li></ul></ul>
  38. 43. Ethernet Performance
  39. 44. Ethernet Physical Layer standards <ul><li>10Base5 </li></ul><ul><ul><li>10 Mbps, Baseband transmission, 500m cable length </li></ul></ul><ul><li>10Base2 </li></ul><ul><ul><li>10 Mbps, Baseband transmission, ~200m cable length </li></ul></ul><ul><li>10Base-T </li></ul><ul><ul><li>10 Mbps, Baseband transmission, UTP cable </li></ul></ul><ul><li>100Base-TX </li></ul><ul><ul><li>100 Mbps, Baseband transmission, UTP cable </li></ul></ul>
  40. 45. Ethernet 10Base-T & 100Base-TX <ul><li>Wiring </li></ul><ul><ul><li>Unshielded Twisted Pair (UTP) </li></ul></ul><ul><ul><li>Category 5 wiring is best </li></ul></ul><ul><ul><ul><li>Cat 3 and Cat 4 in some older installations </li></ul></ul></ul><ul><ul><li>Bundle of eight wires (only uses four) </li></ul></ul><ul><ul><li>Terminates in RJ-45 connector </li></ul></ul>
  41. 46. 10Base-T & 100Base-TX hubs <ul><li>UTP-based networks use hubs to interconnect NICs </li></ul><ul><ul><li>each UTP cable runs directly from a NIC to a hub </li></ul></ul>
  42. 47. 10Base-T & 100Base-TX hubs <ul><li>Hubs have many ports, each of which has one incoming network cable </li></ul><ul><li>Hubs are usually located in computer rooms, or network distribution cupboards </li></ul><ul><ul><li>a patch panel (or patch bay) is used to connect between hubs and the wall sockets throughout a building </li></ul></ul>
  43. 48. 10Base-T & 100Base-TX wiring <ul><li>Wiring </li></ul><ul><ul><li>100 meters maximum distance hub-to-station </li></ul></ul><ul><ul><li>Can use multiple hubs (max 4) to increase the distance between any two stations </li></ul></ul>100 m 100 m 200 m
  44. 49. 10Base-T to 100Base-TX <ul><li>Upgrading from 10Base-T to 100Base-TX </li></ul><ul><ul><li>Need new hub </li></ul></ul><ul><ul><ul><li>May have some 10 Mbps ports to handle 10Base-T NICs </li></ul></ul></ul><ul><ul><ul><li>May have autosensing 10/100 ports that handle either </li></ul></ul></ul><ul><ul><li>Need new NICs </li></ul></ul><ul><ul><ul><li>Only for stations that need more speed </li></ul></ul></ul><ul><ul><li>No need to rewire </li></ul></ul><ul><ul><ul><li>This would be expensive </li></ul></ul></ul>
  45. 50. Multiple Hubs in 10Base-T <ul><li>Farthest stations in 10Base-T can be five segments (500 metres apart) </li></ul><ul><ul><li>100 metres per segment </li></ul></ul><ul><ul><li>Separated by four hubs </li></ul></ul>100m 100m 100m 100m 100m 500m, 4 hubs 10Base-T hubs
  46. 51. Multiple Hubs in 100Base-TX <ul><li>Limit of Two Hubs in 100Base-TX </li></ul><ul><ul><li>Must be within a few metres of each other </li></ul></ul><ul><ul><li>Maximum span ~200 metres </li></ul></ul><ul><ul><li>Shorter distance span than 10Base-T </li></ul></ul>100m 100m 2 Co-located Hubs 100Base-TX Hubs
  47. 52. Latency and Congestion with hubs <ul><li>Ethernet is a shared media LAN </li></ul><ul><ul><li>Only one station can transmit at a time </li></ul></ul><ul><ul><li>Even in multi-hub LANs </li></ul></ul><ul><ul><li>Others must wait </li></ul></ul><ul><ul><li>This causes delay </li></ul></ul>One Station Sends All Other Stations Must Wait
  48. 53. Fast Ethernet <ul><li>The original fast Ethernet cabling. </li></ul>
  49. 54. Gigabit Ethernet <ul><li>Gigabit Ethernet cabling. </li></ul>
  50. 55. IEEE 802.2: Logical Link Control <ul><li>(a) Position of LLC. (b) Protocol formats. </li></ul>
  51. 56. Repeaters <ul><ul><li>Regenerate the signal </li></ul></ul><ul><ul><li>P rovide more flexibility in network design </li></ul></ul><ul><ul><li>E xtend the distance over which a signal may travel down a cable </li></ul></ul><ul><ul><li>Example  Ethernet HUB </li></ul></ul>
  52. 57. Ethernet Repeaters and Hubs <ul><ul><li>C onnect together one or more Ethernet cable segments of any media type </li></ul></ul><ul><ul><li>If an Ethernet segment were allowed to exceed the maximum length or the maximum number of attached systems to the segment, the signal quality would deteriorate. </li></ul></ul>
  53. 58. Ethernet Repeaters and Hubs <ul><li>U sed between a pair of segments </li></ul><ul><li>P rovide signal amplification and regeneration to restore a good signal level before sending it from one cable segment to another </li></ul>
  54. 59. Ethernet Bridge <ul><ul><li>J oin two LAN segments (A,B), constructing a larger LAN </li></ul></ul><ul><ul><li>F ilter traffic passing between the two LANs and may enforce a security policy separating different work groups located on each of the LANs. </li></ul></ul>
  55. 60. Local Internetworking <ul><li>A configuration with four LANs and two bridges. </li></ul>
  56. 61. Ethernet Bridges <ul><li>S implest and most frequently used  Transparent Bridge (meaning that the nodes using a bridge are unaware of its presence). </li></ul><ul><li>B ridge could forward all frames, but then it would behave rather like a repeater </li></ul><ul><li>Bridges are smarter than repeaters! </li></ul>
  57. 62. Ethernet Bridges A bridge stores the hardware addresses observed from frames received by each interface and uses this information to learn which frames need to be forwarded by the bridge.
  58. 63. Ethernet Switch  Modern LANs <ul><ul><li>F undamentally similar to a bridge </li></ul></ul><ul><ul><li>S upports a larger number of connected LAN segments </li></ul></ul><ul><ul><li>R icher management capability. </li></ul></ul><ul><ul><li>L ogically partition the traffic to travel only over the network segments on the path between the source and the destination ( reduces the wastage of bandwidth ) </li></ul></ul>
  59. 64. Ethernet Switch  Benefits <ul><ul><li>I mproved security </li></ul></ul><ul><ul><ul><li>users are less able to tap-in into other user's data </li></ul></ul></ul><ul><ul><li>B etter management </li></ul></ul><ul><ul><ul><li>control who receives what information (i.e. Virtual LANs) </li></ul></ul></ul><ul><ul><ul><li>limit the impact of network problems </li></ul></ul></ul><ul><ul><li>F ull duplex </li></ul></ul><ul><ul><ul><li>rather than half duplex required for shared access </li></ul></ul></ul>
  60. 65. Switched LAN <ul><li>Hub and Switched LAN </li></ul><ul><ul><li>hub simulates a single shared medium </li></ul></ul><ul><ul><li>switch simulates a bridged LAN with one computer per segment </li></ul></ul>
  61. 66. Ethernet Switches <ul><li>Highly Scalable </li></ul><ul><li>10Base-T switches </li></ul><ul><ul><li>Competitive with 100Base-TX hubs in both cost and throughput </li></ul></ul><ul><ul><li>Increasingly used to desktops </li></ul></ul><ul><li>100Base-TX switches </li></ul><ul><ul><li>Higher performance (and price) </li></ul></ul><ul><li>Gigabit Ethernet switches </li></ul><ul><ul><li>Very expensive </li></ul></ul>
  62. 67. Ethernet Switches <ul><li>No limit on number of Ethernet switches between farthest stations </li></ul><ul><ul><li>So no distance limit on size of switched networks </li></ul></ul>
  63. 68. Ethernet Switches <ul><li>Ethernet Switches must be Arranged in a Hierarchy (or daisy chain) </li></ul><ul><ul><li>Only one possible path between any two stations, switches </li></ul></ul>4 5 6 2 3 1 Path=4,5,2,1,3
  64. 69. Repeaters, Hubs, Bridges, Switches, Routers and Gateways <ul><li>(a) Which device is in which layer. </li></ul><ul><li>(b) Frames, packets, and headers. </li></ul>
  65. 70. Repeaters, Hubs, Bridges, Switches, Routers and Gateways <ul><li>(a) A hub. (b) A bridge. (c) a switch. </li></ul>
  66. 71. Repeater HUBs
  67. 72. Switches
  68. 73. Switches Repeater HUBs
  69. 75. Ethernet Switches and Multicast Traffic Multicast Traffic from F is delivered to all output interfaces (ports) which asks for it
  70. 76. Virtual LANs (VLANs) Cisco Systems
  71. 77. Cisco Systems
  72. 78. Virtual LANs (VLANs) Cisco Systems
  73. 79. Virtual LANs (VLANs) Cisco Systems
  74. 80. Switches Versus Routers <ul><li>Switches </li></ul><ul><li>Fast </li></ul><ul><li>Inexpensive </li></ul><ul><li>No benefits of alternative routing </li></ul><ul><li>No hierarchical addressing </li></ul><ul><li>Routers </li></ul><ul><li>Slow </li></ul><ul><li>Expensive </li></ul><ul><li>Benefits of alternative routing </li></ul><ul><li>Hierarchical addressing </li></ul>“ Switch where you can; route where you must”
  75. 81. Where Does Wireless RF Live? ISM Band: Industrial, Scientific, Medical 902-928 MHz 2400-2483.5 MHz 5725-5850 MHz 802.11/802.11b 802.11a Bluetooth Cordless Phones Home RF Baby Monitors Microwave Ovens Old Wireless
  76. 82. IEEE 802.11 – Wireless Ethernet <ul><li>Two configurations: </li></ul><ul><ul><li>Ad-hoc. No central control, no </li></ul></ul><ul><ul><li>connection to the outside world </li></ul></ul><ul><ul><li>Infrastructure. Uses fixed network </li></ul></ul><ul><ul><li>Access Point to connect to the </li></ul></ul><ul><ul><li>outside world </li></ul></ul>
  77. 83. <ul><li>IEEE 802.11 – Wireless Ethernet </li></ul>Uses CSMA/CA protocol. CSMA part is the same as in 802.3 Ethernet CA stands for Collision Avoidance and works as follows: If the carrier is present for a specific time period, transmitter sends a frame If no collision receiver send ack Transmitter can also reserve the channel by sending Request to Send (RTS)
  78. 84. <ul><li>IEEE 802.11 – Wireless Ethernet </li></ul>IEEE 802.11 does not implement Collision Detection because it cannot detect collisions at the receiver end (hidden terminal problem) To avoid collisions the frame contains field indicating the length of transmission Other stations defer transmission
  79. 85. The 802.11 Protocol Stack
  80. 86. Where does 802.11 live in the OSI? Telnet, FTP, Email, Web, etc. IP, ICMP, IPX TCP, UDP Logical Link Control - 802.2 (Interface to the upper layer protocols) MAC 802.3, 802.5, 802.11 LAN: 10BaseT, 10Base2, 10BaseFL WLAN: FHSS, DSSS, IR Application Presentation Session Transport Network Data Link Physical Wireless lives at Layers 1 & 2 only!
  81. 87. The 802.11 MAC Sublayer Protocol <ul><li>(a) The hidden station problem. </li></ul><ul><li>(b) The exposed station problem. </li></ul>
  82. 88. CSMA-CA + Acknowledgement Carrier Sense Multiple Access with Collision Avoidance <ul><li>Device wanting to transmit senses the medium (Air) </li></ul><ul><li>If medium is busy - defers </li></ul><ul><li>If medium is free for certain period (DIFS) - transmits frame </li></ul>How CSMA-CA works: Latency can increase if “air” is very busy! Device has hard time finding “open air” to send frame! <ul><li>DIFS - Distributed Inter-Frame Space </li></ul><ul><li>(approx 128 µs) </li></ul>
  83. 89. The 802.11 MAC Sublayer Protocol <ul><li>The use of virtual channel sensing using CSMA/CA. </li></ul>
  84. 90. The 802.11 Frame Structure <ul><li>The 802.11 data frame. </li></ul>
  85. 91. Summary <ul><li>IEEE 802.11b (WiFi) is a wireless LAN technology that is rapidly growing in popularity </li></ul><ul><li>Convenient, inexpensive, easy to use </li></ul><ul><li>Growing number of “hot spots” everywhere </li></ul><ul><ul><li>airports, hotels, bookstores, Starbucks, etc </li></ul></ul><ul><li>Estimates: 70% of WLANs are insecure! </li></ul>
  86. 92. IEEE 802.5 and Token Ring
  87. 93. FDDI  Fiber Distributed Data Interface <ul><ul><li>data rate 100Mbps, use as a backbone </li></ul></ul><ul><ul><li>With multi-mode fiber any given ring segment can be up to 200 km in length. A total of 500 stations can be connected with a maximum separation of 2 km. </li></ul></ul><ul><ul><li>two complete rings to overcome failures </li></ul></ul>
  88. 94. High Speed LANs <ul><li>FDDI: Fiber Distributed Data Interface </li></ul><ul><li>100Mbps, distance up to 200km, 100 hosts mainly used as a backbone </li></ul>
  89. 95. Bandwidth Scaling 1000 900 800 700 600 500 400 300 200 100 0 Mbps FE Ethernet Gigabit Ethernet (Switched) ATM OC-12 (Switched) ATM OC-3 (Switched) Fast Ethernet (Switched) FDDI (Switched) Token Ring (Switched) Ethernet (Switched) Switched LAN Type Cisco Systems