1 / 42

Network Access Layer: Introduction

Network Access Layer: Introduction. Rick Graziani Cabrillo College graziani@cabrillo.edu. Interacts with the network application software. Transforms data into a recognizable format for the application layer. Data/Stream. Controls the dialogues (connections) between devices.

mweston
Download Presentation

Network Access Layer: Introduction

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. Network Access Layer: Introduction Rick Graziani Cabrillo College graziani@cabrillo.edu

  2. Interacts with the network application software Transforms data into a recognizable format for the application layer Data/Stream Controls the dialogues (connections) between devices Responsible for any reliability, flow control and error control Segment Responsible for message being sent from original sender to final destination Packet Responsible NIC-to-NIC communications on the same network Frame Responsible transmitting the bits over the physical medium (wired or wireless) Bits • Note • These layers and protocols, and the relationship between them will become more evident as you learn about each of the layers and its protocols

  3. Network Interface Cards (NICs) connect a device to the network. • Ethernet NICs are used for a wired connection whereas WLAN (Wireless Local Area Network) NICs are used for wireless.

  4. Network Access Layer: Introduction Rick Graziani Cabrillo College graziani@cabrillo.edu

  5. Physical Layer: Introduction Rick Graziani Cabrillo College graziani@cabrillo.edu

  6. Physical Layer • The OSI physical layer provides the means to transport the bits that make up a data link layer frame across the network media.

  7. Purpose of the Physical LayerPhysical Layer Media • The physical layer produces the representation and groupings of bits for each type of media as: • Copper cable: The signals are patterns of electrical pulses. • Fiber-optic cable: The signals are patterns of light. • Wireless: The signals are patterns of microwave transmissions.

  8. Purpose of the Physical LayerPhysical Layer Standards • Upper OSI layers are performed in software designed by software engineers and computer scientists. • TCP/IP suite are defined by the Internet Engineering Task Force (IETF) in RFCs

  9. Purpose of the Physical LayerPhysical Layer Standards

  10. Fundamental Principles of Layer 1Physical Layer Fundamental Principles

  11. Fundamental Principles of Layer 1Physical Layer Fundamental Principles • Encoding or line encoding - Method of converting a stream of data bits into a predefined "codes”. • Signaling - The physical layer must generate the electrical, optical, or wireless signals that represent the "1" and "0" on the media.

  12. Physical Layer: Introduction Rick Graziani Cabrillo College graziani@cabrillo.edu

  13. Bandwidth and Throughput Rick Graziani Cabrillo College graziani@cabrillo.edu

  14. Fundamental Principles of Layer 1Bandwidth • Bandwidth is the capacity of a medium to carry data. • Typically measured in kilobits per second (kb/s) or megabits per second (Mb/s).

  15. Fundamental Principles of Layer 1Throughput • Throughput is the measure of the actual transfer of bits across the media over a given period of time limited by latency, delay and other factors. • Due to a number of factors, throughput usually does not match the specified bandwidth in physical layer implementations. • http://www.speedtest.net/ • http://ipv6-test.com/speedtest/

  16. Bandwidth and Throughput Rick Graziani Cabrillo College graziani@cabrillo.edu

  17. Data Link Layer: Introduction Rick Graziani Cabrillo College graziani@cabrillo.edu

  18. The Data Link Layer • NIC to NIC communications on the same network.

  19. Reminder of encapsulation/decapsulation Data Link Trailer Data Link Header IP Header TCP Header HTTP Header Data Data Link Trailer Data Link Trailer Data Link Header Data Link Header IP Packet IP Packet Data Link Trailer Data Link Trailer Data Link Header Data Link Header IP Packet IP Packet Data Link Trailer Data Link Trailer Data Link Header Data Link Header IP Packet IP Packet Data Link Trailer Data Link Header IP Header TCP Header HTTP Header Data

  20. Layer 2 Addresses

  21. Purpose of the Data Link LayerData Link Sublayers 802.3 Ethernet 802.11 Wi-Fi 802.15 Bluetooth • Data Link layer has two sublayers (sometimes): • Logical Link Control (LLC) – Software processes that provide services to the Network layer protocols (IPv4, IPv6). • Media Access Control (MAC) - Media access processes performed by the hardware. • Provides Data Link layer addressing and framing of the dataaccording to the protocol in use.

  22. Data Link Layer: Introduction Rick Graziani Cabrillo College graziani@cabrillo.edu

  23. Data Link Layer: Accessing the Media Rick Graziani Cabrillo College graziani@cabrillo.edu

  24. TopologiesControlling Access to the Media

  25. Media Access Control • Media Access Control - Regulates the placement of data frames onto the media. • The method of media access control used depends on: • Media sharing • Do more than two nodes share the media? • If so, how? (Switches, hubs, etc.)

  26. Point-to-Point vs multi-access Multi-access Point-to-Point • Point-to-Point networks • Only two nodes • Protocols: PPP, HDLC, Frame Relay • Multi-access networks (LANs) • Multiple nodes • Subnets mask range depends upon the number of hosts (nodes) • Protocols: Ethernet, 802.11 (wireless), Frame Relay Multipoint

  27. Multi-access Topology • A logical multi-access topology - Enables a number of nodes to communicate by using the same shared media. • Ethernet LANs – Connected by Ethernet switches (legacy hubs) • “Every node “may” see all the frames that are on the medium. • Data Link Destination Address denote which device the frame is for.

  28. Multi-access Addressing 4444 6666 2222 3333 5555 • Multi-access networks require an address to specifically identify the destination. • Much more when we discuss Ethernet 6666 2222

  29. Point-to-Point topology 11111111 • A point-to-point topology connects two nodes directly together. • The media access control protocol can be very simple. • Frames from one devices are for the device at the other end. • Point-to-point topologies, with just two interconnected nodes, do not require special addressing.

  30. Data Link Layer: Accessing the Media Rick Graziani Cabrillo College graziani@cabrillo.edu

  31. Full and Half Duplex Rick Graziani Cabrillo College graziani@cabrillo.edu

  32. Duplex Transmissions • Simplex Transmission: One way and one way only. • Half-duplex Transmission: Either way, but only one way at a time. • Ethernet hubs use half-duplex • Full-duplex Transmission: Both ways at the same time. • Ethernet NICs and switches use full-duplex by default • Most serial links are full-duplex • More later with Ethernet

  33. Full and Half Duplex Rick Graziani Cabrillo College graziani@cabrillo.edu

  34. Data Link Layer: Frame Structures Rick Graziani Cabrillo College graziani@cabrillo.edu

  35. Data Link LayerLayer 2 Frame Structure

  36. Data Link Frame Fields • Data Link frame header fields may include: • Start Frame field - Indicates the beginning of the frame • Source and Destination address fields - Indicates the source and destination nodes on the media • Priority/Quality of Service field - Indicates a particular type of communication service for processing • Type field - Indicates the upper layer service contained in the frame • Logical connection control field - Used to establish a logical connection between nodes • Physical link control field - Used to establish the media link • Flow control field - Used to start and stop traffic over the media • Congestion control field - Indicates congestion in the media

  37. Framing- The Trailer • The signals on the media could be subject to: • Interference • Distortion • Loss • This would change the bit values that those signals represent. • The trailer is used to determine if the frame arrived without error. • Error detection. • The Frame Check Sequence (FCS) field is used to determine if errors occurred in the transmission and reception of the frame.

  38. Cyclic Redundancy Check • Cyclic redundancy check (CRC) is commonly used. • Sending node includes a logical summary of the bits in the frame. • Receiving nodecalculates its own logical summary, or CRC. • Compares the two CRC values. • Equal – Accepts the frame • Different – Discards the frame

  39. Ethernet Protocol for LANs • Ethernet is a family of networking technologies that are defined in the IEEE 802.2 and 802.3 standards. • Uses 48 bit addressing (Ethernet MAC addresses) for Source and Destination • More later!

  40. Point-to-Point Protocol for WANs • Point-to-Point Protocol (PPP) is a protocol used to deliver frames between two nodes.

  41. Wireless Protocol for LANs • 802.11 is an extension of the IEEE 802 standards. • It uses the same 48-bit addressing scheme as other 802 LANs. • Contention-based system using a Carrier Sense Multiple Access/Collision Avoidance (CSMA/CA)

  42. Data Link Layer: Frame Structures Rick Graziani Cabrillo College graziani@cabrillo.edu

More Related