CSE 461 LAN Switches. David Wetherall

From this document you will learn the answers to the following questions:

How to connect links into a simple network?

What connects input to all output lines?

What is the name of the bridge?

Similar documents
Ethernet (LAN switching)

Level 2 Routing: LAN Bridges and Switches

Objectives. The Role of Redundancy in a Switched Network. Layer 2 Loops. Broadcast Storms. More problems with Layer 2 loops

CHAPTER 6 DESIGNING A NETWORK TOPOLOGY

TRILL for Service Provider Data Center and IXP. Francois Tallet, Cisco Systems

CORPORATE NETWORKING

Switching in an Enterprise Network

Bridgewalling - Using Netfilter in Bridge Mode

Objectives. Explain the Role of Redundancy in a Converged Switched Network. Explain the Role of Redundancy in a Converged Switched Network

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

COMPUTER NETWORKS - LAN Interconnection

The IP Transmission Process. V1.4: Geoff Bennett

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

LAN Switching Computer Networking. Switched Network Advantages. Hubs (more) Hubs. Bridges/Switches, , PPP. Interconnecting LANs

CHAPTER 10 LAN REDUNDANCY. Scaling Networks

Scaling 10Gb/s Clustering at Wire-Speed

Wave Relay System and General Project Details

Layer 3 Routing User s Manual

Data Communication Networks and Converged Networks

The ABCs of Spanning Tree Protocol

Abstract. MEP; Reviewed: GAK 10/17/2005. Solution & Interoperability Test Lab Application Notes 2005 Avaya Inc. All Rights Reserved.

Computer Networks. Definition of LAN. Connection of Network. Key Points of LAN. Lecture 06 Connecting Networks

Region 10 Videoconference Network (R10VN)

Infrastructure Components: Hub & Repeater. Network Infrastructure. Switch: Realization. Infrastructure Components: Switch

Voice Over IP. MultiFlow IP Phone # 3071 Subnet # Subnet Mask IP address Telephone.

Configuring Switch Ports and VLAN Interfaces for the Cisco ASA 5505 Adaptive Security Appliance

Howstuffworks "How LAN Switches Work" Click here to go back to the normal view!

A network is a group of devices (Nodes) connected by media links. A node can be a computer, printer or any other device capable of sending and

A New Approach to Developing High-Availability Server

CSE 461 FINAL EXAM REVIEW

InfiniBand Clustering

LAN Switching and VLANs

QoS Switching. Two Related Areas to Cover (1) Switched IP Forwarding (2) 802.1Q (Virtual LANs) and 802.1p (GARP/Priorities)

CCT vs. CCENT Skill Set Comparison

Virtual PortChannels: Building Networks without Spanning Tree Protocol

CS 5480/6480: Computer Networks Spring 2012 Homework 4 Solutions Due by 1:25 PM on April 11 th 2012

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

ECE 358: Computer Networks. Solutions to Homework #4. Chapter 4 - The Network Layer

IP Multicasting. Applications with multiple receivers

Resiliency in Ethernet Based Transport Networks

Implementation of Virtual Local Area Network using network simulator

Exhibit n.2: The layers of a hierarchical network

Configuration Examples. D-Link Switches L3 Features and Examples IP Multicast Routing

How To Monitor A Network With A Network Probe

Configuring Switch Ports and VLAN Interfaces for the Cisco ASA 5505 Adaptive Security Appliance

Internet Architecture

Systems Integration Track: Network Topology

What is VLAN Routing?

CSE331: Introduction to Networks and Security. Lecture 8 Fall 2006

Computer Networks I Laboratory Exercise 1

Table of Contents. Cisco How Does Load Balancing Work?

TRILL for Data Center Networks

College 5, Routing, Internet. Host A. Host B. The Network Layer: functions

Overview of Routing between Virtual LANs

Redundant Serial-to-Ethernet Data Connections for Mission-critical Devices

EXINDA NETWORKS. Deployment Topologies

LANs and VLANs A Simplified Tutorial

20. Switched Local Area Networks

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

Packet Tracer 3 Lab VLSM 2 Solution

Layer 3 Network + Dedicated Internet Connectivity

How To Understand and Configure Your Network for IntraVUE

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

Switching Basics and Intermediate Routing CCNA 3 Labs and Study Guide Allan Johnson

16-PORT POWER OVER ETHERNET WEB SMART SWITCH

OVERLAYING VIRTUALIZED LAYER 2 NETWORKS OVER LAYER 3 NETWORKS

CS 91: Cloud Systems & Datacenter Networks Networks Background

Computer Networking. Definitions. Introduction

Juniper Networks Certified Internet Specialist Fast Track

Chapter 3. Enterprise Campus Network Design

ENTERASYS WEBVIEW WEB-BASED MANAGEMENT FOR THE VH-2402S/VH-2402S2 WEB MANAGEMENT GUIDE

Network Structure or Topology

GregSowell.com. Mikrotik Routing

TechBrief Introduction

Cisco 12 CCNA Certification

DATA CENTER. Best Practices for High Availability Deployment for the Brocade ADX Switch

Digi Certified Transport Technician Training Course (DCTT)

June Bridge & Switch. Pietro Nicoletti Piero[at]studioreti.it. Bridge-Switch-Engl - 1 P. Nicoletti: see note pag. 2

Wide Area Networks. Learning Objectives. LAN and WAN. School of Business Eastern Illinois University. (Week 11, Thursday 3/22/2007)

Network configuration for the IBM PureFlex System

Cisco Certified Network Associate (CCNA) 120 Hours / 12 Months / Self-Paced WIA Fee: $

ISOM3380 Advanced Network Management. Spring Course Description

Chapter 4: Spanning Tree Design Guidelines for Cisco NX-OS Software and Virtual PortChannels

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Virtual LANs. or Raj Jain

OSPF Routing Protocol

Network Design. Yiannos Mylonas

Communication Systems Internetworking (Bridges & Co)

The Benefits of Layer 3 Routing at the Network Edge. Peter McNeil Product Marketing Manager L-com Global Connectivity

Introduction to LAN/WAN. Network Layer

Cisco Networking Academy CCNP Multilayer Switching

CCNP SWITCH: Implementing High Availability and Redundancy in a Campus Network

Fundamentals of Switching

Introduction to IP Multicast Routing

Provider Backbone Transport

Cisco FabricPath Technology and Design

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

Chapter 1 Reading Organizer

Vocia MS-1 Network Considerations for VoIP. Vocia MS-1 and Network Port Configuration. VoIP Network Switch. Control Network Switch

Interconnecting Cisco Networking Devices Part 2

Transcription:

CSE 461 LAN Switches David Wetherall djw@cs.washington.edu

How to combine links into a simple network Topics: Switch internals Plug and play LANs (switched Ethernet) Application Transport Network Building more sophisticated networks with Link routers Physical Later: djw // CSE 461, Spring 2011 2

Terminology Hub A physical layer interconnection device, a repeater Switch A link layer interconnection device, e.g. Ethernet LAN switch Bridge is the old-fashioned name for a LAN switch Router Interconnection device that works at the network (IP) layer Gateway Generic term for a high-level interconnection device Switch Also generic term for a low-level interconnection device djw // CSE 461, Spring 2011 3

They can all look the same djw // CSE 461, Spring 2011 4

Sanity check, switch/bridge id Trans/App Trans/App IP IP Ethernet Eth Eth Ethernet Physical Phy Phy Physical A B C What source and destination Ethernet / IP addresses are seen on each wire? djw // CSE 461, Spring 2011 5

Sanity check, router Trans/App Trans/App IP IP IP IP Ethernet Eth Eth Ethernet Physical Phy Phy Physical A B C What source and destination Ethernet / IP addresses are seen on each wire? djw // CSE 461, Spring 2011 6

What s in a Switch (Hub or Switch)? Ports here are both input and output Alternatively might see input ports on left, output on right. Hub connects input to all output lines Switch sends input to only the indicated output (address) djw // CSE 461, Spring 2011 7

Crossbar (inside id switch) On/off setting of intersection points control connections from inputs to outputs djw // CSE 461, Spring 2011 8

Hub vs. Switch Assume N ports, each running at R Mbps What is the total capacity (performance)? For a hub? For a switch? Which is full duplex (separate input/output wires) A hub or a switch? Which protects from eavesdropping more (secure)? A hub, or a switch? Which is the simplest device? djw // CSE 461, Spring 2011 9

LAN Switches/Bridges id When one switch isn t enough, we can combine them by wiring multiple switches together Key problem is which knowing which output port to use for a given input message Link layer operation implies that MAC address is used Designed to be plug and play with ihtwo algorithms: 1. Backward learning 2. Spanning tree computation djw // CSE 461, Spring 2011 10

Classic Ethernet t shared LANs djw // CSE 461, Spring 2011 11

Modern Ethernet t switched Just multi-port bridges and many two host LANs (can be full duplex) djw // CSE 461, Spring 2011 12

Backward Learning Algorithm To optimize overall performance: Don t forward A B or D G between switches, do for A D and D C But how does the switch know? Forward using destination address; broadcast if you don t know Learn who is where by observing source addresses and prune Works for a single switch as well as a collection djw // CSE 461, Spring 2011 13

Is redundancy ygood or bad? Seems useful (backup, more capacity) But causes a potential problem forwarding loops Solution is the spanning tree algorithm djw // CSE 461, Spring 2011 14

Spanning Tree Algorithm Goal is to turn some bridge ports off to break loops Approach is to compute spanning tree Distributed algorithm, robust against failures Outline: 1. Elect a root node of the tree (lowest address) 2. Grow tree as shortest distances from the root (using lowest address to break distance ties) All done by bridges sending periodic configuration messages over ports for which they are the best path Then turn off ports that aren ton best paths djw // CSE 461, Spring 2011 15

Radia Perlman says From: An Algorithm for Distributed Computation of a Spanning Tree in an Extended LAN, R. Perlman, SIGCOMM 1985. djw // CSE 461, Spring 2011 16

Spanning tree example djw // CSE 461, Spring 2011 17

Algorithm details Each bridge sends periodic messages to others containing: Its address, address of the root bridge, and distance (in hops) to root Each bridge receives messages, updates best config. Smaller root address is better, then shorter distance To break ties, bridge with smaller address is better Initially, each bridge thinks it is the root Sends configuration messages on all ports Later, bridges send only best configs Add 1 to distance, send configs where still best (designated bridge) Turn off forwarding on ports except those that send/receive best djw // CSE 461, Spring 2011 18

Some Design Aspects All bridges to run the same algorithm Bridges start with no information and operate in parallel Bridges send periodic messages about their own state State that isn t refreshed is soon deleted (soft-state) If we all have the same inputs and are running the same algorithm, we converge to a globally ll consistent t state. t This is a common design pattern for network protocols that adapts to failures. Learn it. Live it. Love it. djw // CSE 461, Spring 2011 19

Perspective on Bridges/Switches it LAN switches form an effective small-scale network Designed to work transparently with no host changes Plug and play for real! But they don t scale well to large networks Little control over forwarding gpaths Size of bridge forwarding tables grows with number of hosts Broadcast traffic flows freely over whole extended LAN Spanning tree algorithm limits reconfiguration speed Poor solution for connecting LANs of different kinds We can do better by changing hosts too. Next up: IP and routing. djw // CSE 461, Spring 2011 20