Chapter 6 Medium Access Control Protocols and Local Area Networks

Similar documents
Connecting LANs. Required reading: Garcia 6.11 (intro ) CSE 3213, Fall 2010 Instructor: N. Vlajic

Connecting LANs. Required reading: Forouzan 17.1 to 17.1 Garcia 6.11 (intro ) CSE 3213, Fall Instructor: N. Vlajic

3.5 CONNECTING DEVICES

Distributed Queue Dual Bus

Data Communications. Connecting Devices

Chapter 4 NETWORK HARDWARE

Chapter 6 Connecting Device

Connecting LANs, Backbone Networks, and Virtual LANs

LAN Interconnection. different interconnecting devices, many approaches Vasile Dadarlat- Local Area Computer Networks

CN [Network Devices]

Internetworking is connecting two or more computer networks with some sort of routing device to exchange traffic back and forth, and guide traffic on

LANs do not normally operate in isolation. They are connected to one another or to the Internet. To connect LANs, connecting devices are needed.

CMPE 150 Winter 2009

Lecture 9: Switched Ethernet Features: STP and VLANs

Hubs. twisted pair. hub. 5: DataLink Layer 5-1

Comp277 Assignment 1 Fall 2011 Due 20 th December 2011 at 11:00am

Telematics I. Chapter 6 Internetworking. (Acknowledement: These slides have been compiled from H. Karl s set of slides)

More on LANS. LAN Wiring, Interface

Darshan Institute of Engineering & Technology for Diploma Studies

Revision of Previous Lectures

LAN Overview (part 2) Interconnecting LANs - Hubs

Computer Science Department 2 nd semester- Lecture13

CHAPTER 2 - NETWORK DEVICES

Switched Ethernet Virtual LANs

Principles behind data link layer services:

Principles behind data link layer services:

Communication Networks ( ) / Spring 2011 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

Switching & ARP Week 3

Network Infrastructure

Principles behind data link layer services

Data Link Layer. Our goals: understand principles behind data link layer services: instantiation and implementation of various link layer technologies

Chapter 15 Local Area Network Overview

Local Area Network Overview

Summary of MAC protocols

Medium Access Protocols

6.1.2 Repeaters. Figure Repeater connecting two LAN segments. Figure Operation of a repeater as a level-1 relay

Chapter 3 Part 2 Switching and Bridging. Networking CS 3470, Section 1

Guide to Networking Essentials Fifth Edition. Chapter 2 Network Design Essentials

Review For Exam 2. Internetworking. Summary Questions. School of Business Eastern Illinois University. School of Business Eastern Illinois University

CH : 15 LOCAL AREA NETWORK OVERVIEW

We are going to see a basic definition of the devices you can find in a corporate wired network, so you can understand basic IT engineering jargon.

Fundamentals of Networking Introduction to Networking Devices

ET4254 Communications and Networking 1

CSE398: Network Systems Design

LAN Protocols. Required reading: Forouzan 13.1 to 13.5 Garcia 6.7, 6.8. CSE 3213, Fall 2015 Instructor: N. Vlajic

Chapter 9. Ethernet. Part II

A. ARPANET was an early packet switched network initially connecting 4 sites (Stanford, UC Santa Barbara, UCLA, and U of Utah).

2. LAN Topologies Gilbert Ndjatou Page 1

Lecture 8: Switched Ethernet and Collision Domains

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061/1110. Lecture 8. Medium Access Control Methods & LAN

Chapter 11 in Stallings 10 th Edition

Communication Networks

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

Underlying Technologies -Continued-

Introduction to LAN Protocols

Some portions courtesy Srini Seshan or David Wetherall

CSE 123A Computer Networks

Growth. Individual departments in a university buy LANs for their own machines and eventually want to interconnect with other campus LANs.

CSE 461: Bridging LANs. Last Topic

Hubs, Bridges, and Switches (oh my) Hubs

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

Introduction to Networks and the Internet

Prepared by Agha Mohammad Haidari Network Manager ICT Directorate Ministry of Communication & IT

Full file at

4.1 Introduction to Media and Devices

Full file at

Networking Devices. Punch_down panels

Computer Networking. December 2004 CEN CN

Introduction to Networking Devices

Bridging and Switching Basics

Chapter 2. Switch Concepts and Configuration. Part I

Introduction to Communication Networks Spring Unit 13 Network extensions Bridges.

Guide to Networking Essentials, 6 th Edition. Chapter 7: Network Hardware in Depth

NETWORK TOPOLOGIES. Application Notes. Keywords Topology, P2P, Bus, Ring, Star, Mesh, Tree, PON, Ethernet. Author John Peter & Timo Perttunen

Wireless Network Security

COMMUNICATION NETWORKS NETW 501

ECE 158A: Lecture 13. Fall 2015

Link layer: introduction

Introducing Campus Networks

Integrating Information Systems: Technology, Strategy, and Organizational Factors

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

Networks Hardware Components

Computer Networks Principles LAN - Ethernet

Additional Slides (Basics) Intermediate Systems

The OSI Model. Open Systems Interconnection (OSI). Developed by the International Organization for Standardization (ISO).

Switching and Forwarding Reading: Chapter 3 1/30/14 1

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

Running Head: NETWORKING 1

Access Technologies! Fabio Martignon

Wired internetworking devices. Unit objectives Differentiate between basic internetworking devices Identify specialized internetworking devices

Applications and Performance Analysis of Bridging with L3 Forwarding on Wireless LANs

CS4700/CS5700 Fundamentals of Computer Networks

CCNA Exploration Network Fundamentals. Chapter 09 Ethernet

Computer Networks. Routing

More on LANs. Roadmap. CPSC Network Programming. ! Hardware Addressing. !LAN Wiring. ! Extending LANs. ! Local Loop Digital Technologies

CS610- Computer Network Solved Subjective From Midterm Papers

Introduction to LAN Protocols

CS343: Data Communication LAN Overview

Mixed-Media Bridging

Transcription:

Chapter 6 Medium Access Control Protocols and Local Area Networks Part II: Local Area Networks LAN Bridges CSE 3213, Winter 2010 Instructor: Foroohar Foroozan

Repeaters, Bridges & Routers Why Connecting Devices in LANs? (1) LANs do not normally operate in isolation they are connected to one another or to the Internet to enable sharing of CPUs, data-bases, programs, etc. (2) as # of devices in a single LAN grows, MAC and error-&-flow control protocols become less effective way to avoid bottlenecks is to divide LAN into multiple LANs, thus reducing # of devices per LAN Types of Connecting Devices connecting devices can operate in different layers of the Internet model (1) repeaters and hubs operate in the first layer (2) bridges operate in the first two layers (3) routers operate in the first three layers 2

Hubs, Bridges & Routers Interconnecting Hubs Repeater: Signal regeneration All traffic appears in both LANs Bridge: MAC address filtering Local traffic stays in own LAN Routers: Internet routing All traffic stays in own LAN Higher Scalability Two Twisted Pairs Hub? Two Twisted Pairs Hub Station Station Station Station Station Station

Repeaters Repeater connecting device that operates only in the physical layer: (1) receive signal on one end (2) regenerate original bit patterns (3) send refreshed signal on the other end connects only segments of the same LAN segments must run the same protocol has no filtering capability every frame received will be regenerated (not amplified) and forwarded location of a repeater is crucial repeater must be placed so that a signal reaches it before noise changes the meaning of any of its bits 4

Hubs Hub multiport repeater!!! (1) receive signal on one end (2) regenerate original bit patterns (3) send refreshed signal over all other ports passive hubs: simply send signal to all connected hosts, without amplifying it active hubs: are connected to electric power source, and are used to refresh the signal sent to all ports Repeaters and hubs primarily extend the physical reach of a network, but at the same time they can create problems. more devices access the medium more traffic degraded LAN performance 5

Hubs (Cont.) Example [ unnecessary frame flooding in LANs with hubs ] If node A sends a frame to node B, hubs H 1, H 2, and H 3 forward the frame to all possible location. H2, and H3 do not have built-in logic to know that A and B are on the same LAN and connected to the same hub, and that repeating the frame is pointless. H 2 H 1 H 3 A B The problem of frame flooding can be resolved by filtering out (not forwarding) frames that have both source and destination address on the same LAN. 6

Bridges Bridge connecting device that operates in both physical & data link layer as a physical-layer device, bridge regenerates the signal it receives as a data link layer device, bridge checks physical / MAC addresses (both source and destination) in frames if frame sent in LAN 1 is destined for a device on LAN 2 receive and forward the frame; otherwise ignore the frame to be able to properly forward / filter frames, bridge must build / learn a forwarding table, aka forwarding database 7

Bridges of Same Type Network LLC Bridge Network LLC MAC MAC MAC MAC Physical Physical Physical Physical Common case involves LANs of same type Bridging is done at MAC level

Transparent Bridges Interconnection of IEEE LANs with complete transparency Use table lookup, and discard frame, if source & destination in same LAN forward frame, if source & destination in different LAN use flooding, if destination unknown Use backward learning to build table observe source address of arriving LANs handle topology changes by removing old entries S1 Bridge S4 S2 LAN1 LAN2 S5 S3 S6

Bridges (Cont.) Example [ filtering with bridges ] Assume the bridge has a table that maps addresses to ports, i.e. maps the address of each host to the bridge port # through which frames from the given host arrive. If a frame destined for station 712B1345142 arrives at port 1, the bridge consults its table to find the departing port. As frames for 712B1345142 leave through port 1, there is no need for frame forwarding. Interface 1 Interface 2 10

Bridges (Cont.) Bridge Learning earliest bridges used static forwarding tables system administrators would manually enter each table entry simple but impractical process whenever a new station was added or removed, the table had to be modified manually dynamic forwarding tables bridge learns the location of all stations gradually, as it operates, and builds forwarding table automatically learning process: bridge inspects both source and destination address of each received frame (a) source address is compared with each entry in table - if a match is not found, add source address together with port number on which frame was received to table - if a match is found, do nothing (b) destination address is compared with each entry in the table - if a match is not found, flood frame on all ports except the one on which the frame was received - if a match is found and port is one on which frame was received, do nothing; otherwise, forward frame to port indicated in table 11

Bridges (Cont.) Example [ bridge learning ] (a) When station A sends a frame to station D, the bridge does not have any entry for either A or D. Hence, - frame is flooded on ports 2 and 3 - by looking at the source address, the bridge learns that station A must be located on the LAN connected to port 1 (LAN 1) frames destined for A must be sent out through port 1. (b) When station E sends a frame to station A, the bridge has an entry for A. Hence - the frame is forwarded only to port 1 - the source address of the frame is added as a second entry to the table 12

Bridges (Cont.) Example [ bridge learning ] S 1 sends a frame to S 5. S1 S2 S3 S4 S5 S1 to S5 S1 to S5 S1 to S5 S1 to S5 LAN1 LAN2 LAN3 B1 B2 Port 1 Port 2 Port 1 Port 2 Address Port S1 1 Address Port S1 1 13

Bridges (Cont.) S 3 sends a frame to S 2. S1 S2 S3 S4 S5 S3 S2 S3 S2 S3 S2 S3 S2 S3 S2 LAN1 LAN2 LAN3 B1 B2 Port 1 Port 2 Port 1 Port 2 Address Port S1 1 S3 2 Address Port S1 1 S3 1 14

Bridges (Cont.) S 4 sends a frame to S 3. S1 S2 S3 S4 S5 S4 S3 S4 S3 LAN1 S4 S3 LAN2 LAN3 B1 B2 Port 1 Port 2 Port 1 Port 2 Address Port S1 1 S3 2 S4 2 Address Port S1 1 S3 1 S4 2 15

Bridges (Cont.) S 2 sends a frame to S 1. S1 S2 S3 S4 S5 S2 S1 LAN1 S2 S1 LAN2 LAN3 B1 B2 Port 1 Port 2 Port 1 Port 2 Address Port S1 1 S3 2 S4 2 S2 1 Address Port S1 1 S3 1 S4 2 16

Bridges (Cont.) Bridges from 802.x to 802.y theoretically, a bridge should be able to connect LANs using different protocols at the data-link layer; however difficulties encounter by such a bridge include: frame format each LAN type has its own frame format reformatting may be required prior to frame forwarding maximum data size if an incoming frame s size is too large for destination LAN, data would have to be fragmented into several frames (this problem is solved at the network layer) data rate each LAN has its own data rate bridge must buffer the frame to compensate for this difference security (e.g.) wireless LANs encrypt frames, so bridge need to decrypt frame before forwarding it to a wired LAN 17