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

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

Chapter 6 Medium Access Control Protocols and Local Area Networks

3.5 CONNECTING DEVICES

CN [Network Devices]

Chapter 4 NETWORK HARDWARE

Connecting LANs, Backbone Networks, and Virtual LANs

Distributed Queue Dual Bus

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

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

Revision of Previous Lectures

Chapter 6 Connecting Device

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

Introduction to LAN Protocols

CHAPTER 2 - NETWORK DEVICES

Data Communications. Connecting 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

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

Some portions courtesy Srini Seshan or David Wetherall

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

Darshan Institute of Engineering & Technology for Diploma Studies

1. Data Link Layer Protocols

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

Networks Hardware Components

More on LANS. LAN Wiring, Interface

Introduction to LAN Protocols

Full file at

ECE 333: Introduction to Communication Networks Fall Lecture 19: Medium Access Control VII

Network Infrastructure

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

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

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

ก ก Information Technology II

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

Multiple Access (1) Required reading: Garcia 6.1, 6.2.1, CSE 3213, Fall 2010 Instructor: N. Vlajic

LAN Overview (part 2) Interconnecting LANs - Hubs

CH : 15 LOCAL AREA NETWORK OVERVIEW

Principles behind data link layer services:

Principles behind data link layer services:

LLC and Bridges. Raj Jain. Professor of CIS. The Ohio State University

Introduction to Networking Devices

Computer Science Department 2 nd semester- Lecture13

Chapter 2. Network Classifications (Cont.)

CSE 123A Computer Networks

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

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.

Principles behind data link layer services

Integrating Information Systems: Technology, Strategy, and Organizational Factors

Medium Access Protocols

Summary of MAC protocols

Fundamentals of Networking Introduction to Networking Devices

Local Area Networks. Aloha Slotted Aloha CSMA (non-persistent, 1-persistent, p-persistent) CSMA/CD Ethernet Token Ring

Introduction to Networks and the Internet

Additional Slides (Basics) Intermediate Systems

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

Communication Networks

OSI Model. Teran Subasinghe MBCS, Bsc.(Hons) in Computer Science - University of Greenwich, UK

CMPE 150 Winter 2009

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

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

Medium Access Control. CSCI370 Lecture 5 Michael Hutt New York Institute of Technology

2. LAN Topologies Gilbert Ndjatou Page 1

Lecture 9: Switched Ethernet Features: STP and VLANs

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

Bridging and Switching Basics

ECE 158A: Lecture 13. Fall 2015

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

Introduction. The fundamental purpose of data communications is to exchange information between user's computers, terminals and applications programs.

Computer Networks. Wenzhong Li. Nanjing University

Switching & ARP Week 3

Good day. Today we will be talking about Local Internetworking What is Internetworking? Internetworking is the connection of different networks.

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

CS343: Data Communication LAN Overview

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

Switched Ethernet Virtual LANs

Local Area Network Overview

Local Area Network(LAN)

CSE 461: Bridging LANs. Last Topic

Chapter 2. Switch Concepts and Configuration. Part I

Guide to Networking Essentials, 6 th Edition. Chapter 6: Network Reference Models and Standards

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

Chapter 9. Ethernet. Part II

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

Contention Protocols and Networks

Configuring your VLAN. Presented by Gregory Laffoon

Types of Computer Networks and their Topologies Three important groups of computer networks: LAN, MAN, WAN

More on Link Layer. Recap of Last Class. Interconnecting Nodes in LAN (Local-Area Network) Interconnecting with Hubs. Computer Networks 9/21/2009

Local Area Networks. Ethernet LAN

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

7010INT Data Communications Lecture 7 The Network Layer

You have to remember that

Chapter 15 Local Area Network Overview

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

Lecture 8: Switched Ethernet and Collision Domains

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

CCNA Exploration1 Chapter 7: OSI Data Link Layer

1: Review Of Semester Provide an overview of encapsulation.

ECSE-4670: Computer Communication Networks (CCN) Informal Quiz 3

Introducing Campus Networks

The MAC Address Format

Media Access Control (MAC) Sub-layer and Ethernet

Transcription:

1 Connecting LANs Required reading: Garcia 6.11 (intro + 6.11.1) CSE 3213, Fall 2010 Instructor: N. Vlajic

Connecting Devices 2 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

Connecting Devices: Repeaters 3 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

Connecting Devices: Hubs 4 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

Connecting Devices: Hubs (cont.) 5 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.

Connecting Devices: Bridges 6 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 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

8 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

9 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

10 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

11 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 S3 2 S3 1

12 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 S3 2 S4 2 S3 1 S4 2

13 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 S3 2 S4 2 S2 1 S3 1 S4 2

14 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 Network LLC MAC 802.3 802.3 802.5 802.5 Network LLC MAC PHY 802.3 802.3 802.5 802.5 PHY 802.3 CSMA/CD 802.5 Token Ring