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

Similar documents
Chapter 4: Network Layer

Chapter 4: outline. Network Layer 4-1

Chapter 4: Network Layer. Lecture 12 Internet Routing Protocols. Chapter goals: understand principles behind network layer services:

Chapter IV: Network Layer

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat not true in practice

DATA COMMUNICATOIN NETWORKING

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 14, 2013

Computer Networking Introduction

Last time. Transitioning to IPv6. Routing. Tunneling. Gateways. Graph abstraction. Link-state routing. Distance-vector routing. Dijkstra's Algorithm

Routing in the Internet

Announcements. CS 5565 Network Architecture and Protocols. Project 2B. Project 2B. Project 2B: Under the hood. Routing Algorithms

CS555, Spring /5/2005. April 12, 2005 No classes attend Senior Design Projects conference. Chapter 4 roadmap. Internet AS Hierarchy

CS 43: Computer Networks Internet Routing. Kevin Webb Swarthmore College November 16, 2017

CSC 4900 Computer Networks: Routing Protocols

CSc 450/550 Computer Networks Internet Routing

CS 43: Computer Networks. 24: Internet Routing November 19, 2018

Chapter 4: Network Layer. TDTS06 Computer networks. Subnets. Subnets. Subnets. IP Addressing: introduction

CSCI Topics: Internet Programming Fall 2008

Inter-AS routing and BGP. Network Layer 4-1

Chapter 4: Network Layer, partb

HY 335 Φροντιστήριο 8 ο

Topics for This Week

Chapter 4: Network Layer

CSCE 463/612 Networks and Distributed Processing Spring 2018

Inter-AS routing. Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley

Chapter 4 Network Layer

BGP. Daniel Zappala. CS 460 Computer Networking Brigham Young University

Lecture 19: Network Layer Routing in the Internet

Internet rou)ng. V. Arun CS491G: Computer Networking Lab University of MassachuseFs Amherst

5.1 introduction 5.5 The SDN control 5.2 routing protocols plane. Control Message 5.3 intra-as routing in Protocol the Internet

EECS 3214: Computer Networks Protocols and Applications

Network layer. Key Network-Layer Functions. Network service model. Interplay between routing and forwarding. CSE 4213: Computer Networks II

PART III. Implementing Inter-Network Relationships with BGP

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

Network layer: Overview. Network layer functions Routing IP Forwarding

Internet Protocol: Routing Algorithms. Srinidhi Varadarajan

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

Network Routing. Packet Routing, Routing Algorithms, Routers, Router Architecture

CS 457 Networking and the Internet. The Global Internet (Then) The Global Internet (And Now) 10/4/16. Fall 2016

COMP211 Chapter 5 Network Layer: The Control Plane

CS118 Discussion 1A, Week 7. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

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

CS 204: BGP. Jiasi Chen Lectures: MWF 12:10-1pm Humanities and Social Sciences

Routing. Jens A Andersson Communication Systems

CS 457 Networking and the Internet. Shortest-Path Problem. Dijkstra s Shortest-Path Algorithm 9/29/16. Fall 2016

Network Layer: Routing. Routing. Routing protocol. Graph abstraction for routing algorithms: graph nodes are routers graph edges are physical links

Why dynamic route? (1)

UNIT III THE NETWORK LAYER

Lecture 4. The Network Layer (cont d)

Chapter 4: Network Layer. Chapter 4 Network Layer. Chapter 4: Network Layer. Network layer. Chapter goals:

Chapter 4: Network Layer: Part II

Module 3 Network Layer CS755! 3-1!

Routing Unicast routing protocols

Chapter 4 Network Layer

Department of Computer Science Southern Illinois University Carbondale

Inter-Autonomous-System Routing: Border Gateway Protocol

Network layer: Overview. Network layer functions Routing IP Forwarding

CSC 8560 Computer Networks: Control Plane

Routing. Outline. Algorithms Scalability

Inter-Autonomous-System Routing: Border Gateway Protocol

Chapter 5 Network Layer: The Control Plane

Hierarchical Routing. Our routing study thus far - idealization all routers identical network flat no true in practice. administrative autonomy

11/13/2017 Network Layer (SSL) Network-layer functions. Recall the two network-layer functions:

Network Layer. CMPS 4750/6750: Computer Networks

Master Course Computer Networks IN2097

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

Inter-Domain Routing: BGP

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP

Internet inter-as routing: BGP

Introduction to Computer Networks

Chapter 4 Network Layer

Chapter 4 Network Layer. Network Layer 4-1

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

Inter-domain Routing. Outline. Border Gateway Protocol

Interplay Between Routing, Forwarding

Course on Computer Communication and Networks. Lecture 7 Network Layer, Chapter 4 (6/e) - Part B (7/e Ch5)

Basic Idea. Routing. Example. Routing by the Network

Routing by the Network

internet technologies and standards

CSCE 463/612 Networks and Distributed Processing Spring 2018

Internet Routing : Fundamentals of Computer Networks Bill Nace

Introduction to Communication Networks Spring Unit 16 Global Internetworking

CSC 401 Data and Computer Communications Networks

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

ETSF10 Internet Protocols Routing on the Internet

Network Layer: Routing

Network layer. Network Layer 4-1. application transport network data link physical. network data link physical. network data link physical

Computer Networks ICS 651. IP Routing RIP OSPF BGP MPLS Internet Control Message Protocol IP Path MTU Discovery

Networking: Network layer

Routing on the Internet! Hierarchical Routing! The NSFNet 1989! Aggregate routers into regions of autonomous systems (AS)!

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

The Interconnection Structure of. The Internet. EECC694 - Shaaban

Review for Chapter 4 R1,R2,R3,R7,R10,R11,R16,R17,R19,R22,R24, R26,R30 P1,P2,P4,P7,P10,P11,P12,P14,P15,P16,P17,P22,P24,P29,P30

Network layer functions. Chapter 4 Network Layer. Network layer functions. Network layer functions

Interplay between routing, forwarding

Chapter 4 Network Layer

CMPT 371: Data Communications and Networking. Chapter 4: Network Layer

CMPE 80N: Introduction to Networking and the Internet. Katia Obraczka Computer Engineering UCSC Baskin Engineering Lecture 20

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

Transcription:

IPv6 Initial motivation: 32-bit address space soon to be completely allocated. Additional motivation: header format helps speed processing/forwarding header changes to facilitate QoS IPv6 datagram format: fixed-length 40 byte header no fragmentation allowed IPv6 Header Priority: identify priority among datagrams in flow; help distinguish packets that can be flow controlled and those that cannot Flow Label: experimental - identify datagrams in same flow and treat them specially. Potential use? Next header: identify upper layer protocol for data or optional IP header 1

IPv6 Addressing BTW, how big is 2 128??? There are 1,000,000,000,000,000,000,000,000,000 stars in the observable Universe. 2 128 provides more than 300 billion addresses for every such star! Other Changes from IPv4 Checksum: removed entirely to reduce processing time at each hop Options: allowed, but outside of header, indicated by Next Header field ICMPv6: new version of ICMP additional message types, e.g. Packet Too Big multicast group management functions 2

Header Extensions Example optional headers Hop-by-Hop Option Special options that require hop-by-hop processing Routing Extended routing, like IPv4 loose source route Fragmentation Fragmentation and reassembly (processed at destination) Authentication Integrity and authentication, security Encapsulation Confidentiality Destination Options Optional information to be examined by the destination node 3

Transition From IPv4 To IPv6 Not all routers are upgraded simultaneously How will the network operate with mixed IPv4 and IPv6 routers? Tunneling: IPv6 carried as payload in IPv4 datagram among IPv4 routers. How? Tunneling Logical view: A B tunnel E F IPv6 IPv6 IPv6 IPv6 Physical view: A B E F IPv6 IPv6 IPv4 IPv4 IPv6 IPv6 4

Tunneling Logical view: A B tunnel E F IPv6 IPv6 IPv6 IPv6 Physical view: A B C D E F IPv6 IPv6 IPv4 IPv4 IPv6 IPv6 Flow: X Src: A Dest: F data Src:B Dest: E Flow: X Src: A Dest: F Src:B Dest: E Flow: X Src: A Dest: F Flow: X Src: A Dest: F data data data A-to-B: IPv6 B-to-C: IPv6 inside IPv4 B-to-C: IPv6 inside IPv4 E-to-F: IPv6 IPv6 Status CIDR introduced in 1993 to stave off exhaustion of IPv4 addresses CIDR (plus NAT) has been very effective, but final phase of allocation began in 2011. Still, in 2013 only 16% of networks supported IPv6 In 2014, IPv4 still carried more than 99% of all Internet traffic But, by end of 2015, 10% of users reached Google via IPv6 5

Chapter 4: Introduction (forwarding and routing) Review of queueing theory Routing algorithms Link state, Distance Vector Router design and operation IP: Internet Protocol IPv4 (datagram format, addressing, ICMP, NAT) Ipv6 Routing in the Internet Autonomous Systems Routing protocols (RIP, OSPF, BGP) Hierarchical Routing Our routing study thus far has focused on individual networks network is flat all routers are identical But, the Internet is a network of networks Routing is hierarchical. Why? Individual networks have autonomy. 6

Hierarchical Routing aggregate routers into regions, autonomous systems (AS) routers in same AS run same routing protocol intra-as routing protocol routers in different AS can run different intra-as routing protocol Gateway router Direct link to router in another AS Interconnected Autonomous Systems 3c 3a 3b AS3 1a 1c 1d 1b Intra-AS Routing algorithm AS1 Forwarding table Inter-AS Routing algorithm 2a 2c 2b AS2 forwarding table configured by both intra- and inter-as routing algorithm intra-as sets entries for internal destinations inter-as & intra-as sets entries for external destinations 7

Intra-AS Routing also known as Interior Gateway Protocols (IGP) most common Intra-AS routing protocols: RIP: Routing Information Protocol OSPF: Open Shortest Path First IGRP: Interior Gateway Routing Protocol (Cisco proprietary) RIP ( Routing Information Protocol) distance vector algorithm included in BSD-UNIX Distribution in 1982 distance metric: # of hops (max = 15 hops) From router A to subnets: z u A C B D v y w x destination hops u 1 v 2 w 2 x 3 y 3 z 2 8

RIP vectors distance vectors: exchanged among neighbors every 30 sec via Response Message (also called advertisement) each advertisement: list of up to 25 destination subnets within AS RIP: Example Dest Next hops w - 1 x - 1 z C 4.... Advertisement from A to D w x y A D B z C Destination Network Next Router Num. of hops to dest. w A 2 y B 2 z B A 7 5 x -- 1..... Routing/Forwarding table in D 9

RIP: Link Failure and Recovery If no advertisement heard after 180 sec --> neighbor/link declared dead routes via neighbor invalidated new advertisements sent to neighbors neighbors in turn send out new advertisements (if tables changed) link failure info quickly (?) propagates to entire net poison reverse used to prevent ping-pong loops (infinite distance = 16 hops = you can t get there from here ) RIP Table processing RIP routing tables managed by application-level process called route-d (daemon) advertisements sent in UDP packets, periodically repeated routed routed Transprt (UDP) network (IP) link physical forwarding table forwarding table Transprt (UDP) network (IP) link physical 10

OSPF (Open Shortest Path First) uses Link State algorithm LS packet dissemination topology map at each node route computation using Dijkstra s algorithm OSPF advertisement carries one entry per neighbor router advertisements disseminated to entire AS via flooding carried in OSPF messages directly over IP, rather than TCP or UDP (how?) Hierarchical OSPF two-level hierarchy: local area, backbone. Link-state advertisements only in area each node has detailed area topology; only know direction (shortest path) to nets in other areas. area border routers: summarize distances to nets in own area, advertise to other Area Border routers. backbone routers: run OSPF routing limited to backbone. boundary routers: connect to other AS s. 11

Hierarchical OSPF Internet inter-as routing: BGP BGP (Border Gateway Protocol): the de facto standard BGP provides each AS a means to: 1. Obtain subnet reachability information from neighboring ASs. 2. Propagate reachability information to all AS-internal routers. 3. Determine good routes to subnets based on reachability information and policy. allows subnet to advertise its existence to rest of Internet: I am here Some resemblance to distance-vector, but based on paths not simply distance 12

BGP basics pairs of routers (BGP peers) exchange routing info over semi-permanent TCP connections: BGP sessions BGP sessions need not correspond to physical links. when AS2 advertises a CIDRized prefix to AS1: AS2 promises it will forward datagrams towards that prefix. AS2 can aggregate prefixes in its advertisement 3c 3a 3b AS3 1a AS1 1c 1d ebgp session ibgp session 1b 2a 2c 2b AS2 Distributing reachability info using ebgp session between 3a and 1c, AS3 sends prefix reachability info to AS1. 1c can then use ibgp do distribute new prefix info to all routers in AS1 1b can then re-advertise new reachability info to AS2 over 1b-to-2a ebgp session when router learns of new prefix, it creates entry for prefix in its forwarding table. 3c 3a 3b AS3 1a AS1 1c 1d ebgp session ibgp session 1b 2a 2c 2b AS2 13

Path attributes & BGP routes advertised prefix includes BGP attributes. prefix + attributes = route two important attributes: AS-PATH: contains ASs through which prefix advertisement has passed: e.g, AS 67, AS 17 NEXT-HOP: indicates specific internal-as router that begins the AS-PATH. (enables configuration of routing table entries) BGP routing policy W A B C X legend: provider network customer network: Y A,B,C are provider networks X,W,Y are customers (of provider networks) X is dual-homed: attached to two networks X does not want to route from B via X to C.. so X will not advertise to B a route to C 14

BGP routing policy (cont.) W A B C X legend: provider network customer network: Y A advertises path AW to B B advertises path BAW to X Should B advertise path BAW to C? No. B gets no revenue for routing CBAW since neither W nor C are B s customers B wants to force C to route to w via A B wants to route only to/from its customers. Chapter 4 Summary Introduction (forwarding and routing) Review of queueing theory Routing algorithms Link state, Distance Vector Router design and operation IP: Internet Protocol IPv4 (datagram format, addressing, ICMP, NAT) Ipv6 Routing in the Internet Autonomous Systems Routing protocols (RIP, OSPF, BGP) 15