Topology of the Internet. Autonomous Systems (AS) Two-Level Routing. Why are there different Protocols?

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

Network layer: Overview. Network Layer Functions

Homework 3 Discussion

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

Internetworking Part 2

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

Network Layer PREPARED BY AHMED ABDEL-RAOUF

The Interconnection Structure of. The Internet. EECC694 - Shaaban

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

Internetworking Part 2

Lecture 3: Packet Forwarding

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

CSC 4900 Computer Networks: Network Layer

Chapter 3 Internetworking

McGraw-Hill The McGraw-Hill Companies, Inc., 2000

CS4450. Computer Networks: Architecture and Protocols. Lecture 20 Pu+ng ALL the Pieces Together. Spring 2018 Rachit Agarwal

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

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

Internet Protocol Addressing and Routing. Redes TCP/IP

Tutorial 9. SOLUTION Since the number of supported interfaces is different for each subnet, this is a Variable- Length Subnet Masking (VLSM) problem.

Master Course Computer Networks IN2097

Basic Idea. Routing. Example. Routing by the Network

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

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

Addressing and Routing

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

Routing by the Network

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

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

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

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

cs/ee 143 Communication Networks

CSE 123: Computer Networks

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

Network Layer: Internet Protocol

Computer Networking Introduction

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

internet technologies and standards

End-to-End Communication

Lecture 4 - Network Layer. Transport Layer. Outline. Introduction. Notes. Notes. Notes. Notes. Networks and Security. Jacob Aae Mikkelsen

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

Internet Routing Protocols, DHCP, and NAT

CSE 1 23: Computer Networks

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

ECE 158A: Lecture 7. Fall 2015

Table of Contents Chapter 1 Tunneling Configuration

Routing Basics ISP/IXP Workshops

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

IT Certification Exams Provider! Weofferfreeupdateserviceforoneyear! h ps://

Router Architecture Overview

Chapter 4: Network Layer

CMPE 80N: Introduction to Networking and the Internet

ETSF10 Internet Protocols Routing on the Internet

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

ECE 4450:427/527 - Computer Networks Spring 2017

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

Topics for This Week

The Internet. The Internet is an interconnected collection of netw orks.

Back to basics J. Addressing is the key! Application (HTTP, DNS, FTP) Application (HTTP, DNS, FTP) Transport. Transport (TCP/UDP) Internet (IPv4/IPv6)

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

Where we are in the Course

CSc 450/550 Computer Networks Internet Routing

IP Addresses McGraw-Hill The McGraw-Hill Companies, Inc., 2000

EEC-684/584 Computer Networks

Routing Basics. SANOG July, 2017 Gurgaon, INDIA

CSC 401 Data and Computer Communications Networks

IP Addressing & Interdomain Routing. Next Topic

Routing Concepts. IPv4 Routing Forwarding Some definitions Policy options Routing Protocols

CCNA 1 Chapter 6 v5.0 Exam Answers 2013

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

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

Network Layer: Control/data plane, addressing, routers

Internet Routing Basics

LARGE SCALE IP ROUTING

Computer Networks II IPv4 routing

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

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

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

Introduction to Computer Networks

Chapter 4 Network Layer

Computer Networks CS 552

Internetworking/Internetteknik, Examination 2G1305 Date: August 18 th 2004 at 9:00 13:00 SOLUTIONS

Internet Network Protocols IPv4/ IPv6

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

1-1. Switching Networks (Fall 2010) EE 586 Communication and. October 25, Lecture 24

Chapter 19 Network Layer: Logical Addressing

Inter-Autonomous-System Routing: Border Gateway Protocol

Routing Basics ISP/IXP Workshops

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

CSCE 463/612 Networks and Distributed Processing Spring 2018

IP: Addressing, ARP, Routing

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

Network Layer Week 5. Module : Computer Networks Lecturer: Lucy White Office : 324

Routing Overview. Information About Routing CHAPTER

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

Cisco CCNA Basic IP Routing Part I

CSCI-1680 Network Layer: IP & Forwarding Rodrigo Fonseca

Introduction to OSPF

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

CSCI Computer Networks Fall 2016

Transcription:

Topology of the Internet Autonomous Systems (AS) The global Internet consists of Autonomous Systems (AS) interconnected with each other: - Collection of routers under same administrative control, all running the same routing protocol among themselves. - Stub AS: only one connection to another AS (small company) - Mulithomed AS: multiple connections to other AS. No transit. (large corporation) - Transit AS: hooking many AS together (provider) Two-Level Routing Intra-AS Routing (RIP/DV, OSPF/LS, IGRP/DV) - administrator responsible for the choice of routing protocol. Inter-AS Routing (BGP) Why are there different Protocols? Policy: - Inter-AS: control over how traffic is routed, and who routes through the network. - Intra-AS: single admin, so no policy decisions needed. Scale: - hierarchical routing saves table size, reduced update traffic. Performance: - Intra-AS: can focus on performance - Inter-AS: scalability and policy dominate over performance.

IPv4 Addressing An IP address is an identifier for a host/router interface. - Interface: connection between host/router and physical link - Routers have several interfaces, hosts can have several interfaces. IPv4 Address Structure IPv4 Addresses: 32 bit Human readable form: a.b.c.d example: 130.238.8.176 network/prefix x bits (where a,b,c,d are 8bit values) host 32-x bits Interface Addresses and Subnets A Router (layer 3) connects layer 2 networks. These networks are also called Subnet and have their own network id. Routing is only based on the network identifier. - prefix = x MSB of the address (x: mask) - we use the following notation for the prefix: a.b.c.d/x - in Windows the mask has the form of e.g., 255.255.255.0 (=/24)

Routing Table Example Forwarding Policy Routing Table at router R2 (simplified) subnet next hop L2 if 223.1.1.0/24 223.1.9.2 3 233.1.2.0/24 -* 1 223.1.3.0/24 223.1.8.0 2 223.1.7.0/24 223.1.8.0 2 223.1.8.0/24 -* 2 223.1.9.0/24 -* 3 prefix 3 2 check if destination address matches the prefix of the incoming network interface: - if it does: pass packet to transport layer (node is destination) - else drop packet (the destination is on same network, no forwarding required) else, choose longest matching prefix in routing table. forward packet based on next hop information. 1 * this subnet is directly connected to the router. Default Router Address Resolution Protocol (ARP) Entry in the routing table of a host or router, specifying to which router a message that does not match any prefix should be forwarded to. Usually a gateway to other networks, e.g., the Internet. Translation between network-layer addresses and linklayer addresses. 130.238.8.100 > 49-BD-D2-C7-56-2A Resolution on same local link only (not-end-to end): who has 130.238.8.100, tell 130.238.8.123 reply 130.238.8.100 is at 49-BD-D2-C7-56-2A Resolution at every router! Cache to avoid ARP request for every single packet (expires after ca. 20 minutes)

Configuration on a Host network/prefix size: x bits host Hierarchy - a Key to Scalability Hierarchical Naming - domain names: uu.se, it.uu.se - fully qualified domain names: rama.it.uu.se, www.google.com - Domain Name System Address: network/prefix, host > identifyer Network mask > recognise prefix (network) Default router > router for traffic not on same netw. DNS server Hierarchical Addressing - use of prefixes: 220.23.16.0/20, 200.23.16.0/23 - IPv4 Addresses Hierarchical Routing - tightly related to addressing - Autonomous Systems (intra-as and inter-as routing) Hierarchical Addresses Example without guarantee Network Address Allocation sunet.se 130.242.88.17/11 242: 11110010 uu.se 130.238.0.0/16 238: 11101110 it.uu.se 130.238.8.0/24 student.uu.se 130.238.5.0/24

Network Address Allocation More Addresses... Allocation of prefixes is necessary for routing efficiency but inefficient in terms of address usage. IPv6 - Extended addressing capabilities (net id, id unique) - Streamlined header (40 Bytes) - Flow labelling and priority Network Address Translation (NAT) - IP addresses have only a local scope 10.0.0.0/8, 192.168.0.0/16 ( non routable addresses) - Typical home/student network. How does an IPS get a block of addresses? ICANN: Internet Corporation for Assigned Names and Numbers Note: It is not the goal to improve address usage efficiency. Alternative Routing Approaches Label Switching - Hop-by-hop addresses (labels) - Example: Multiprotocol Label Switching (MPLS) Probabilistic Routing - The routing table indicates the probability to deliver to the destination based on prior experience. - Forward a message if higher probability than previous hop. - Example: Prophet routing protocol (Sami Network Connectivity) Content Routing - Finding information rather than a specific address.