Lecture 10: Internetworking"

Similar documents
Lecture 8: Networks to Internetworks

Lecture 9: Internetworking

Communications Software. CSE 123b. CSE 123b. Spring Lecture 2: Internet architecture and. Internetworking. Stefan Savage

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

CSE 123b Communications Software

Welcome (day 2) CSE 123b Communications Software. Application layer (HTTP) Application layer? Name resolution (DNS) Transport layer (TCP)

Lecture 9: Bridging & Switching"

Some portions courtesy Srini Seshan or David Wetherall

CSE 123A Computer Networks

SWITCHING, FORWARDING, AND ROUTING

Administrivia CSC458 Lecture 4 Bridging LANs and IP. Last Time. This Time -- Switching (a.k.a. Bridging)

CompSci 356: Computer Network Architectures. Lecture 8: Spanning Tree Algorithm and Basic Internetworking Ch & 3.2. Xiaowei Yang

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

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

CSE/EE 461 The Network Layer. Application Presentation Session Transport Network Data Link Physical

Internetworking I: Basics. November 11, 1999

Lecture 2: Layering & End-to-End

ECE 4450:427/527 - Computer Networks Spring 2017

Outline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting

CS 43: Computer Networks The Network Layer. Kevin Webb Swarthmore College November 2, 2017

Goal of Today s Lecture. EE 122: Designing IP. The Internet Hourglass. Our Story So Far (Context) Our Story So Far (Context), Con t

Overview. Internetworking and Reliable Transmission. CSE 561 Lecture 3, Spring David Wetherall. Internetworking. Reliable Transmission

Telecom Systems Chae Y. Lee. Contents. Overview. Issues. Addressing ARP. Adapting Datagram Size Notes

Introduction to TCP/IP networking

Ref: A. Leon Garcia and I. Widjaja, Communication Networks, 2 nd Ed. McGraw Hill, 2006 Latest update of this lecture was on

The Spanning Tree Protocol

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

ECE 158A: Lecture 7. Fall 2015

Administrivia. Homework on class webpage If you are having problems following me in class (or doing the homework problems), please buy the textbook

Lecture 11: Networks & Networking

Lecture 11: Fragmentation & Addressing. CSE 123: Computer Networks Stefan Savage

Cisco Cisco Certified Network Associate (CCNA)

Internet II. CS10 : Beauty and Joy of Computing. cs10.berkeley.edu. !!Senior Lecturer SOE Dan Garcia!!! Garcia UCB!

Internetwork Protocols

Layer 2 functionality bridging and switching

CSCI-1680 Network Layer: IP & Forwarding John Jannotti

Network Layer (1) Networked Systems 3 Lecture 8

CompSci 356: Computer Network Architectures. Lecture 7: Switching technologies Chapter 3.1. Xiaowei Yang

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

Switching and Forwarding

Internet Protocol. Outline Introduction to Internet Protocol Header and address formats ICMP Tools CS 640 1

CSE 461: Bridging LANs. Last Topic

IPv4 Lecture 10a. COMPSCI 726 Network Defence and Countermeasures. Muhammad Rizwan Asghar. August 14, 2017

Vorlesung Kommunikationsnetze

OSI Network Layer. Network Fundamentals Chapter 5. Version Cisco Systems, Inc. All rights reserved. Cisco Public 1

CSE 123: Computer Networks Alex C. Snoeren. HW 1 due NOW!

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

ECE 435 Network Engineering Lecture 21

IP Packet Switching. Goals of Todayʼs Lecture. Simple Network: Nodes and a Link. Connectivity Links and nodes Circuit switching Packet switching

IP : Internet Protocol

Where we are in the Course

Paper solution Subject: Computer Networks (TE Computer pattern) Marks : 30 Date: 5/2/2015

Internetworking Terms. Internet Structure. Internet Structure. Chapter 15&16 Internetworking. Internetwork Structure & Terms

Medium Access Protocols

CMPE 150 Winter 2009

Design Considerations : Computer Networking. Outline. Challenge 1: Address Formats. Challenge. How to determine split of functionality

CIS 551 / TCOM 401 Computer and Network Security. Spring 2006 Lecture 16

The Internet. 9.1 Introduction. The Internet is a global network that supports a variety of interpersonal and interactive multimedia applications.

Internetworking Part 1

Chapter 5 Network Layer

SC/CSE 3213 Winter Sebastian Magierowski York University CSE 3213, W13 L8: TCP/IP. Outline. Forwarding over network and data link layers

COMP/ELEC 429/556 Introduction to Computer Networks

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

CS 640: Introduction to Computer Networks. Today s Lecture. Page 1

DD2490 p Layer 2 networking. Olof Hagsand KTH CSC

Lecture 2: Links and Signaling

CIS 551 / TCOM 401 Computer and Network Security. Spring 2007 Lecture 8

Lecture 6: Reliable Transmission. CSE 123: Computer Networks Alex Snoeren (guest lecture) Alex Sn

Virtualization of networks

EXAM TCP/IP NETWORKING Duration: 3 hours

Computer Networks Principles

Network Layer: Internet Protocol

ECE 4450:427/527 - Computer Networks Spring 2017

CSEP 561 LAN Switches. David Wetherall

The Internetworking Problem. Internetworking. A Translation-based Solution

CSE 123 Midterm Exam

Introduction to Networking. Operating Systems In Depth XXVII 1 Copyright 2017 Thomas W. Doeppner. All rights reserved.

ECE 435 Network Engineering Lecture 12

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca

CSCI-GA Operating Systems. Networking. Hubertus Franke

Introduction to Internet. Ass. Prof. J.Y. Tigli University of Nice Sophia Antipolis

CS4450. Computer Networks: Architecture and Protocols. Lecture 13 THE Internet Protocol. Spring 2018 Rachit Agarwal

Lecture 9: Bridging. CSE 123: Computer Networks Alex C. Snoeren

Introduction to Internetworking

Introduction to Information Science and Technology 2017 Networking II. Sören Schwertfeger 师泽仁

Configuring STP. Understanding Spanning-Tree Features CHAPTER

6.033 Computer System Engineering

CSE 1 23: Computer Networks

Lecture 17 Overview. Last Lecture. Wide Area Networking (2) This Lecture. Internet Protocol (1) Source: chapters 2.2, 2.3,18.4, 19.1, 9.

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

CS 457 Networking and the Internet. Problems. Mechanisms 9/21/16. Fall 2016 Indrajit Ray

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

EXAM TCP/IP NETWORKING Duration: 3 hours With Solutions

416 Distributed Systems. Networks review; Day 1 of 2 Jan 5 + 8, 2018

Fundamental Questions to Answer About Computer Networking, Jan 2009 Prof. Ying-Dar Lin,

Underlying Technologies -Continued-

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

ARP, IP. Chong-Kwon Kim. Each station (or network interface) should be uniquely identified Use 6 byte long address

EEC-484/584 Computer Networks

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

Transcription:

Lecture 10: Internetworking" CSE 123: Computer Networks Alex C. Snoeren HW 2 due NOW!

Lecture 10 Overview" Spanning Tree Internet Protocol Service model Packet format 2

Spanning Tree Algorithm" Each bridge sends periodic configuration messages (RootID, Distance to Root, BridgeID) All nodes think they are root initially Each bridge updates route/root upon receipt Smaller root address is better, then shorter distance To break ties, bridge with smaller address is better Record best config heard on each port Rebroadcast new config only to ports we re best Don t bother sending config to LANs with better options Add 1 to distance, send new configs where still best Only forward to ports to root or where we re best 3

Spanning Tree Example" Sample messages to and from B3: A 1. B3 sends (B3, 0, B3) to B2 and B5 2. B3 receives (B2, 0, B2) and (B5, 0, B5) and accepts B2 as root 3. B3 sends (B2, 1, B3) to B5 4. B3 receives (B1, 1, B2) and (B1, 1, B5) and accepts B1 as root 5. B3 wants to send (B1, 2, B3 ) but doesn t as its nowhere best 6. B3 receives (B1, 1, B2) and (B1, 1, B5) again and again Data forwarding is turned off for LAN A C E G B2 I B3 B6 D B1 B5 B4 B7 F H J B K 4

Important Details" What if root bridge fails? Age configuration info» If not refreshed for MaxAge seconds then delete root and recalculate spanning tree» If config message is received with more recent age, then recalculate spanning tree Applies to all bridges (not just root) Temporary loops When topology changes, takes a bit for new configuration messages to spread through the system Don t start forwarding packets immediately -> wait some time for convergence 5

Switched Ethernet" Hosts directly connected to a bridge learning + spanning tree protocol Bridge supports parallel forwarding A-to-B and A -to-b simultaneously Generally full duplex as well Switch backplane capacity varies Ideally, nonblocking I.e., can run at full line rate on all ports No longer any shared bus Each link is its own collision domain Collision detection largely irrelevant 6

Layer 2 Forwarding" Create spanning tree across LANs Benefits Learn which ports to use to reach which addresses Higher link bandwidth (point-to-point links) Higher aggregate throughput (parallel communication) Improved fault tolerance (redundant paths) Limitations Requires homogeneous link layer (e.g. all Ethernet) Can t control forwarding topology What if we want to connect different link layers? 7

Combing Networks" Main challenge is heterogeneity of link layers: Addressing» Each network media has a different addressing scheme Bandwidth» Modems to terabits Latency» Seconds to nanoseconds Frame size» Dozens to thousands of bytes Loss rates» Differ by many orders of magnitude Service guarantees» Send and pray vs reserved bandwidth 8

internetworking " Cerf & Kahn74, A Protocol for Packet Network Intercommunication Foundation for the modern Internet Routers forward packets from source to destination May cross many separate networks along the way All packets use a common Internet Protocol Any underlying data link protocol Any higher layer transport protocol 9

TCP/IP Protocol Stack" host host HTTP Application Layer HTTP TCP Transport Layer TCP router router IP IP Network Layer IP IP Ethernet interface Ethernet interface SONET SONET interface Link Layer interface Ethernet interface Ethernet interface 10

IP Networking" Router Ethernet FDDI data packet data packet Eth IP TCP HTTP FDDI IP TCP HTTP 11

Routers" A router is a store-and-forward device Routers are connected to multiple networks On each network, looks just like another host A lot like a switch, except at the network layer Must be explicitly addressed by incoming frames Not at all like a switch, which is transparent Removes link-layer header, parses IP header Looks up next hop, forwards on appropriate network Each router need only get one step closer to destination 12

IP Philosophy" Impose few demands on network Make few assumptions about what network can do No QoS, no reliability, no ordering, no large packets No persistent state about communications; no connections Manage heterogeneity at hosts (not in network) Adapt to underlying network heterogeneity Re-order packets, detect errors, retransmit lost messages Persistent network state only kept in hosts (fate-sharing) Service model: best effort, a.k.a. send and pray 13

IP Packet Header" 0 15 16 ver HL TOS identification length R E S M F options (if any) data (if any) D F offset TTL protocol header checksum source address destination address 31 20 bytes 14

Version field" Which version of IP is this? Plan for change Very important! Current versions 4: most of Internet today 6: new protocol with larger addresses What happened to 5? Standards body politics. 15

Header length" How big is IP header? In bytes/octets Variable length» Options Engineering consequences of variable length Most IP packets are 20 bytes long 16

Type-of-Service" How should this packet be treated? Care/don t care for delay, throughput, reliability, cost How to interpret, how to apply on underlying net? Largely unused until 2000 (hijacked for new purposes, ECN & Diffserv) 17

Length" How long is whole packet in bytes/octets? Includes header Limits total packet to 64K Redundant? 18

TTL (Time-to-Live)" How many more routers can this packet pass through? Designed to limit packet from looping forever Each router decrements TTL field If TTL is 0 then router discards packet 19

Protocol" Which transport protocol is the data using? i.e. how should a host interpret the data TCP = 6 UDP = 17 20

IP Checksum" Header contains simple checksum Validates content of header only Recalculated at each hop Routers need to update TTL Hence straightforward to modify Ensures correct destination receives packet 21

For Next Time" Read 3.2.5-6, 9.3.1 in P&D Don t neglect the project due NEXT Friday 22