LANs and ARP. Networking. Sirindhorn International Institute of Technology Thammasat University. Networking. LANs and ARP.

Similar documents
Ethernet. ITS323: Introduction to Data Communications CSS331: Fundamentals of Data Communications

Ethernet. Contents. ITS323: Introduction to Data Communications CSS331: Fundamentals of Data Communications. IEEE 802 LANs.

Computer Communication and Networks Lab Experiment 6 MAC Address and Ethernet Packet

CS 43: Computer Networks Switches and LANs. Kevin Webb Swarthmore College December 5, 2017

Objectives. Hexadecimal Numbering and Addressing. Ethernet / IEEE LAN Technology. Ethernet

ROYAL INSTITUTE OF INFORMATION & MANAGEMENT

Chapter 3. Underlying Technology. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

NT1210 Introduction to Networking. Unit 5:

IP Addressing and Subnetting

BABU MADHAV INSTITUTE OF INFORMATION TECHNOLOGY, UTU 2017

Internet Protocol Addressing and Routing. Redes TCP/IP

Module 5. Broadcast Communication Networks. Version 2 CSE IIT, Kharagpur

1: Review Of Semester Provide an overview of encapsulation.

Chapter 5 Reading Organizer After completion of this chapter, you should be able to:

IEEE standards for local area networks

The Link Layer and LANs: Ethernet and Swiches

TCP/IP and OSI Model Ethernet LAN Network Cables Network Devices Network Topologies Redundant Internet Connections VLANs Wireless LANs Upcoming

Copyright 2011 Sakun Sharma

CS 3516: Advanced Computer Networks

A LAN is a high-speed data network that covers a relatively small geographic area. It typically connects workstations, personal computers, printers,

Solved MCQ of Computer networking. Set-1

Data Link Layer -2- Network Access

Introduction to LAN Protocols

Frame Transmission. Frames are transmitted using physical addresses within a network. N Z : network address (same scheme globally) ß R2,N R2 ß B,N B

Introduction to Ethernet. Guy Hutchison 8/30/2006

Networking Technologies and Applications

Data Link Layer -2- Network Access

Principles behind data link layer services:

CCNA Exploration Network Fundamentals. Chapter 09 Ethernet

Networking. Networking and Communication Trends Convergence (Accessibility) Speed Stability Simplicity* Embeddedness

The Network Access Layer. In This Lecture. Network Access Layer. Hour 3

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 18

Chapter 9 Ethernet Part 1

Switching & ARP Week 3

Introduction to LAN Protocols

Network.... communication system for connecting end- systems. End-systems a.k.a. hosts PCs, workstations dedicated computers network components

Data Link Protocols. TCP/IP Suite and OSI Reference Model

Summary of MAC protocols

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

LAN PROTOCOLS. Beulah A AP/CSE

M242 COMPUTER NETWORS AND SECURITY

Networking Fundamentals. An Introduction to Networks. tel: +44 (0) fax: +44 (0) web:

Zarządzanie sieciami telekomunikacyjnymi

Medium Access Protocols

Lab Using Wireshark to Examine Ethernet Frames

MODULE: NETWORKS MODULE CODE: CAN1102C. Duration: 2 Hours 15 Mins. Instructions to Candidates:

Chapter 9 & 12: Wired LAN

Computer Networks Principles LAN - Ethernet

Sirindhorn International Institute of Technology Thammasat University

Chapter 9. Ethernet. Part II

Lecture 9 The Data Link Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Chapter 7. ARP and RARP MGH T MGH C I 20

Link Layer and Ethernet

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Overview of Ethernet Networking

Chapter 16 Networking

PUCPR. Internet Protocol. Edgard Jamhour E N G L I S H S E M E S T E R

Link Layer and Ethernet

3.5 CONNECTING DEVICES

Lecture 8: Switched Ethernet and Collision Domains

Part3. Local Area Networks (LAN)

Local Area Networks. Ethernet LAN

Lecture 4b. Local Area Networks and Bridges

PLANEAMENTO E GESTÃO DE REDES INFORMÁTICAS COMPUTER NETWORKS PLANNING AND MANAGEMENT

Internet Protocol (IP)

Lab Using Wireshark to Examine Ethernet Frames

Introduction. High Speed LANs. Emergence of High-Speed LANs. Characteristics of High Speed LANS. Text ch. 6, High-Speed Networks and

Other Protocols. Arash Habibi Lashkari

Interface The exit interface a packet will take when destined for a specific network.

IT Essentials (ITE v5.0 & v5.02) Chapter 6 Exam Answers 100% 2016

Link Layer and LANs. CMPS 4750/6750: Computer Networks

CS1302 / Computer Networks

Principles behind data link layer services

SIMPLE ROUTER PROJECT 2

EITF25 Internet Techniques and Applications L4: Network Access. Stefan Höst

CS6551 COMPUTER NETWORKS QUESTION BANK UNIT 1 PART A

Linux System Administration

Mobile MOUSe ROUTING AND SWITCHING FUNDAMENTALS ONLINE COURSE OUTLINE

The Internet software layers

Full file at

CS610 Computer Network Final Term Papers Solved MCQs with reference by Virtualians Social Network

The random access methods we study in this chapter have evolved from a very interesting protocol known as ALOHA, which used a very simple procedure

ET4254 Communications and Networking 1

Chapter 5: Ethernet. Introduction to Networks - R&S 6.0. Cisco Networking Academy. Mind Wide Open

Sirindhorn International Institute of Technology Thammasat University

Local Area Networks (LANs): Packets, Frames and Technologies Gail Hopkins. Part 3: Packet Switching and. Network Technologies.

University of Human Development College of Science and Technology Department of Information Technology. Data Communication and Networking

IEEE 802 LANs SECTION C

ก ก Information Technology II

More on LANS. LAN Wiring, Interface

CS 356: Computer Network Architectures. Lecture 10: IP Fragmentation, ARP, and ICMP. Xiaowei Yang

Introduction to LAN Topologies Cabling. 2000, Cisco Systems, Inc. 3-1

Chapter 5 Link Layer. Computer Networking: A Top Down Approach. 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012

GAYATRI COMPUTERS Prepared by : VENKAT.G 1. Module 1: NETWORK BASICS

exam. Number: Passing Score: 800 Time Limit: 120 min CISCO Interconnecting Cisco Networking Devices Part 1 (ICND)

Data and Computer Communications

Principles behind data link layer services:

CSCD 330 Network Programming Winter 2016

Principles behind data link layer services:

CSC 4900 Computer Networks: Link Layer (2)

Transcription:

Sirindhorn International Institute of Technology Thammasat University Prepared by Steven Gordon on 5 November 2013 Common/Reports/lans-arp.tex, r723 1/22

Contents LANs IEEE 802.3 Address Resolution and 2/22

LANs Local Area Networks (LANs) connect end-user devices across homes, factories, office buildings, campuses Owned and operated by owner of end-user devices Many popular LAN technologies are standardised by IEEE in the 802 series IEEE 802.3 is most widespread wired LAN technology Also called 3/22

IEEE 802 Protocol Architecture 4/22

IEEE 802.3 LANs Physical Layer Original popular : 10 Mb/s, bus topology, coaxial cable, CSMA/CD, half-duplex Fast : 100 Mb/s, star (switched) topology, UTP, no MAC, full-duplex Gigabit : 1 Gb/s, switched, twisted pair or optical fibre 10-Gigabit : between switches, servers 40 Gb/s and 100 Gb/s is available Topology 5/22 Bus Ring Star: commonly used today switched

Switched Topology Stations (hosts, routers) connect via full-duplex twisted pair to switch Switch has multiple ports, e.g. 4, 8, 24, 48 All frames between stations pass via the switch 6/22

Contents LANs IEEE 802.3 Address Resolution and 7/22

IEEE 802 Addresses IEEE 802 standards use common IEEE 48-bit address format Commonly called MAC or hardware addresses Globally unique (ideally) First 24-bits assigned by IEEE to manufacturer http://standards.ieee.org/regauth/oui/ Second 24-bits assigned by manufacturer to device For simplicity, represented as 6 2 digit hexadecimal numbers, e.g. 90:2b:34:60:dc:2f Special case broadcast address: ff:ff:ff:ff:ff:ff Common in other standards: Bluetooth, ATM, FDDI, FibreChannel IEEE 64-bit address is alternative format: Firewire, ZigBee, IPv6 8/22

IEEE 802.3 Typical maximum data size is 1500 Bytes (optional Jumbo frames) 1st 8 bytes (preamble, delimiter) sometimes considered part of Physical layer 9/22

Example Hardware Addresses 10/22 Hardware (MAC) addresses are assigned to LAN card by manufacturer Each station (hosts and routers) have address for each network interface card

Example MAC Table used by Switch Switch learns address of station at other end point of link Store address and port in memory; used for forwarding frames 11/22

Example IP Addresses 12/22 Interfaces also have IP addresses; assigned manually or dynamically (DHCP) All IP addresses in the LAN have same network portion Example: subnet mask is /24; network address is 192.168.1.0

Contents LANs IEEE 802.3 Address Resolution and 13/22

Mapping IP to Hardware Address IP-based applications (software) communicate to applications on other computers using logical IP addresses Stations inside a LAN communicate to other stations using physical hardware addresses Assume source application knows destination computer by IP address What is the hardware address of destination computer (or device to reach destination computer)? Address Resolution Protocol () maps IP addresses to hardware addresses 14/22

Address Resolution Protocol Motivation Source S needs to send data to destination IP dst Therefore, S needs to know hardware address of destination, i.e. HW dst Approach 1. S asks all stations on LAN: Who has address IP dst? Broadcast request packet Sent on-demand 2. Station with address IP dst replies: I have IP dst (and my hardware address is HW dst ) Unicast reply packet Cache recent replies in table 15/22

Example Request from Station F F knows destination IP 192.168.1.1 Request broadcast to LAN (switch sends to all other ports) 16/22

Example Request from Station F ff:ff:ff:ff:ff:ff (all binary 1 s) is special LAN broadcast address 00:00:00:00:00:00 (all binary 0 s) is special when address unknown 17/22

Example Reply to Station F Reply sent only by station that knows the request IP address 18/22

Example Reply to Station F F learns hardware address of 192.168.1.1: ec:c8:82:cd:ef:01 F can cache the value to avoid Request/Reply in future C may also cache hardware address for F 19/22

Example Routing Table of Station F Stations also have routing table Indicates next IP device to send in order to reach some destination 20/22

Example Addressing in LAN 21/22 1. F: IP datagram with destination 1.1.1.1 2. F: Lookup routing table send to 192.168.1.1 3. F: Lookup table send to ec:c8:82:cd:ef:01 4. Switch: Lookup MAC table send on port 3 5. C: Lookup routing table send on next hop (not shown)

Example IP Datagram from Station F F sends the datagram to the router Router C will send on next hop (not shown) 22/22