1 / 62

Ch 3: Underlying Technologies (1 of 3)

Ch 3: Underlying Technologies (1 of 3). Lecture #3. Project 1 Posted. Internet – Underlying Technologies. As we mentioned before, the Internet is an interconnection of “backbone” networks JOINED together via routers, gateways and switches

cmetzger
Download Presentation

Ch 3: Underlying Technologies (1 of 3)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Ch 3: Underlying Technologies (1 of 3) Lecture #3 Project 1 Posted Lecture 3 and 4

  2. Internet – Underlying Technologies • As we mentioned before, the Internet is an interconnection of “backbone” networks JOINED together via routers, gateways and switches • Before getting into the higher level protocols, let’s cover more concerning the underlying technologies. Let’s talk about LANS and WANS and etc… • Internet is comprised of LANs, Point-to-Point WANs and Switched WANs • We will cover LANS: Ethernet, Token Ring (not in book), Wireless and FDDI Ring (not in book) • We will cover Pt-to-Pt WANs: Telephony Modem, DSL, Cable/Modem, T-Lines and SONET • We will cover Switched WANs: X.25, Frame Relay and ATM Token Ring (not in book) FDDI Ring (not in book) Lecture 3 and 4

  3. In putting these technologies in perspective Most of the technologies we are about to highlight could be covered as a full blown course – in some cases, multiple courses We will look at each technology from a high level in gathering a general appreciation and understanding of the technology Lecture 3 and 4

  4. LOCAL AREA NETWORKS (LANS) • LAN – a data communication system connecting multiple INDEPENDENT devices such computers, servers, printers, etc.. • Covers up to a certain geographical area – typically within a building or campus • Some Popular LANs: Ethernet, Token Ring, Wireless type LANs, and ATM LANs • Ethernet LAN • Ethernet is the more popular LAN protocol • Designed in 1973 by Xerox • Started out with a 10 Mbps data rate (bus topology) • Today, 100 Mbps and 1 gigabit per second exist (gig=1000 Mbps) • IEEE 802.3 standard describes the Ethernet protocol Lecture 3 and 4

  5. CSMA/CD • The 802.3 standard describes the CSMA/CD standard as the access method for the original Ethernet • CSMA/CD stands for carrier sense multiple access with collision detection. • The transport medium is shared – only one station or node can use the medium at a time • All stations can receive a sent frame however, only the destination station takes it in (the other stations drop the frame) • How can we make sure no two stations are using the transport medium at the same time ? If this happened, the 2 frames could “collide” • CSMA/CD solves this problem: • CSMA/CD Process • Every station has equal access to the medium • Station listens to or senses the medium before sending frame – if no data, it can send – if data exist, wait • Suppose 2 stations sense at the same time and find no data on the medium, crash will happen • In this case, all stations sense the collision and each Tx send a “jam signal” to delete the data it sent • Then each station waits a randomly amount of time and try it again – this prevents a second collision Notice that Station Z receives a collision signal 1 time period earlier than Station A Lecture 3 and 4

  6. CSMA/CD • 3 factors relate to CSMA/CD • 1. Minimum frame length • 2. Data transmission rate • 3. Collision domain (maximum network distance) • The amount of time a station needs to wait in making sure no data is on the line) is minimum frame length divided by the data transmission rate. Why ?? (Speed=Distance/Time) – the larger the frame, the longer the time to wait – however, sensing is shorter) • Amount of time to send the smallest frame (ie. an 8 bit frame at 2 bps will take 8/2 = 4 seconds to send – therefore, need to wait ATLEAST 4 seconds) • This time is proportionate to the time it will take the first bit to travel the maximum network distance (collision domain). • Therefore, (max network distance)/(propagation speed) proportionate to (min frame length)/(transmission-rate) • Data transmission rate – data transfer rate – how fast to send a certain amount of bits from one device to another • For the original Ethernet: min frame size=520 bits, transmission rate=10 Mbps and the max network distance=2500 meters Lecture 3 and 4

  7. Increasing Speed of Ethernet • Decrease collision domain • Increase minimum frame length Detect faster Larger frame Smaller frame Lecture 3 and 4

  8. Ethernet layers • Ethernet’s data link layer is sub-divided into MAC Layer and LLC Layer • MAC Layer – media access control layer – controls the CSMA/CD access method. Also performs the “framing” work. • LLC Layer – logical link control layer – performs the error and flow control routines Lecture 3 and 4

  9. Ethernet frame • The Ethernet frame consist of 7 fields: preamble, SFD, DA, SA, length/type of PDU, 802.2 frame (the actual data) and CRC • Frame doesn’t provide acknowledgment or “hand shaking” fields – unreliable medium • Preamble – alternating 1s and 0s t alert and synchronize the Rx • SFD – start field delimiter – signals the beginning of the frame • Destination address – contains the address of the next node( intermediate or Rx) • Source address – contains the address of the sending node (Tx or intermediate) • Length of protocol data unit – if less than 1518, defines the length up-and-coming data field – if greater than 1536, tells the protocol that uses the service • Data & padding – data encapsulated from higher layers – size ranges between 46 bytes to 1500 bytes • CRC – cyclic redundancy check – error detection info Lecture 3 and 4

  10. Ethernet implementation Each device on an Ethernet network has a NIC (network interface card) Contains the physical address –ah ha, this is how I can change locations and still get emails • Ethernet addressing: • Unicast • Multicast • Broadcast • Some implementations of Ethernet: • 10BASE5 (thick ethernet) • 10BASE2 (thin ethernet) • 10BASE-T (twisted pair) • 10BASE-FL (fiber link) Connects host to medium and perform CSMA/CD British naval connector or bayonet nut connector – for coaxial cable Lecture 3 and 4

  11. Ethernet implementation Lecture 3 and 4

  12. Ethernet implementation Unshielded twisted pair Lecture 3 and 4

  13. Fast Ethernet implementation Lecture 3 and 4

  14. Gigabit Ethernet implementation Need for data rates higher than 100 Mbps resulted in a 1000 Mbps Ethernet called gigabit Ethernet Again, we had the choice to either decrease the collision domain or increase the minimum frame size Because 25 meters for the 100 Mbps Ethernet was short enough, the minimum frame size was increased to get the desired speed Another option is to do away with the CSMA/CD overhead by connecting every station to the hub using 2 separate paths (this will do away with collisions) – called full-duplex Ethernet Lecture 3 and 4

  15. Token Ring LAN • Token Ring is a protocol defined by IEEE 802.5 • Use a token passing ACCESS method • Token Passing Method • During idle times (network not being used), a token circulates • The token is passed station to station until a station needs to send data • When the station sends it’s data, it holds the token • The data (or frame) circulates and get re-generated by each station • The Rx takes in and COPY the frame (based on destination address) • The data then continues back to the original Tx • Token is then release to circulate Lecture 3 and 4

  16. Token Ring layers • Uses the same layers as Ethernet (MAC and LLC) • LLC Layer – logical link control layer – performs the error and flow control routines (same as Ethernet) • MAC Layer – media access control layer –it implements the Token Passing Access Method (versus Ethernet’s CSMA/CD access method) Token Ring Lecture 3 and 4

  17. Token Ring Implementation • Token Ring is a series of shielded twisted pair transport medium linking each station into a ring • Because the token needs to pass through each station with in the ring, if a station is down, it could be a problem • Therefore, for each station, a switch is used to by pass the down (or disabled) station • These bypass switches are packaged together as a MAU – multi-station access unit NOTE: As we covered last lecture, don’t confuse the Ring Token technology with the Ring topology. With a ring topology approach, you would want to traverse in either direction (this is the main benefit of a ring topology) – explain Ethernet in ring topology. Lecture 3 and 4

  18. FDDI Ring • FDDI stands for Fiber Distributed Data Interconnect • Data rate is the same as Fast Ethernet (100 Mbps) • Light signals versus electrical signals are used • Uses a token passing access method with self-healing • What do we mean by “self healing” ? Ability to detect and fix problems. The hardware automatically recognizes and fix problems Lecture 3 and 4

  19. FDDI Ring • How does the “self-healing” works ? • Two independent rings connecting all stations are used – dual counter-rotating rings • The second ring is used only if a failure occurs • Functions like a Token Ring LAN until a failure (ie. fiber cut, node failure) • In this case, the intermediate (non-Rx) nodes keep copies of the sent frame too Lecture 3 and 4

  20. FDDI Ring • When the station detects it can’t communicate with the adjacent station, it uses the second ring to bypass the adjacent station • Given a fiber cut or node failure, this station is bypassed and the ring is closed Lecture 3 and 4

  21. WIRELESS LANS Wireless communication is one 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: • IEEE 802.11 wireless LANs, sometimes called wireless Ethernet, • and Bluetooth, a technology for small wireless LANs. Lecture 3 and 4

  22. 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 Lecture 3 and 4

  23. 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) • 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.02Ghz, 2nd bit transmitted in the 2.03-2.04 Ghz spectrum, 3rd 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. Lecture 3 and 4

  24. 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 • 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 Lecture 3 and 4

  25. 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 • Stimulated growth in wireless technology Lecture 3 and 4

  26. 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 example ? example ? Lecture 3 and 4

  27. 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 Lecture 3 and 4

  28. 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 • 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 3 and 4 Example

  29. Bluetooth • Wireless LAN technology designed to: • 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.11b wireless LAN and Bluetooth LANS (802.15) • The networks are called “Piconet” • Defined by standard 802.15 (PAN) Lecture 3 and 4

  30. Bluetooth Architectures (2 types) • Can have up to 8 stations • One station is the primary and the rest are secondary stations • all secondary stations synch their clock to the primary station. • The communications with the primary can be 1-to-1 or 1-to-many • Can have an unused 8th 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 2nd Piconet Lecture 3 and 4

  31. Ch 3: Underlying Technologies Lecture #5 Exam 1 scheduled for Wednesday: Open Book Closed Notes (no laptop), T/F, MC, Matching, Short Problems Lecture 4

  32. Internet – Underlying Technologies • 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 • 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 • T Lines (ie. T1, T3) • SONET (optical carriers) Lecture

  33. Telephony/56K Modem Digital Signal Analog Signal Digital Data Sampled 8000 times per sec with 8 bits per sample (1 bit for control) = 56 kps Lecture

  34. Ranges changed for 4th Book Ed What does POTS stands for ?? 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 and up and down stream traffic on the other 2 – phone service can occur with NO interruptions. Lecture

  35. 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 Lecture

  36. P-to-P: Cable Modem • 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) Lecture

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

  38. 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 T3’s data rate – Wow ! Lecture

  39. 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 • Protocol – tells what type of data is in the data field • Data field – actual data • FCS – frame check sequence – used for error detection • 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) 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. Lecture

  40. Internet – Underlying Technologies • Internet is comprised of LANs, Point-to-Point WANs and Switched WANs • 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 Lecture

  41. SWITCHED WANS • Switched WAN - a mesh of point-to-point networks connected via switches • Unlike LANS – multiple paths are needed between locations • Unlike LANS – no direct relationship between Tx and Rx • Paths are determined upfront and theses paths are used to send and receive (multiple paths for reliability and restoration) – recall that LANS uses Tx/Rx addresses to make the connection • Uses Virtual Circuit concept • 3 well known Switch WANs:X.25, Frame Relay and ATM Lecture

  42. X.25 • Developed in 1970 – the first switch WAN – becoming more and more obsolete • X.25 standard describes all of the functions necessary for communicating with a packet switching network • Divided into 3 levels: • (1) physical level – describes the actual interfaces • (2) frame level – describes the error detection and correction • (3) Packet level – provides network-level addressing (constant BW efficiency problem – but it worked) Because X.25 was developed before the Internet, the IP packets are encapsulated in the X.25 packet when you have an IP network on each side of a X.25 backbone Lecture

  43. Frame Relay Network • Designed to replace X.25 • Have higher data rates than X.25 • Can handle “bursty data” by allocating BW as needed versus dedicating constant chucks of BW • Less error checking and overhead needed – more reliable and efficient • DTE – data terminating equipment – devices connecting users to the network (ie routers) • DCE – data circuit-terminating equipment – switches routing the frames through the network Frame Relay Switches in the yellow cloud Lecture

  44. Switched WANs - ATM • ATM – Asynchronous Transfer Mode – is a cell relay protocol • Objectives of ATM (upfront initiative): • Make better use of high data rate transmission (ie. fiber optics) • WAN between various types of packet-switch networks that will not drive a change in the packet-switch networks • Must be inexpensive (no barrier to use) – want it to be the international backbone • Must be able to support the existing network hierarchies – local loops, long-distance carriers, etc..) • Must be connection-oriented (high reliability) • Make more hardware oriented versus software oriented in speeding up rates (explain this – circuit vs software) • Cell – small unit of data of fixed size – basic unit of data exchange • Different types of data is loaded into identical cells • Cells are multiplexed with other cells and routed • By having a static size, the delivery is more predictable and uniform Lecture

  45. ATM multiplexing • ATM uses asynchronous time-division multiplexing – cells from different channels are multiplexed • Fills a slot with a cell from any channel that has a cell Lecture

  46. Architecture of an ATM network • User access devices (called end points) are through a user-to-network interface (UNI) to switches in the network • The switches are connected through network-to-network interfaces (NNI) Lecture

  47. Virtual circuits • Connections between points are accomplished using transmission paths (TP), virtual paths (VP) and virtual circuits (VC). • TP – all physical connections between two points • VP – set of connections (a subset of TP) (ie. Highway) • VC – all cells belonging to a single message follow the same VC and remain in original order until reaching Rx (ie. Lane) • The virtual connection is defined by the VP and VC identifiers Lecture

  48. An ATM cell Lecture

  49. ATM layers • ATM Standard defines 3 layers: Application Adaptation Layer, ATM Layer and Physical Layer • Application Adaptation Layer – facilitates communications between ATM networks and other Packet-Switched Networks by taking the packets and fitting them into fixed-sized CELLS. • At the Rx, cells are re-assembled back into packets • Keep in mind that any type of transmission signal can be packaged into an ATM cell: data, voice, audio and video - makes ATM very powerful • Application Adaptation Layer is divided into 4 parts: • AAL1- handles the constant bit rate cases (ie. voice, real-video) • AAL2- handles variable bit rate cases (ie. compressed voice, non-real-time video, data) • AAL3/4 – handles connection-oriented data services (ie VoIP) • AAL5 – handles connectionless-oriented protocols (ie. TCP/IP) Lecture

  50. ATM layers • ATM Layer in general – routing, flow control switching & multiplexing • ATM Layer – going down – accepts bytes segments and translate to cells • ATM Layer – going up – translate cells back into byte segments – keep in mind that a node can be acting as both an intermediate and Rx node (and Tx) • ATM Physical Layer – translate cells into a flow of bits (or signals) and vice versa Lecture

More Related