CS519: Computer Networks. Lecture 1 (part 2): Jan 28, 2004 Intro to Computer Networking

Similar documents
CS519: Computer Networks

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

CS164 Final Exam Winter 2013

Lecture 2: Internet Architecture

Computer Networks and Mobile Systems. Shyam Gollakota

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

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

Da t e: August 2 0 th a t 9: :00 SOLUTIONS

Parts of a Network. app. router. link. host. Computer Networks 2

SJTU 2018 Fall Computer Networking. Wireless Communication

E : Internet Routing

CSCI Computer Networks

CS4700/5700: Network fundamentals

Component Function Example

FINAL EXAM REVIEW PLEASE NOTE THE MATERIAL FROM LECTURE #16 at the end. Exam 1 Review Material

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

ETSF05/ETSF10 Internet Protocols Network Layer Protocols

Introduction to computer networking

Computer Networking: A Top Down Approach Featuring the. Computer Networks with Internet Technology, William

Introduction to the Internet

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

Label Switching. The idea. Add a small label (sometimes called a tag ) on the front of a packet and route the packet based on the label. cs670.

Network layer overview

Chapter 2 Communicating Over the Network

Chapter 1. Computer Networks and the Internet

ECE 4400:427/527 - Computer Networks Spring 2017

ICS 351: Networking Protocols

Network Protocols and Architectures

Data and Computer Communications. Chapter 2 Protocol Architecture, TCP/IP, and Internet-Based Applications

Switching Networks (Fall 2010) EE 586 Communication and. August 27, Lecture 2. (modified by Cheung for EE586; based on K&R original) 1-1

Networking Background

CS 3640: Introduction to Networks and Their Applications

CSCE 463/612 Networks and Distributed Processing Spring 2018

Networking and Internetworking 1

Internet Architecture and Experimentation

Virtual Link Layer : Fundamentals of Computer Networks Bill Nace

internet technologies and standards

Internet. Organization Addresses TCP/IP Protocol stack Forwarding. 1. Use of a globally unique address space based on Internet Addresses

CS1302 / Computer Networks

Internet Routing. Review of Networking Principles. What s the Internet: nuts and bolts view. Communication links

Internet Routing. Review of Networking Principles

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

The Diffie-Hellman Key Exchange

Virtual Link Layer : Fundamentals of Computer Networks Bill Nace

Computer Networks Principles

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Internet Architecture & Performance. What s the Internet: nuts and bolts view

Computer Networks Prof. S. Ghosh Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture 28 IP Version 4

Course 6. Internetworking Routing 1/33

Distributed Systems. Why use distributed systems? What is a distributed system? Intro to Distributed Systems and Networks.

Part 5: Link Layer Technologies. CSE 3461: Introduction to Computer Networking Reading: Chapter 5, Kurose and Ross

CS61C Machine Structures Lecture 37 Networks. No Machine is an Island!

Network Layer: Control/data plane, addressing, routers

precise rules that govern communication between two parties TCP/IP: the basic Internet protocols IP: Internet protocol (bottom level)

CS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis

Protocol Layers & Wireshark TDTS11:COMPUTER NETWORKS AND INTERNET PROTOCOLS

Lecture 8. Network Layer (cont d) Network Layer 1-1

Operating Systems. 16. Networking. Paul Krzyzanowski. Rutgers University. Spring /6/ Paul Krzyzanowski

EXAM - HP0-Y52. Applying HP FlexNetwork Fundamentals. Buy Full Product.

Fundamental Issues. System Models and Networking Chapter 2,3. System Models. Architectural Model. Middleware. Bina Ramamurthy

CSE 461 Midterm Winter 2018

Introduction. IP Datagrams. Internet Service Paradigm. Routers and Routing Tables. Datagram Forwarding. Example Internet and Conceptual Routing Table

Cisco IP Fragmentation and PMTUD

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

E&CE 358: Tutorial 1. Instructor: Sherman (Xuemin) Shen TA: Miao Wang

CSCD58 WINTER 2018 WEEK 6 - NETWORK LAYER PART 1. Brian Harrington. February 13, University of Toronto Scarborough

HW3 and Quiz. P14, P24, P26, P27, P28, P31, P37, P43, P46, P55, due at 3:00pm with both soft and hard copies, 11/11/2013 (Monday) TCP), 20 mins

CSCE 463/612 Networks and Distributed Processing Spring 2018

CMSC 332 Computer Networks Network Layer

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

A Whirlwind Introduction to the Internet Overview

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Lecture 2: Links and Signaling

TCP/IP Networking. Training Details. About Training. About Training. What You'll Learn. Training Time : 9 Hours. Capacity : 12

Lecture 2 Communication services The Trasport Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Time : 3 hours. Full Marks: 70. The figures in the margin indicate full marks. Answer from all the Groups are directed. Group A.

CS155b: E-Commerce. Lecture 3: Jan 16, How Does the Internet Work? Acknowledgements: S. Bradner and R. Wang

Networking and Internetworking 1

Networks. Other Matters: draft Assignment 2 up (Labs 7 & 8 v. important!!) Ref: [Coulouris&al Ch 3, 4] network performance and principles

CS 43: Computer Networks The Link Layer. Kevin Webb Swarthmore College November 28, 2017

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

CS3600 SYSTEMS AND NETWORKS

TCP/IP protocol suite

MPLS Intro. Cosmin Dumitru March 14, University of Amsterdam System and Network Engineering Research Group ...

ECE 650 Systems Programming & Engineering. Spring 2018

COMS Introduction to Computers. Networking

Wireshark Lab: Getting Started v6.0

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

Computer Networks. General Course Information. Addressing and Routing. Computer Networks 9/8/2009. Basic Building Blocks for Computer Networks

Computer Networking. Introduction. Quintin jean-noël Grenoble university

Outline. Addressing on the network layer ICMP IPv6 Addressing on the link layer Virtual circuits

Multi Protocol Label Switching (an introduction) Karst Koymans. Thursday, March 12, 2015

The Network Layer and Routers

CS162 Operating Systems and Systems Programming Lecture 21. Networking. Page 1

Data Communications and Networks Spring Syllabus and Reading Assignments

Part 1: Introduction. Goal: Review of how the Internet works Overview

CS 204: Advanced Computer Networks

material. For more information on how to get additional questions, please see a.

Foreword xxiii Preface xxvii IPv6 Rationale and Features

Configuring EIGRP. 2001, Cisco Systems, Inc.

Transcription:

: Computer Networks Lecture 1 (part 2): Jan 28, 2004 Intro to Computer Networking

Remember this picture? How did the switch know to forward some packets to B and some to D?

From the address in the packet header A packet has a header and a body and, sometimes, a trailer The header says: Where the packet is going (address) How big the packet is (length) Some other stuff

Packets

Like an envelope? The address field is somewhat analogous to the address on an envelope And the contents of the envelope would then be like the packet body But this analogy doesn t work for the length field!

Forwarding Table Routers (or switches) have a forwarding table Router is a forwarding box that operates on IP packets This table is indexed by the address in the header, and tells which next hop to send the packet to Addresses can be hierarchical (like phone numbers)

Forwarding Table

Forwarding tables and routing algorithms How did the forwarding table get there? Typically a routing algorithm is run among the routers, and this algorithm establishes the contents of the forwarding table In this class, we ll look in detail at address structures and routing algorithms

Two kinds of links Routers and hosts in the Internet are typically connected by two types of links We ve been looking at pictures of point-to-point links The other common kind is the broadcast link Usually Ethernet

Point-to-point and broadcast links

Point-to-point and broadcast links

Point-to-point and broadcast links

Broadcast link (Ethernet) Well, N packets are seen, not really received The Ethernet hardware filters out packets that are not for self By examining the Ethernet address The operating system (OS) never sees the packet (no packet interrupt) Though Ethernet does have multicast and broadcast address

Ethernet addresses and IP addresses??? As you all know, the Internet is a network of networks That s why its called the Internet This introduces the concepts of: Interface Encapsulation

Next hop and interface (and logical interface!) Next hop is the next router on the path to the destination host Or may be the destination host itself Interface is the input/output port over which the next hop can be reached May be physical (an actual wire) Or logical (multiple interfaces on an actual wire)

Next hop and interface (and logical interface!)

So the router has another table (neighbor table)

Router packet forwarding procedure: Look up dest IP address in received packet Obtain Next Hop router (its IP address) Look up Next Hop router in the Neighbor Table (with a pointer from the forwarding table entry) Obtain iface (interface) and link address of Next Hop router Encapsulate IP packet in link packet and send over iface

Router packet forwarding procedure:

Protocol Layers

Packets (revisited)

But, what is where? To an Ethernet, where is an Ethernet port Ethernet address To the Internet, where is a host computer on a network IP address To a host computer, where is a process TCP or UDP port To a process, where may be a file HTTP URL

A stack of headers To deal with all these wheres, a packet in fact contains a stack of headers:

A stacked header requires one more field: next header Sometimes combined

Header stack as protocol services Except for the physical layer protocol, protocol peers communicate with each other by talking to a lower layer HTTP peers use TCP, TCP peers use IP, etc. We say that each protocol provides a service to the layer above it Often there is a service interface that defines the service

Protocol services

Services as a protocol graph

Services as a protocol graph

Example Microsoft VPN stack Application TCP IP PPP L2TP UDP IPsec IP PPP PPPoE Ethernet The actual end-to-end network and transport layers A network abstraction that Microsoft finds convenient A security layer A tunnel A logical link layer The link layer

Example Microsoft VPN stack Application TCP IP PPP L2TP UDP IPsec TCP: Transport Control Protocol IP: Internet Protocol PPP: Point-to-Point Protocol L2TP: Layer 2 Tunneling Protocol UDP: User Datagram Protocol IPsec: Secure IP PPPoE: PPP over Ethernet IP PPP PPPoE Ethernet

Protocol layers revisited

Summary of lecture 1 Packet networks are more flexible than circuit networks But have QoS issues of delay (latency), dropping, and jitter (versus blocking for circuit networks) Fancy queuing can help, but ultimately traffic sources have to slow down to avoid congestion

Summary of lecture 1 Delay has three components, queuing, propagation, and transmit Large Delay x Bandwidth Product pipes are becoming more common Packets have headers that tell where the packet is going, and how long it is (among other things)

Summary of lecture 1 Routers have forwarding tables that select the next hop in a path to an address And neighbor tables that tell which interface and link address to use to get to the next hop Encapsulation is used to get the IP packet from one router to another over a link

Summary of lecture 1 Protocols are layered, with each layer providing a communications service to the layer above The layering is complex, with tunnels that allow protocols to be layered over themselves IP is a special layer at the waist of the Internet hourglass.

Next Lecture: IP Because of IP s special position in the Internet, it seems reasonable to start with IP, then work down and up