Underlying Technologies -Continued-

Similar documents
Hubs, Bridges, and Switches (oh my) Hubs

Summary of MAC protocols

Medium Access Protocols

Principles behind data link layer services

Principles behind data link layer services:

Principles behind data link layer services:

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

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

Chapter 6 Connecting Device

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

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

Data Communications. Connecting Devices

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

3.5 CONNECTING DEVICES

Chapter 5 Link Layer and LANs

Network Infrastructure

Some portions courtesy Srini Seshan or David Wetherall

Chapter 4 NETWORK HARDWARE

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

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

Switching & ARP Week 3

Lecture 9: Switched Ethernet Features: STP and VLANs

CSE 123A Computer Networks

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

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

CSE 123: Computer Networks Alex C. Snoeren. HW 2 due Thursday 10/21!

Lecture 6: Bridging & Switching. Last time. Today. CSE 123: Computer Networks Chris Kanich. How do multiple hosts share a single channel?

LAN Overview (part 2) Interconnecting LANs - Hubs

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

Introduction to LAN Protocols

ECE 4450:427/527 - Computer Networks Spring 2017

EE 122: Ethernet and

CHAPTER 2 - NETWORK DEVICES

CH : 15 LOCAL AREA NETWORK OVERVIEW

Computer Science Department 2 nd semester- Lecture13

Lecture 9: Bridging & Switching"

Introduction to LAN Protocols

CSCD 330 Network Programming Spring 2017

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

LAN Interconnection and Other Link Layer Protocols

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

CMPE 150 Winter 2009

Layer 2 functionality bridging and switching

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

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Lecture 5 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

More on LANS. LAN Wiring, Interface

ET4254 Communications and Networking 1

CN [Network Devices]

EPL606. Internetworking. Part 2a. 1Network Layer

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

Bridging and Switching Basics

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

Computer Networks. Wenzhong Li. Nanjing University

Hubs. Interconnecting LANs. Q: Why not just one big LAN?

Packet Switching Techniques

Local Area Network Overview

Connecting LANs, Backbone Networks, and Virtual LANs

CSCI Computer Networks

7010INT Data Communications Lecture 7 The Network Layer

CSC 4900 Computer Networks: Link Layer (2)

Computer Network Fundamentals Spring Week 3 MAC Layer Andreas Terzis

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

Extending the LAN. Context. Info 341 Networking and Distributed Applications. Building up the network. How to hook things together. Media NIC 10/18/10

Data Communication. Introduction of Communication. Data Communication. Elements of Data Communication (Communication Model)

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

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

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

Chapter 5: The Data Link Layer. Chapter 5 Link Layer and LANs. Ethernet. Link Layer. Star topology. Ethernet Frame Structure.

CSC 401 Data and Computer Communications Networks

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

Redes de Computadores. Medium Access Control

The Link Layer and LANs: Ethernet and Swiches

Full file at

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

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

Distributed Queue Dual Bus

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

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

2. LAN Topologies Gilbert Ndjatou Page 1

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

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

Chapter 16 Networking

Introduction to Networking Devices

Integrating Information Systems: Technology, Strategy, and Organizational Factors

King Fahd University of Petroleum & Minerals Electrical Engineering Department EE 400, Experiment # 2

Chapter 5 Link Layer and LANs

LAN PROTOCOLS. Beulah A AP/CSE

Lecture 7. Reminder: Homework 2, Programming Project 1 due today. Homework 3, Programming Project 2 out, due Thursday next week. Questions?

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

A primer on modern LANs

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

Link Layer and LANs. Our Goals. Link Layer

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

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

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

CCNA Exploration Network Fundamentals. Chapter 09 Ethernet

Top-Down Network Design

DD2490 p Layer 2 networking. Olof Hagsand KTH CSC

Computer Networking. December 2004 CEN CN

Transcription:

S465 omputer Networks Spring 2004 hapter 3 (Part B) Underlying Technologies -ontinued- Dr. J. Harrison These slides were produced from material by Behrouz Forouzan for the text TP/IP Protocol Suite (2 nd Edition) and from Kurose & Ross, omputer Networking; A Top-down Approach Featuring the Internet s, Bridges and Switches ONNETING DEVIES Used for extending LANs in terms of geographical coverage, number of nodes, administration capabilities, etc. Differ in regards to: collision domain isolation layer at which they operate Internet Internet is neither single LAN or WAN Interconnected WANs and LANs Interconnection achieved via connecting devices Repeaters & s operate in 1 st TP/IP Layer same as 1 st ISO/OSI Layer Bridges operate in the first two layers Routers operate in the first three layers Switches Sophisticated bridge Sophisticated router onnecting devices

Repeaters Signals attenuate over longer distances Before attenuation causes the signal to become too weak or become corrupted, repeater regenerates and transmits the original bit pattern Operates only at physical layer Simply retransmits bit with more energy no SMS/D performed No address filtering capability Partitions network into segments All segments in same collision domain. Repeater s Overloaded term but means: multiport repeater Used to create connections in a physical star configuration All nodes must use same technology Example: 10BASE-T Ethernet LAN s can be used to build hierarchies to overcome attenuation limitations Multi-tier Design LAN Segment s Backbone with Point-to-Point onnection LAN Segment Network still one LAN with logical bus topology Every packet sent is still received by all stations Hierarchy removes length limitations of 10BASE-T s Physical Layer devices: essentially repeaters operating at bit levels: repeat received bits on one interface to all other interfaces s can be arranged in a hierarchy (or multi-tier design), with a backbone hub at its top Each connected LAN is referred to as a LAN segment s do not isolate collision domains: a node may collide with any node residing at any segment in the LAN s (ont.) Advantages: + Simple, inexpensive device + Multi-tier provides graceful degradation: portions of the LAN continue to operate if one of the hubs malfunction +Extends maximum distance between node pairs (100m per ) Limitations: - Single collision domain results in no increase in max throughput; the multi-tier throughput same as the the single segment throughput - Individual LAN restrictions pose limits on the number of nodes in the same collision domain (thus, per ); and on the total allowed geographical coverage - annot connect different Ethernet types (e.g., 10BaseT and 100baseT)

Bridges Link Layer devices: they operate on Ethernet frames, examining the frame header and selectively forwarding a frame based on its destination Bridge isolates collision domains since it buffers frames When a frame is to be forwarded on a segment, the bridge uses SMA/D to access the segment and transmit Bridge advantages: + Isolates collision domains resulting in higher total max throughput, and does not limit the number of nodes nor geographical coverage + an connect different type Ethernet since it is a store and forward device + Transparent: no need for any change to hosts LAN adapters Bridge Network Segmentation Increased Bandwidth Protocol Independent Segmenting Ethernet Bridge Segment 1 Segment 2 Bridges Operates in physical and data link layers Physical layer: regenerates signal it receives Data Link Layer: filtering and forwarding Examines the physical addresses in the packet Decides if packet should be forwarded If forwarded, decides which interface and places frame in that interface s buffer Decision based on table that map addresses to interfaces Bridge Filtering Bridges learn which hosts can be reached through which interfaces and maintain filtering tables A filtering table entry: (Node LAN Address, Bridge Interface, Time Stamp) Filtering procedure: if destination is on LAN on which frame was received then drop the frame else { lookup filtering table if entry found for destination then forward the frame on interface indicated; else flood; /* forward on all but the interface on which the frame arrived*/ } Bridge Learning When a frame is received, the bridge learns from the source address and updates its filtering table (Node LAN Address, Bridge Interface, Time Stamp) Stale entries in the Filtering Table are dropped TTL could be 60 minutes Bridge Table ontains tuples: 1. LAN address of node (62-AE-F7-23-45-B4) 2. Bridge interface of node 3. Timestamp of table entry Bridge will learn physical addresses Examines traffic and builds bridge table Simplifies the work of the network admin Self-learning bridge also called transparent bridge

Primary Functions of Bridge MA frame IP Datagram R SA DA DATA H Primary Functions of a Bridge Bridge learn fwd/filter MA frame A E Address Port A 1 B 1 1 D 2 E 2 F 2 G 2 Bridge checks and recalculates R BRIDGE examines these fields: learns SA for future decisions forwards or filters based on DA A B Segment 1 Segment 2 D E F G Single Subnet Total apacity = 20Mb/s Further Segmenting: Multiport Bridges Typical Network topology with Bridges Bridge MA frame A E B1 B2 Router B3 D E A B F G Segment 1 Segment 2 Segment 3 Single Subnet Total Bandwidth = 30Mb/s B5 B4 Self-learning Bridge Bridge table initially empty If a frame arrives and the destination is not in the table, the frame is copied to output buffers of all interfaces Each interfaces sends frame using SMA/D If every node eventually sends a frame, every node will eventually get recording in the table Bridge table removes entries after the aging time has elapsed (like e-mail) If P gets new adapter, physical address of old adapter will eventually be purged from table Bridges Unlike a hub, bridge runs the SMA/D algorithm Refrains from sending if it hears traffic and employs exponential backoff Like a NI except there are no addresses Does not insert a physical address into the packet an be used to combine Ethernet segments that use different technologies (10BASE-T,10BASE2)

Bridge Backbone Bridge LAN segments should be connected with a backbone Backbone: network that has direct connection to LAN segments Each pair of LAN segments can communicate without passing through a third LAN segment Interconnection Without Backbone Bridge Interconnection with Backbone Bridge Two disadvantages: - Single point of failure at omputer Science hub - All traffic between EE and SE must path over S segment Bridges Spanning Tree For increased reliability, it is desirable to have redundant, alternate paths from a source to a destination With multiple simultaneous paths however, cycles result on which bridges may multiply and forward a frame forever Solution is organizing the set of bridges in a spanning tree by disabling a subset of the interfaces in the bridges Bridges Spanning Tree Disabled

Preventing Loops: Spanning Tree Protocol B3 B1 LAN2 B4 LAN5 B8 LAN6 B5 LAN1 LAN4 B9 B2 B6 LAN3 B7 LAN7 Root B1 LAN2 B3 B4 LAN5 B8 LAN6 B5 LAN1 Preventing Loops Spanning Tree Protocol LAN4 B9 B2 B6 LAN3 B7 LAN7 Root B1 Bridges exchange Bridge Protocol Data Units (i.e. special packets) to build spanning tree. B1 has smallest address and is selected as Root B3 is selected to connect LAN5 to LAN2 B5 B3 B8 B9 B6 B2 B7 A bridge connects segments of a LAN together. All segments connected to bridge are still part of the one LAN Bridge does not change the physical addresses contained in packet Switches Two (network-related) meanings Two-layer switch Bridge with many interfaces Each interface to a new segment with one station No competing traffic on segments (no collisions) Like bridges, vulnerable to broadcast storms Three-layer switch Application specific Is for better performance ustomized for specific network layer protocols (IP) In some cases, learn routing tables from routers Ethernet Switches A switch is a device that incorporates bridge functions as well as point-to-point dedicated connections A host attached to a switch via a dedicated point-to-point connection will sense the medium as idle Ethernet Switches provide a combinations of shared/dedicated, 10/100/1000 Mbps connections Some Ethernet switches support cut-through switching: frame forwarded immediately to destination without awaiting for assembly of the entire frame in the switch buffer; slight reduction in latency Ethernet switches vary in size, with the largest ones incorporating a high bandwidth interconnection network Step 1: Node D sends a packet to Node D Switched Ethernet An example of a switch Step 2: Switch reads Destination Address at Source Port 4 A 1 3 2 Step 3: Switch looks up Port based on DA Address Port A 1 B 2 3 D 4 B Step 4: Switch sends packet to Port 3

Switched Ethernet Multiple transactions in a switch Switched Ethernet A 1 A 2 A 3 D 4 1 3 Increased throughput needs increased forwarding capability A 2 B B 1 B 2 B 3 3 1 2 1 2 3 Address Port A 1 1 A 2 1 A 3 1 B 1 3 B 2 3 B 3 3... Else Broadcast Multiport Bridge Bandwidth shared among all nodes on each segment Shared Ethernet Switches (ont) Dedicated Routers 3-layer device (physical, data link & network) Physical: regenerates signal it receives Data link: examines physical addresses in packet Network layer: checks the network layer addresses (IP) Router is an internetworking device: an connect 2 LANs together an connect 2 WANs together an connect a LAN and WAN together Routing example A repeater or a bridge connects segments of a LAN. A router connects independent LANs or WANs to create an internetwork (internet).

Bridges Vs. Routers A router changes the physical addresses in a packet. Both are store-and-forward devices, but Routers are Network Layer devices (examine network layer headers) and Bridges are Link Layer devices Routers maintain routing tables and implement routing algorithms, bridges maintain filtering tables and implement filtering, learning and spanning tree algorithms Bridges Pros and ons: + Bridge operation is simpler requiring less processing bandwidth, i.e., faster - Topologies are restricted with bridges: a spanning tree must be built to avoid cycles - Bridges do not offer protection from broadcast storms (endless broadcasting by a host will be forwarded by a bridge) Routers Pros and ons: + Arbitrary topologies can be supported, cycling is limited by TTL counters + an provide firewall protection against broadcast storms - Often requires IP address configuration - not plug and play; DHP is exception - Require higher processing bandwidth Bridges do well in small (few hundred hosts) while routers are required in large networks (thousands of hosts) Routers vs. Repeaters/Bridges (con t) A router has both a physical and logical (IP) address for each of its interfaces A router acts only on those packets in which the destination address matches the address of the interface at which the packet arrives True for unicast, multicast and broadcast A router changes the physical address of the packet (both source and destination) when forwarding the packet Routers vs. Repeaters/Bridges (con t) A router separates collision domains an improve performance But 3-layer processing more time consuming than 2- layer processing Transparent bridges are plug-and-play Routers require configuration (more admin) Bridges implement spanning tree over nodes to eliminate cycles Implemented by virtually disconnecting nodes Results in self-imposed traffic increases Frames concentrated on spanning tree links when it could be spread on all links in original topology

Routers vs. Repeaters/Bridges If failure in a link, new spanning tree is created automatically Bridges offer no protection from layer-2 broadcast storms Bridges increase traffic flow and require no manual IP configuration Routers provide better isolation of traffic, control broadcast storms and can use more intelligent routes among hosts Switches Two (network-related) meanings Two-layer switch Bridge with many interfaces Each interface to a new segment with one station No competing traffic on segments (no collisions) Like bridges, vulnerable to broadcast storms Three-layer switch Application specific Is for better performance ustomized for specific network layer protocols (IP) In some cases, learn routing tables from routers