C S Ch 3 Underlying Technologies 4 6

  • Slides: 23
Download presentation
C S Ch 3: Underlying Technologies 4 6 2 2 Dr. Clincy Lecture 1

C S Ch 3: Underlying Technologies 4 6 2 2 Dr. Clincy Lecture 1

C WIRELESS LANS S Wireless communication is one 4 6 2 2 of the

C WIRELESS LANS S Wireless communication is one 4 6 2 2 of the fastest growing technologies. The demand for connecting devices without the use of cables is increasing everywhere. Wireless LANs can be found on college campuses, in office buildings, and in many public areas. In this section, we concentrate on two wireless technologies for LANs: 1) IEEE 802. 11 wireless LANs, sometimes called wireless Ethernet, 2) and Bluetooth, a technology for small wireless LANs. Wi. Fi 1/2/3/4/5 are 802. 11 b/a/g/n/ac Latest Wi. Fi is Wi. Fi 6 (802. 11 ax) Lecture Dr. Clincy 2

C S 4 6 2 2 Wireless Transmission (not in book) • Wireless devices

C S 4 6 2 2 Wireless Transmission (not in book) • Wireless devices can transmit signals using radio frequency narrow band, infrared waves and radio frequency spread spectrum. • The frequency spread spectrum technique is typically used for internet applications • Two types of frequency spread spectrum techniques: (1) FHSS- Frequency Hopping Spread Spectrum and (2) DSSS – Direct Sequence Spread Spectrum Dr. Clincy Lecture 3

C S FHSS- Frequency Hopping Spread Spectrum (not in book) • Tx transmits at

C S FHSS- Frequency Hopping Spread Spectrum (not in book) • Tx transmits at different carrier frequencies for the same period of time (rotates between a set of frequencies) 4 6 2 2 • The required bandwidth must be N times the original bandwidth, where N is the number of different carrier frequencies • Tx and Rx must agree to the hopping pattern. In this case, the first bit signal is transmitted in spectrum 2. 01 -2. 02 Ghz, 2 nd bit transmitted in the 2. 03 -2. 04 Ghz spectrum, 3 rd bit transmitted in the 2. 04 -2. 05 GHz spectrum, etc. . • Good technique for security reasons – if someone tunes to one of the 5 frequency spectrums below, they would only get 1/5 of the info being transmitted. Dr. Clincy Lecture 4

C S • DSSS – Direct Sequence Spread Spectrum (not in book) Each bit

C S • DSSS – Direct Sequence Spread Spectrum (not in book) Each bit sent by the Tx is replaced with a set of bits called a “chip code” • For the time it takes to send the original single bit, it now will take more time to send the chip code 4 6 2 2 • Therefore, the data rate must be N times the original data rate, where N is the # of bits of the chip code • Also, the bandwidth for the chip code should N times greater than the original bit stream’s BW Example of original bits being transmitted as 6 -bit chip codes Dr. Clincy Lecture 5

C S ISM bands (not in book) • In 1985, the FCC modified the

C S ISM bands (not in book) • In 1985, the FCC modified the radio spectrum to allow unlicensed devices (operating at 1 watt or less) to ISM bands – Industrial, Scientific and Medical bands 4 6 2 2 • Stimulated growth in wireless technology Dr. Clincy Lecture 6

C S 4 6 2 2 Wireless LANs Architecture • IEEE 802. 11 covers

C S 4 6 2 2 Wireless LANs Architecture • IEEE 802. 11 covers 2 services – (1) BSS - Basic service set and (2) ESS – Extended service set • BSS – is the base architecture for a wireless LAN – it contains a stationary or mobile stations and a central access point (optional) • Without central access point, the BSS can’t transmit to other BSS’s Dr. Clincy example ? Lecture example ? 7

C S 4 6 2 2 Wireless LANs Architecture - ESS • Contains 2

C S 4 6 2 2 Wireless LANs Architecture - ESS • Contains 2 or more BSS’s with central access points • The BBS’s central access points are connected via a distribution system (could be a wired LAN) – this network is called an Infrastructure network • BBS’s within reach of one another can communicate • BBS’s not within reach have to communicate via the central access points Dr. Clincy Lecture 8

C S 4 6 2 2 Wireless LANs Access Method • Wireless LANs use

C S 4 6 2 2 Wireless LANs Access Method • Wireless LANs use an access method similar to CSMA/CD access method discussed last lecture • The access method is called CSMA/CA (vs CSMA/CD) and stands for carrier sense multiple access with collision avoidance • With CSMA/CA, all nodes have equal access and the medium is sensed before data is sent • However, collision detection is not applicable because the environment is wireless – THEREFORE, COLLISIONS MUST BE AVOIDED. CSMA/CA Process Dr. Clincy • Each station determines how long it needs the medium and all other stations refrain from using it • After the Tx detects the medium is free, it sends a RTS (request to send) and it contains the amount of time • The Rx acknowledges the request by issuing a CTS (clear to send) to all stations • Tx sends data • Rx acknowledges the receipt of data Lecture Example 9

C CSMA/CA and NAV S After Rx receive RTS, it waits amount of time

C CSMA/CA and NAV S After Rx receive RTS, it waits amount of time called short interframe space (SIFS), before send a CTS If free, Tx waits amount of time called distributed interframe space (DIFS) 4 6 2 2 The way collisions are prevented is: when the Tx issues a RTS, a timer called Network Allocation Vector (NAV) is created for the duration of time for (1) to (4) above – all stations affected by this transmission uses the NAV in letting it know when it can check the channel for idleness Dr. Clincy Lecture 10

C Frame format S Defines the frame type and some control info Carries the

C Frame format S Defines the frame type and some control info Carries the NAV value or ID of the frame Depends on To DS and From DS fields 4 6 2 2 Defines sequence # of frame for flow control CRC-32 error detection Can carry up to 2312 bytes DS- Distribution System Dr. Clincy Lecture For wireless, some time the protocol recommends “fragmentation” due to corrupted frames (the smaller the better) or frames being too large 11

C Frame Types LANs have three categories of frames: (1) Management Frames, (2) S

C Frame Types LANs have three categories of frames: (1) Management Frames, (2) S • Wireless Control Frames, and (3) Data frames • Mgmt frames – used for the initial communications between stations and access points 4 6 2 2 • Data Frames – used for carrying data and control info • Control Frames – used for accessing the channel and acknowledging frames Dr. Clincy Lecture 12

C Bluetooth S • Wireless LAN technology designed to: 4 6 2 2 –

C Bluetooth S • Wireless LAN technology designed to: 4 6 2 2 – – – connect devices of different functions (ie phone, camera, printer, etc) spontaneously form (devices find each other) connect to the Internet be small by nature – large size will cause chaos Handle data rate of 1 Mbps with 2. 4 GHz of bandwidth Can be interference between 802. 11 b wireless LAN and Bluetooth LANS (802. 15) • The networks are called “Piconet” • Defined by standard 802. 15 (PAN) Dr. Clincy Lecture 13

C Bluetooth Architectures (2 types) • Can have up to 8 stations S •

C Bluetooth Architectures (2 types) • Can have up to 8 stations S • One station is the primary and the rest are secondary stations • all secondary stations synch their clock to the primary station. 4 6 2 2 • The communications with the primary can be 1 -to-1 or 1 -to-many • Can have an unused 8 th secondary – must be activated to use and some existing secondary must be deactivated • Multiple piconets combined is a Scatternet • A secondary station in one piconet can be a primary station in a 2 nd Piconet Dr. Clincy Lecture 14

C Internet – Underlying Technologies S • Recall the various types of interconnected networks

C Internet – Underlying Technologies S • Recall the various types of interconnected networks comprising the Internet: • • LANs, Point-to-Point WANs and Switched WANs We have covered LANS: Ethernet, Token Ring, Wireless and FDDI Ring Let’s cover the Point-to-Point WANs Point-to-Point WANS 4 6 2 2 • Connect devices via a public network line (ie. telephone company) • Telephone company – physical layer • Point-to-Point WAN – data link layer and up • Company services provided to make the connection: • Modem (modem to switching station to ISP) • DSL • Cable Modem Dr. Clincy Lecture • T Lines (ie. T 1, T 3) • SONET (optical carriers) 15

C S Telephony/56 K Modem Digital Signal Analog Signal 4 6 2 2 Digital

C S Telephony/56 K Modem Digital Signal Analog Signal 4 6 2 2 Digital Data Sampled 8000 times per sec with 8 bits per sample (1 bit for control) = 56 kps Dr. Clincy Lecture 16

C S 4 6 2 2 P-to-P: DSL – Digital Subscriber Line • DSL

C S 4 6 2 2 P-to-P: DSL – Digital Subscriber Line • DSL – a set of technologies used to provide high-speed data service over copper wires that connect between the central office and local residences/businesses without expensive repeaters. • How is DSL implemented ? – high-speed DIGITAL WAN between COs – link between subscriber and the network is analog (becoming more and more digital though) • How does DSL work ? – divides the given bandwidth into 3 bands and offer phone service on one band up and down stream traffic on the other 2 – phone service can occur with NO interruptions. Ranges changed for 4 th Book Ed What does POTS stands for ? ? Dr. Clincy Lecture 17

C S 4 6 2 2 P-to-P: Other DSL Services • RADSL – rate

C S 4 6 2 2 P-to-P: Other DSL Services • RADSL – rate adaptive asymmetric DSL – scales back the speed of ADSL based on the quality of the wire and distance between the CO and user. • Side Note: A newer version of ADSL called Universal ADSL (or UADSL) is being deployed in an attempt to standardize ADSL to a set of standard speeds – speeds vary across the Country • HDSL – high bit rate DSL – an digital alternative to T-1 analog service (T-1 contains multiple high-speed analog lines) • SDSL – symmetric DSL – same as HDSL however only 1 line is provided (is full-duplex) • VDSL – very high bit rate DSL – similar to ADSL however, in addition to using twisted-pair, coaxial and fiber -optic can be used in getting a much higher bit rate Dr. Clincy Lecture 18

C S P-to-P: Cable Modem • • 4 6 2 2 • • •

C S P-to-P: Cable Modem • • 4 6 2 2 • • • Still talking about point-to-point WANS Uses the cable TV network How does it work ? . some of the bandwidth dedicated to television signals is used for data traffic. How does it work ? . The data signals are modulated into sine waves and placed on analog channels How does it work ? . Typically, the BW in a neighborhood (or certain proximity) is shared (like a LAN in an office). Therefore, you never know if you have access to all of the BW. The more people using cable modems the worst the performance. Some cable companies can dedicate some BW for phone service therefore offering voice, video/TV and data services on one cable Cable modems are faster than computer modems because they are not limited by the 3000 Hz BW of the telephone line The newer cable systems uses digital cable boxes and digital networks can send/receive data on separate digital channels (draw picture of typical cable/video network – briefly explain history) Dr. Clincy Lecture 19

C S 4 6 2 2 P-to-P: T 1/T 3 Service • Transport carriers

C S 4 6 2 2 P-to-P: T 1/T 3 Service • Transport carriers originally designed for voice (672 circuits ? ? ? ). • Typical “long haul” or “back bone” network – also used to interconnect WANs we mentioned • T 1 line can send 8000 193 -bit frames in one second • T 3 line can send 224, 000 193 -bit frames in one second or be treated as 28 T 1 lines (we called this a channel T 1) • Fractional T lines – several customers sharing a T 1 line – their data is multiplexed onto a single T 1. Dr. Clincy Lecture 20

C S 4 6 2 2 P-to-P: SONET • SONET means Synchronous Optical Networks

C S 4 6 2 2 P-to-P: SONET • SONET means Synchronous Optical Networks – it’s a standard that defines a high-speed fiber-optic data carrier. • Electrical signals (called STSs – synchronous transport signals) are converted to light or optical signals (called optical carriers) • Comes in different rates, OC-1, OC-3, OC-9 …. . OC 48 …. OC-192 • The lowest data rate for SONET (OC-1) is greater than a T 3’s data rate – Wow ! Dr. Clincy Lecture 21

C S PPP frame • To make a point-to-point connection, a protocol is needed

C S PPP frame • To make a point-to-point connection, a protocol is needed at the data link layer (there are multiple protocols) • Well known protocol called PPP (point-to-point protocol) is used • PPP is the protocol of choice when connecting IP networks over telephone lines 4 6 2 2 • Flag – bounds the PPP frame • Address – broadcast address (recall a point -to-point connection) • Control – frame sequencing info could go here – although most LANS don’t need a sequence number on frames (no routing) • Protocol – tells what type of data is in the data field • Data field – actual data • FCS – frame check sequence – used for error detection We also have LCP and NCP. Link Control Protocol – the PPP’s data field carry info regarding the mgmt of the link itself. Network Control Protocol – provides PPP the ability to carry actual IP packets in it’s data field. Dr. Clincy Lecture 22

C Internet – Underlying Technologies • Internet is comprised of LANs, Point-to-Point WANs and

C Internet – Underlying Technologies • Internet is comprised of LANs, Point-to-Point WANs and Switched S WANs 4 6 2 2 • We have covered LANS: Ethernet, Token Ring (not in book), Wireless and FDDI Ring (not in book) • We have covered Pt-to-Pt WANs: Telephony Modem, DSL, Cable/Modem, T-Lines and SONET • We will cover Switched WANs: X. 25, Frame Relay and ATM Dr. Clincy Lecture 23