280 likes | 451 Views
Switched and Wireless LANs. Shared media LANs. Limits to Shared Media LANs FDDI, 100Base-X, 100VG-AnyLAN all shared media LANs Only one station can transmit at a time, causing latency Every station hears every message, so as the number of stations grow, the LAN saturates
E N D
Shared media LANs • Limits to Shared Media LANs • FDDI, 100Base-X, 100VG-AnyLAN all shared media LANs • Only one station can transmit at a time, causing latency • Every station hears every message, so as the number of stations grow, the LAN saturates • 100 Mbps speed only delays saturation
Shared media LANs • Shared Media Networks with Hubs (such as 10Base-T) • Incoming frame arrives through a single port • Hub broadcasts frames out all ports • Congestion on output ports Hub
Switched LANs • In a switched network • Incoming frame arrives on a single port • Frame sent out again only on a single port--the one leading to the receiver • No congestion on other ports Switch
Switch With a switch, multiple stations may transmit simultaneously: no congestion as traffic grows. Switch Station C Station A Connection 1 A-C Connection 1 A-C Station D Station B Connection 2 B-D Connection 2 B-D
Switching in Perspective • Switching is the wave of the future for LANs • Congestion does not increase as the number of stations grows • However, • Today, however, switches are still more expensive than 10Base-T or 100Base-X hubs • Read CISCO white paper • discount the sales talk • see 3COM images of switches.
Switch connections • paths called connections must be pre-defined between stations • a fixed logical data link (logical connection) is established between stations before transmission even begins • during the transmission, all traffic between the stations must pass over that data link • unless a data link has been pre-established, two stations may not communicate at all • only OSI Layer 2 (Data Link Layer) protocols are needed
Ethernet Switches • Ethernet Hubs are Half Duplex • Most Ethernet Switches are Full Duplex • No collisions are possible • So two stations can both transmit to each other at the same time (full duplex operation) • Requires full duplex switches • Requires full duplex NICs • Lowest-cost LAN switches • Not standardized, so buyers tend to get locked into a single vendor
ATM Switches • Asynchronous Transfer Mode • Will allow much higher speeds • 155 Mbps to a few Gbps • Can also be used for long-distance networking • A single solution for both needs • Quality of service guaranteed • Far more expensive than Ethernet LAN switches
ATM Switches • standardized (others not yet) • scalable: as low as 1 Mbps to 2.4 Gbps • can start with relative slow speeds (cheaper) • increase the speed as needs arise • without changing protocol
ATM and Ethernet • 100Mbps and Gigabit Ethernet are outselling ATM for LAN usage • High-speed Ethernet is less expensive • Staff does not have to learn ATM technology • Sales of NICs - Ethernet, Token Ring and ATM.
Wireless LAN Broadcast Signal Antenna Cluster Transceiver Receiving Transceiver Transmitting Hub Controller Transceiver Receiving Wireless LAN
Typical 802.11 Wireless LAN Operation with Access Points CSMA/CA+ACK Switch UTP Radio Link Access Point A Notebook UTP Handoff If mobile computer moves to another access point, it switches service to that access point Access Point B Client PC Server Large Wired LAN
Typical 802.11 Wireless LAN Operation with Access Points Access Point Industry Standard Coffee Cup Wireless Notebook NIC Antenna (Fan) To Ethernet Switch PC Card Connector
Typical 802.11 Wireless LAN Operation with Access Points D-Link Wireless Access Point Using Two Antennas Reduces Multipath Interference (See Ch. 3)
Typical 802.11 Wireless LAN Operation with Access Points Linksys Switch With Built-In Wireless Access Point Using Two Antennas Reduces Multipath Interference (See Ch. 3)
Typical 802.11 Wireless LAN Operation with Access Points • The Wireless Station sends an 802.11 frame to a server via the access point • The access point is a bridge that converts the 802.11 frame into an 802.3 Ethernet frame and sends the frame to the server 802.11 Frame 802.3 Frame Mobile Station Access Point Ethernet Switch Server
Typical 802.11 Wireless LAN Operation with Access Points • The server responds, sending an 802.3 frame to the access point • The access point converts the 802.3 frame into an 802.11 frame and sends the frame to the mobile station. 802.11 Frame 802.3 Frame Mobile Station Access Point Ethernet Switch Server
802.11 Wireless LAN Speeds • 802.11 2 Mbps (rare) 2.4 GHz band (limited in bandwidth) • 802.11b 11 Mbps, 2.4 GHz 3 channels/access point • 802.11a 54 Mbps, 5 GHz (> bandwidth than 2.4 GHz) 11 channels/access point • 802.11g 54 Mbps, 2.4 GHz limited bandwidth
802.11 Broadcast Operation • The Wireless Stations and Access Points Broadcast their Signals. • Only one access point or wireless station may transmit at any moment or signals will become scrambled. Wireless Station Collision About to Occur Access Point Wireless Station
CSMA/CA + ACK in 802.11 Wireless LANs • CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) • Station or access point sender listens for traffic • If there is no traffic, can send if there has been no traffic for a specified amount of time • If the specified amount of time has not been met, must wait for the specified amount of time. Can then send if the line is still clear
CSMA/CA + ACK in 802.11 Wireless LANs • CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) • Station or access point sender listens for traffic • If there istraffic, the sender must wait until traffic stops • The sender must then set a random timer and must wait while the timer is running • If there is no traffic when the station or access point finishes the wait, it may send
CSMA/CA + ACK in 802.11 Wireless LANs • ACK (Acknowledgement) • Receiver immediately sends back an acknowledgement; no waiting because ACKs have highest priority • If sender does not receive the acknowledgement, retransmits using CSMA/CA
Who Implements CSMA/CA+ACK? • Stations (when they send) • Access Points (when they send) 802.11 Frame Mobile Station Access Point CSMA/CA+ACK
Request to Send (RTS) / Clear to Send (CTS) • There is a widely used option we should cover. • After a station may send, its first message may be a Request-to-Send (RTS) message instead of a data message • Only if the other party sends a Clear-to-Send (CTS) message does the sender begin sending data Mobile Station Access Point RTS CTS
Ad Hoc 802.11 Networks • Ad Hoc Mode • There is no access point. • Stations broadcast to one another directly • Not scalable but can be useful for SOHO use • NICs automatically come up in ad hoc mode
802.11 Security • Attackers can lurk outside your premises • In “war driving,” drive around sniffing out unprotected wireless LANs • In “drive by hacking,” eavesdrop on conversations or mount active attacks. Outside Attacker Site with 802.11 WLAN
802.11 Security • By default, security on 802.11 WLAN NICs and access points is turned off, making external attacks trivial • WLAN vendors offer Wired Equivalent Privacy (WEP), but this is weak and easily broken. • The 802.11 Working Group is working on a temporary replacement (TKIP) and longer-term security replacement, 802.11i • Even if corporate access points can be secured, many departments create unauthorized rogue access points that are seldom secured.