Network Layer. Chapter 5 Section 5.1, 5.3, 5.5, 5.6. CS 360 Spring 2012 Pacific University

Similar documents
The Interconnection Structure of. The Internet. EECC694 - Shaaban

EEC-684/584 Computer Networks

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ...

Networking and TCP/IP. John Kalbach November 8, 2004

IP Protocols. ALTTC/Oct

Chapter 4 Network Layer: The Data Plane

Chapter 5 (Week 10) The Network Layer (CONTINUATION) ANDREW S. TANENBAUM COMPUTER NETWORKS FOURTH EDITION PP

Chapter 5. The Network Layer

The Internet Protocol (IP)

CSCI-1680 Network Layer: IP & Forwarding John Jannotti

CPSC 826 Internetworking. The Network Layer: Routing & Addressing Outline. The Network Layer

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca

ECE 158A: Lecture 7. Fall 2015

Network layer: Overview. Network layer functions IP Routing and forwarding NAT ARP IPv6 Routing

Network layer: Overview. Network Layer Functions

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

Chapter 7. Local Area Network Communications Protocols

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

Where we are in the Course

Lecture 4 The Network Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Chapter 5. The Network Layer. Network Layer Design Isues. Store-and-Forward Packet Switching 10/7/2010. Implementation of Connectionless Service

Chapter 5. The Network Layer

Chapter 5. The Network Layer. CEN Chapter 5 1

Exercise Sheet 4. Exercise 1 (Routers, Layer-3-Switches, Gateways)

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

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca

Department of Computer and IT Engineering University of Kurdistan. Network Layer. By: Dr. Alireza Abdollahpouri

EC441 Fall 2018 Introduction to Computer Networking Chapter4: Network Layer Data Plane

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

Donato Ba*aglino Lorenzo Bracciale

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

Network Layer: Internet Protocol

cs144 Midterm Review Fall 2010

Network Layer PREPARED BY AHMED ABDEL-RAOUF

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

Introduction to routing in the Internet

IP - The Internet Protocol

Chapter 4: network layer

Integrated Services. Integrated Services. RSVP Resource reservation Protocol. Expedited Forwarding. Assured Forwarding.

Internetworking Part 2

CC231 Introduction to Networks Dr. Ayman A. Abdel-Hamid. Internet Protocol Suite

IP Addresses. IP Addresses

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

internet technologies and standards

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

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca Instructor: Nicholas DeMarinis

Chapter 4 Network Layer: The Data Plane

Internet Protocol (IP)

Lecture 3: Packet Forwarding

Vorlesung Kommunikationsnetze

cs/ee 143 Communication Networks

Introduction to routing in the Internet

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

COMPUTER NETWORK. Homework #3. Due Date: May 22, 2017 in class

Lecture 1: Introduction

Last time. Network layer. Introduction. Virtual circuit vs. datagram details. IP: the Internet Protocol. forwarding vs. routing

CS 348 Computer Networks. IP and Routing. Indian Institute of Technology, Bombay

EE-311 Data Communication & Networks

Computer Networking Introduction

Need For Protocol Architecture

Need For Protocol Architecture

2/22/2008. Outline Computer Networking Lecture 9 IP Protocol. Hop-by-Hop Packet Forwarding in the Internet. Internetworking.

IPv4 addressing, NAT. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley.

(Chapters 2 3 in Huitema) E7310/Internet basics/comnet 1

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

Master Course Computer Networks IN2097

Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation:

Introduction to Internetworking

Chapter 4: Advanced Internetworking. Networking CS 3470, Section 1

Outline. IP Address. IP Address. The Internet Protocol. o Hostname & IP Address. o The Address

CS 43: Computer Networks. 21: The Network Layer & IP November 7, 2018

Networking Fundamentals

The Network 15 Layer IPv4 and IPv6 Part 3

CS610 Computer Network Final Term Papers Solved MCQs with reference by Virtualians Social Network

Network Layer: Control/data plane, addressing, routers

RSC Part II: Network Layer. 3. IP addressing. II.5 Network routing. II. 1 Basic Network layer concepts II.2 Introduction to IP

Chapter 4: Network Layer

ECE 461 Internetworking Fall Quiz 1

BVRIT HYDERABAD College of Engineering for Women Department of Information Technology. Hand Out

IPv6: An Introduction

Lecture 5 The Network Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Data Communication & Networks G Session 7 - Main Theme Networks: Part I Circuit Switching, Packet Switching, The Network Layer

Topics for This Week

11/23/2013. What s the Internet: nuts and bolts view. A closer look at network structure: The network edge:

01/17/08 TDC /17/08 TDC363-03

Quiz. Segment structure and fields Flow control (rwnd) Timeout interval. Phases transition ssthresh setting Cwnd setting

Internetworking. different kinds of network technologies that can be interconnected by routers and other networking devices to create an internetwork

Addressing and Routing

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

1. IPv6 is the latest version of the TCP/IP protocol. What are some of the important IPv6 requirements?

CSC458 Lecture 6. Administrivia. Inter-domain Routing IP Addressing. Midterm will Cover Following Topics (2) Midterm will Cover Following Topics

Network Layer Protocols

Router Architecture Overview

Chapter 19 Network Layer: Logical Addressing

The Netwok 15 Layer IPv4 and IPv6 Part 3

CSc 450/550 Computer Networks Internet Routing

Routing in the Internet

Data Communication Prof. A. Pal Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture 34 TCP/ IP I

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

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG

Transcription:

Network Layer Chapter 5 Section 5.1, 5.3, 5.5, 5.6

Network with Routers zeus.cs.pacificu.edu you.yourisp.com HTTP TCP IP Router Router HTTP TCP IP Router Router Router

Network Layer Goal: Routing Routers may be standard computers running routing software Routers may be specialized hardware

Connection vs Datagram Just like TCP/UDP, some network layers are connection based, some are datagram based for connection based networks each router keeps track of every connection running through it for datagram based networks, no state for the connection is kept at the router the Internet is datagram based (which is why implementing TCP is so much work!) mainly concerned with datagram based networks in this class

Network Service Models The network layer may provide different levels of service guaranteed delivery guaranteed delivery with bounded delay in order packet delivery guaranteed minimal bandwidth guaranteed maximum jitter The Internet (IP) provides best effort service Sure, I ll try to get it there, but I m not making any promises. why? layers: provide only what you need you can build anything on top of it

Internet Protocol (v4) (RFC 791) Network layer for the Internet Designed with internetworking in mind many underlying datalink layers may be used the IP header is what the router looks at to route the data Tanenbaum, Fig 5-46, p439 Not identical to the pseudo header in the UDP RFC

Network with Routers zeus.cs.pacificu.edu HTTP TCP IP Router you.yourisp.com HTTP TCP IP Internetworking: Each of the links may be a different underlying datalink layer. Ethernet, wireless, fiber optics, carrier pigeon, smoke signal, token ring, PPP, SLIP

Router Operations Forwarding Forwarding Table Interface Destination Address 1 pacificu.edu 2 umd.edu pacificu.edu 3 mit.edu What are some of the issues that may be involved with the design/implementation of the forwarding table? 1 3 2 umd.edu mit.edu Routers really use IP addresses rather than DNS addresses

Router Operations Routing Tanenbaum, Figure 5-60, p 466

IPv4 Address 32 bit addresses: 64.59.233.197 Previously on The Internet... Classful addresses were given out a.b.c.d Class A: a.x.x.x Class B: a.b.x.x Class C: a.b.c.x first octet (a) denoted which class of address U of Maryland: 128.8.x.x -- Class B MIT: 18.x.x.x -- Class A how many addresses does each class of address contain? why might this be a problem?

IPv4 Addressing Classless InterDomain Routing (CIDR) 64.59.233.0/24 Send me data for 64.59.233.0/24 64.59.232.1 router 64.59.233.197 zeus 64.59.233.204 circe 64.59.233.205 homer 64.59.233.194 laser printer 64.59.233.1 router 255.255.255.0 subnet mask clever way of organizing addresses helps in routing we don t need an entry in the forward table for each machine just one for the subnet

Forwarding tables Forwarding table works on the IP addresses Only concerned with the significant bits Look for longest prefix match Interface Destination Address 1 64.59.192.0/18 (0100 0000 0011 1011 11) 2 128.8.0.0/16 (1000 0000 0000 1000) 3 18.0.0.0/8 (0001 0010) 4 64.59.224.0/19 (0100 0000 0011 1011 111) Input Packet 64.59.192.1 64.59.193.2 1 Output Interface 2 3 pacificu.edu umd.edu mit.edu cs360.edu 64.59.223.2

Internet Protocol Designed with internetworking in mind Fragmentation maximum transfer unit (max frame size) Ethernet: 1500 bytes FDDI: 4500 bytes

Network with Routers zeus.cs.pacificu.edu you.yourisp.com HTTP TCP IP Ethernet Ethernet Router FDDI HTTP TCP IP PPP data 8000 bytes

Fragmentation Set the MF bit for each fragment but the last one Copy Identification number to each fragment Set the Fragment Offset If the destination does not receive one of the fragments, what should it do? DF bit means Don t Fragment Me! Tanenbaum, Fig 5-46, p439

Network Address Translation IP addresses are scarce present one IP address to the rest of the world via a firewall/router assign your own IP addresses in your local network these IP addresses are NOT visible to the rest of the world map internal address:port to ISP assignedaddress:port this mapping is not permanent this is how the wireless router your ISP sends you works some purists object to this. Why? When might this cause problems? zeus naur 59.64.233.1 zeus 9999 22 Visible Port 59.64.233.1 NAT box Internal Machine 9999 192.168.1.1:2034 9998 192.168.1.2:8972 192.168.0.1 192.168.1.1 ssh zeus.cs.pacificu.edu ssh naur.cs.wvu.edu 192.168.1.2

ARP Address Resolution Protocol Mapping IP address to Ethernet addresses

DHCP How do you get an IP address when you plug into the wall? Dynamic Host Configuration Protocol (RFC 2131/2132) formerly BOOTP formerly RARP Your wireless router at home does this as well http://en.wikipedia.org/wiki/image:dhcp_session_en.svg

Routing Algorithms Read section 5.2-5.2.6 And 5.6-5.6.6 zeus.cs.pacificu.edu you.yourisp.com HTTP TCP IP Router First-hop Router HTTP TCP IP Destination Router Source Router data 8000 bytes

Routing Algorithms View the network as a graph routers are nodes links are edges what may weights indicate? Two types: Tanenbaum, Figure 5-7a, p 366

Routing Algorithms Link State Routing global (complete) information based on Dijkstra s algorithm (read section 5.2.2) some use Prim s algorithm both algorithms compute the least cost path from node X to all other nodes in the graph (one to all) Example!

Link State Routing

Link State Routing

Routing Algorithms Distance Vector Routing

Routing on the Internet Hierarchical Routing: break the network up into regions so the router s forward table does not get too large you know detailed information about your subnet where to send data for other subnets AS: Autonomous Systems the regions mentioned above! Intra-AS: RIP (not in your book) RFC 1058 Intra-AS: OSPF RFC 2328 Inter-AS: BGP RFC 1771

Network with Routers Pacificu.edu RIP or OSPF BGP umd.edu RIP or OSPF AS AS mit.edu AS

Routing Information Protocol Intra-AS: RIP (not in your book!) RFC 1058

Open Shortest Path First Intra-AS: OSPF RFC 2328

Hierarchical Routing with OSPF This is ALL one AS! Boundary Router Backbone Router Area Border Routers Area 1 Area 2 Internal Routers Area 3

OSPF Protocol

OSPF

OSPF

Border Gateway Protocol Inter-AS: BGP RFC 1771 how to I get to that AS over there? glues the Internet together

What s in a Router?

Congestion Control