13-LAN, packets, frames and topologies Dr. John Abraham Professor UTPA.

Slides:



Advertisements
Similar presentations
1 Data Link Protocols Relates to Lab 2. This module covers data link layer issues, such as local area networks (LANs) and point-to-point links, Ethernet,
Advertisements

CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
CompTIA Network+ Chapter 2
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
1 Fall 2005 Hardware Addressing and Frame Identification Qutaibah Malluhi CSE Department Qatar University.
OSI Model.
Chapter Two Networking Standards and the OSI Model.
11 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints Adapted from notes By Lami Kaya, © 2009 Pearson Education.
Chapter 9 Hardware Addressing & Frame Type Identification EE 526 Presentation by Ryan Star.
CS335 Networking & Network Administration Tuesday, April 13, 2010.
Chapter 13 Wired LANs: Ethernet
Computer Networks: Bit and Byte Stuffing 1 Bit and Byte Stuffing.
© Janice Regan, CMPT 128, CMPT 371 Data Communications and Networking Ethernet, ARP.
1 Kyung Hee University Chapter 13 Wired LANs: Ethernet.
Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
THE DATA LINK LAYER Out of order with the book Dr. John P. Abraham University of Texas, Panam.
Ethernet, MAC podvrstva
Chapter 13 Wired LANs: Ethernet
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
Packet Transmission (Part III) Local Area Networks (LANs)
Wired LANs: Ethernet In Chapter 1, we learned that a local area network (LAN) is a computer network that is designed for a limited geographic area such.
Chapter 7 Low-Level Protocols
1 Layer 2: Concepts Honolulu Community College Cisco Academy Training Center Semester 1 Version
1 The Internet and Networked Multimedia. 2 Layering  Internet protocols are designed to work in layers, with each layer building on the facilities provided.
Ethernet Fundamentals. The success of Ethernet is due to the following factors: Simplicity and ease of maintenance Ability to incorporate new technologies.
Access to Shared Media - Media Access Control protocols RD-CSY10171.
Ethernet Term Paper Introduced by: Almarshood, Yosef Bahaitham, Ahmed Alrashudi, Ahmed.
Local Area Networks: Ethernet. IEEE Background Institution of Electrical and Electronic Engineering (IEEE) A professional non-profit organization Project.
1 Data Link Layer Lecture 22 Imran Ahmed University of Management & Technology.
Networks. Common Xmit Media Shared Media Networks are a shared communication resource Only one user can access at a time.
1 Semester 1 CHAPTER 6 REVIEW JEOPARDY Frames Data Link LayerMACAddressingHexadecimalsMiscellaneous
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 13.
Chapter 1 - Local Area Network Technologies. How IP Datagrams are Encapsulated IP datagrams are found at the OSI Network layer IP datagrams are sent to.
Chapter 9 Hardware Addressing and Frame Type Identification 1.Delivering and sending packets 2.Hardware addressing: specifying a destination 3. Broadcasting.
1 Ch 9 Hardware Addressing and Frame Type Identification.
Copyright Kenneth M. Chipps Ph.D. Ethernet Frame Format Last Update
Open System Interconnection Describe how information from a software application in one computer moves through a network medium to a software application.
Network Models.
IEEE STANDARDS IEEE STANDARDS In 1985, the Computer Society of the IEEE started a project, called Project 802, to set standards to enable intercommunication.
Chapter 7 OSI Data Link Layer.
1 Hardware Addressing and Frame Type Identification.
Framing and Stuffing Advanced Computer Networks. Framing & Stuffing Outline  Synchronous vs Asynchronous Transmissions  Asynchronous Character Transmissions.
Lecture Focus: Data Communications and Networking  Data Link Layer  MAC Frame Format Lecture 25 CSCS 311.
Wired LANs: Ethernet Shashank Srivastava Motilal Nehru national Institute Of Information Technology, Allahabad 4 Sep 2013.
Network Layer4-1 Chapter 5: The Data Link Layer Our goals: r understand principles behind data link layer services: m error detection, correction m sharing.
Data Communication Network Models
Introduction to Communication Lecture (10) 1. 2 Wired LANs: Ethernet IEEE Project 802 defines the LLC and MAC sublayers for all LANs including Ethernet.
Local Area Networks: Topologies. 2 Packet Identification & MAC Addresses Each packet specifies an intended recipient with an identifier. – Demultiplexing.
Data Communication Networks Lec 18. Wired LAN:Ethernet Datalink layer – Logical link control(LLC) – MAC Physical layer.
LAN Topologies Part 1. What is topology? Topology is the physical or logical interconnection of communicating devices Physical Topology: LANtopology,
ETHERNET Yash Vaidya. Introduction Ethernet is a family of computer networking technologies for local area networks (LANs). Ethernet was commercially.
Data Communications Data Link Layer.
Network Models. 2.1 what is the Protocol? A protocol defines the rules that both the sender and receiver and all intermediate devices need to follow,
1 Kyung Hee University Chapter 13 Wired LANs: Ethernet.
Network Models.
Data Link Layer.
Circuit Switching Circuit switching refers to a communication mechanism that establishes a path between a sender and receiver with guaranteed isolation.
Part III Datalink Layer.
Local Area Networks: Topologies
Data link layer (LLC).
Data Networking via LANs Packets and Frames
Ethernet and Token Ring LAN Networks
Protocol layering and data
Part III Datalink Layer.
Protocol layering and data
Chaithra Ashwin Sanjana
Ethernet and Token Ring LAN Networks
Chapter 13 Wired LANs: Ethernet
Data Link Layer. Position of the data-link layer.
13-LAN, packets, frames and topologies
Presentation transcript:

13-LAN, packets, frames and topologies Dr. John Abraham Professor UTPA

What happens in data transfer? nFor example an message nInformation  Data (alpha numeric characters) nData  Segment nSegment  Packet nPacket  Frame nFrame  Bits

Headers added nData (including application header, presentation header, and session header) nSegment Header – Data nNetwork Header – Segment Header – Data nFrame Header-Network Header- Segment Header – Data – Frame Trailer

Circuit switching Connection mechanism that establishes a path between a sender and receiver, with guaranteed separation from other paths. Originally used electromechanical switching devices to make a physical circuit. Today use electronic devices to establish circuits, and multiple circuits are multiplexed over shared media. Three general properties to define a circuit switched paradigm: –Point-to-point communication –Separate steps for circuit creation, use and termination –Performance equivalent to an isolated physical path.

Circuit Switching

Packet Switching

Basis of internet Sender must divide the message into blocks of data called packets. –The size of a packet varies depending on the packet switching technology used. Uses statistical multiplexing –Communication from multiple sources competes for the use of a shared wire. 3 properties of a packet switched paradigm –Arbitrary, asynchronous communication –No set-up required before communication starts –Performance varies due to statistical multiplexing.

Standards for Packet Format and Identification –LAN – IEEE project 802 –There may be sublayers, eg. Datalink layer is dived into LLC-logical link control (upper portion) and MAC –media access control (lower portion) –Some 802 projects: Ethernet Token bus, Token Ring wirless bluetooth

LAN topologies Bus Ring Star Mesh Advantages and disadvantages

Packet Identification, demultiplexing, mac addresses Only intended recipient should process the packet. Demultiplexing requires an address. Each computer has a unique address (MAC address) and each packet contains the address of this computer. –48 bit address on NIC. 3 bytes (MSB) identify the manufacturer (Unique ID, OUI). Remaining 3 bytes is the number for each card.

Types of MAC addresses Unicast – uniquely identifies a single computer, only that computer get the packet. A source address is always unicast.The lease significant bit of the first byte defines the type of address. If the bit is 0, it is unicast, otherwise multicast. Broadcast – each computer on that network should receive a copy of the packet. All 48 bits are 1s. Multicast – identifies a subnet of computers on a given network and all computers in the subnet will receive the packet.

Examples: 4A:30:10:21:10:1A – lsb of first byte is 0 so unicast (4) 1010 (A) 47:20:1B:2E:08:EE – lsb is 1 so multicast (7) FF:FF:FF:FF:FF:FF – muticast

Broadcast, Multicast and efficient multi-point delivery LAN transmits over a shared medium. All can hear, each machine should examine the address to determine if it belongs self, or discard the packet. See p.233 for algorithm. In case of broadcast or multicast only a single copy needs to be transmitted.

Frames and Framing Framing refers to the structure added to the sequence of bits or bytes that allows a send and receiver to agree on the exact format of the message. A frame header contains information used to process the frame. In a ethernet packet switched network a frame has the same data length (payload) as a packet. An ethernet frame contains seven fields: preamble, SFD, DA, SA, length or type of data unit, upper-layer data and the CRC.

TCP/IP Protocol Suite16 Figure 3.3 Ethernet layers

Framing SOH – start of header EOT – End of Transmission

Stop lecture here Rest of the slides are good for a little deeper study

TCP/IP Protocol Suite19 Figure 3.4 Ethernet frame

Frame Preamble 7bytes alerts the receiving system to the coming frame and enables it to synchronize. SFD – start frame delimiter. 1byte. Signals the beginning of the frame. DA/SA – destination and source address. 6bytes each. Length/type – 2 bytes. number of bytes n the data field. CRC – 4 bytes. Must have DA(6), SA(6), Length(2) Data.. And CRC(4), 18 bytes plus data. Data – encapsulated data from upper layers. minimum of 46 bites and maximum of 1500 bytes. So minumum length of the frame is 64 byte and maximum is 1518 bytes.

802.3 Frame A SNAP header (8bytes) is added (3bytes LLC, 3byte OUI and 2byte type/length) –LLC = Logical Link control –OUI = Organization unique identifier This reduced the maximum payload of 1500 to 1492.

Frame In order to provide service to the network layer, the data link layer must use the service provided to it by the Physical layer. The physical layer only accept a raw bit stream. For a long bit stream, if error occurred during transmission, the entire stream has to be sent again. Therefore, it is broken to smaller frames. Each frame will have to be distinguished somehow. Three methods are used Character count Starting and ending characters, with character stuffing Starting and ending flags, with bit stuffing

Character count The first byte indicates how many characters are in the frame including the first byte. Trouble with this scheme is that if the first byte of any frame gets corrupted, the destination will get out of sequence, having no way to find where the beginning of the next frame is. This method is rarely used any more.

Start and end with control chars with character stuffing Resynchronize at the beginning of each frame Start with ASCII chars DLE & STX –Data Link Escape, Start of Text End with the same sequence If these ASCII char is part of the text then double it –like Jim’’s book - in pascal Problem - must use 8 bit ASCII which is not suitable for all communications

Start and end with flags with stuffing Each frame begins with bit pattern If senders data has five consecutive ones then stuff it with a zero which is deleted at the receiving end This bit pattern called flag byte is added at the end of each frame as well With this method boundary between two frames are easily recognized.