The Interconnection Structure of. The Internet. EECC694 - Shaaban

Similar documents
EEC-684/584 Computer Networks

Vorlesung Kommunikationsnetze

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

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

IP Protocols. ALTTC/Oct

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

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Introduction to routing in the Internet

Introduction to Internetworking

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

EEC-484/584 Computer Networks

What is the difference between unicast and multicast? (P# 114)

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

Router Architecture Overview

The Internet Protocol (IP)

Network layer: Overview. Network Layer Functions

Internet Protocols (chapter 18)

The Internet Protocol. IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly

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

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

Chapter 4: Network Layer

Chapter Motivation For Internetworking

Introduction to routing in the Internet

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

Internetworking Part 2

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

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Networks. an overview. dr. C. P. J. Koymans. Informatics Institute University of Amsterdam. February 4, 2008

ROUTING INTRODUCTION TO IP, IP ROUTING PROTOCOLS AND PROXY ARP

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

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

Where we are in the Course

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

II. Principles of Computer Communications Network and Transport Layer

TSIN02 - Internetworking

SEN366 (SEN374) (Introduction to) Computer Networks

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

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

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

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

Basic Idea. Routing. Example. Routing by the Network

PART X. Internetworking Part 1. (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution)

Topics for This Week

The Network Layer. Internet solutions. Nixu Oy PL 21. (Mäkelänkatu 91) Helsinki, Finland. tel fax.

IT220 Network Standards & Protocols. Unit 8: Chapter 8 The Internet Protocol (IP)

Routing by the Network

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

Dongsoo S. Kim Electrical and Computer Engineering Indiana U. Purdue U. Indianapolis

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

IP - The Internet Protocol

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

OSI Network Layer. Chapter 5

TSIN02 - Internetworking

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

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

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

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

Chapter 19 Network Layer: Logical Addressing

Table of Contents. Cisco TCP/IP

Networking: Network layer

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

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

Master Course Computer Networks IN2097

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

Network Layer: Control/data plane, addressing, routers

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

CHAPTER-2 IP CONCEPTS

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

Networking Fundamentals

CS 455 Internet Architecture, Page 3 ffl By 1985, the ARPANET was heavily used and congested; the National Science Foundation (NSF) initiated the NSFN

Internetworking Part 2

Chapter 4 Network Layer: The Data Plane

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

Top-Down Network Design

Addressing and Routing

FIGURE 3. Two-Level Internet Address Structure. FIGURE 4. Principle Classful IP Address Formats

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

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

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

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

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

TCP/IP Protocol Suite

IP Address Assignment

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

IP: Addressing, ARP, Routing

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4

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

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

Internet Protocol (IP)

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

TCP/IP and the OSI Model

CSC 401 Data and Computer Communications Networks

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

CSCI-1680 Network Layer: IP & Forwarding John Jannotti

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

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.

Agenda L2 versus L3 Switching IP Protocol, IP Addressing IP Forwarding ARP and ICMP IP Routing First Hop Redundancy

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

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

Planning for Information Network

Transcription:

The Internet Evolved from the ARPANET (the Advanced Research Projects Agency Network), a project funded by The U.S. Department of Defense (DOD) in 1969. ARPANET's purpose was to provide the U.S. Defense Network (DDN) with redundant links between its sites and the Pentagon, relying on intelligent data packets that could automatically route themselves around failed network routers and links. During the 1970s, the ARPANET gradually transformed and expanded into the current Internet as new protocols and technologies became available, and as additional defense, research, scientific, commercial and development organizations were added to the network. At the network layer level: The Internet is a global collection of subnets held together by a common main network layer protocol: IP (Internet Protocol). Example Transport Layer Protocols: Connection-oriented: TCP (Transport Control Protocol), Connectionless: UDP (User Data Protocol). #1 lec #9 Spring2000 4-4-2000

The Interconnection Structure of The Internet #2 lec #9 Spring2000 4-4-2000

Internet Hierarchical IP Host Addressing In compliance with the current version of IP, IP version 4 (IPv4), standardized in September 1981: Each machine on the Internet must be assigned one or more unique 32 bit long addresses. Hence a theoretical maximum of 2 32 (4,294,967,296) different IP host addresses are possible. The IP address allocation process is handled by the Network Information Center (NIC) for each region. In addition, each machine can have one or more internet host names each to be resolved to an assigned IP address of the host. (i.e. Host name: beast.isc.rit.edu is resolved to IP address 129.21.195.37) Internet addresses are conventionally written in dotted decimal notation: A.B.C.D where A, B, C, D are 8 bits each and thus range from 0.0.0.0 to 255.255.255.255 #3 lec #9 Spring2000 4-4-2000

Classic IP Addressing Architecture The classical IP network prefix is the Class A, B, C, D, or E network prefix. These address ranges are discriminated by observing the values of the most significant bits of the address, and break the address into simple network prefix (or number) and host number fields: IP-address ::= { <Network-prefix>, <Host-number> } The network classes are identified as follows: 0xxx Class A general purpose unicast addresses with standard 8 bit prefix. 10xx Class B general purpose unicast addresses with standard 16 bit prefix. 110x Class C general purpose unicast addresses with standard 24 bit prefix. 1110 Class D IP Multicast Addresses - 28 bit prefix, non-aggregatable 1111 Class E reserved for experimental use. To allow hierarchical routing, an IP address can be further divided : IP-address ::= { <Network-number>, <Subnet-number>, <Host-number> } The interconnected physical networks within an organization use the same network prefix but different subnet numbers. Routers outside the network treat <Network-prefix> and <Host-number> together as an uninterpreted part of the 32-bit IP address. #4 lec #9 Spring2000 4-4-2000

Primary IP Primary Address Classes Max # of class A networks = 2 7-2 = 126 networks each containing 2 24-2 = 16,777,214 host addresses 50% of the total IPv4 unicast address space Max # of class B networks = 2 14 = 16,384 networks each containing 2 16-2 = 65,534 host addresses 25% of the total IPv4 unicast address space Max # of class C networks = 2 21 = 2,097,152 networks each containing 2 8-2 = 254 host addresses 12.5% of the total IPv4 unicast address space Allocated Network Numbers By Class Growth of Internet Routing Tables #5 lec #9 Spring2000 4-4-2000

IP Addresses Formats Special IP Addresses #6 lec #9 Spring2000 4-4-2000

Network Mask A 32-bit number indicating the range of IP addresses residing on a single IP network/subnet/supernet and the length of the network-prefix. For example, the network mask for a class C IP network is given as 255.255.255.0 To identify the network/subnet of a destination IP address, routers logically AND the mask and the full destination IP address then compare the result with network addresses in routing table to determine the next hop. One of the fundamental features of IP addressing is that each address contains a self-encoding key that identifies the dividing point between the network-prefix and the host-number. For example, if the first two bits of an IP address are 1-0, the dividing point falls between the 15th and 16th bits. This simplified the routing system during the early years of the Internet because the original routing protocols did not supply a "mask" with each route to identify the length of the network-prefix. #7 lec #9 Spring2000 4-4-2000

IP Packet (Datagram) Format IP Packet (Datagram) Format Each IP packet Consists of: Header: 20-byte fixed part, a variable length optional part. Text part: Data field. Header Fields: Version: Protocol version to allow time for protocol upgrades on various machines in the net. IHL: Header length in 32-bit words. Type of service: Reliability and speed parameters. Total length: Of datagram both header and data (max 65,535 bytes). Identification: Used to determine to which datagram fragments belong to. DF bit: Don t fragment. MF: More fragments bit; zero for last fragment of packet. Fragment offset: Position of fragment in datagram. Time to live: Used to limit packet lifetime. usually in hops. Protocol: Transport protocol used (TCP, UDP etc.) Header checksum, source and destination addresses. Options: Security, routing, record route, timestamp. #8 lec #9 Spring2000 4-4-2000

IP (Internet Protocol): Header and Options #9 lec #9 Spring2000 4-4-2000

Internet Control Message Protocol (ICMP) ICMP is an Internet network protocol that provides an error-reporting mechanism. Usually used by routers to report unexpected events and errors and to measure delays (ping), explore new routers and routes (traceroute). ICMP messages are encapsulated in IP packets: When reporting an error, router sends message back to source in an ICMP datagram message contains information about problem. Ping program uses ICMP echo request and echo reply messages sent by host to test if the target host is reachable. #10 lec #9 Spring2000 4-4-2000

Major ICMP Message Types #11 lec #9 Spring2000 4-4-2000

Routing In The Internet TCP/IP Networks and LANs: The Address Resolution Protocol (ARP). Table Lookup Address Resolution. Reverse Address Resolution Protocol (RARP) Internal Routing in Autonomous systems: Link state based Open Shortest Path First (OSPF). Routing. External routing between Autonomous systems: Exterior gateway protocol: Border Gateway Protocol (BGP( BGP). Classless Inter-Domain Routing (CIDR( CIDR). #12 lec #9 Spring2000 4-4-2000

The Address Resolution Protocol (ARP( ARP) Address resolution: Finding hardware address that corresponds to a network layer protocol address. In Ethernet-based LANs, each machine connected to the LAN has a unique flat 48 bit Ethernet address encoded in its NIC by the manufacturer. ARP: When the transport layer on a LAN-connected machine passes a message to be transmitted to the IP layer and destined to another machine on the LAN: Translate the host name of the receiver to its IP address using the Domain Name System (DNS). Broadcast a packet to the LAN requesting the Ethernet address of the machine with the given IP (step 1 of ARP). The target machine with this IP replies with its Ethernet address E (step 2 of ARP). IP software on the source machine builds an Ethernet frame with Ethernet address E and puts the IP packet its payload field. The destination machine picks up the Ethernet frame and extracts and passes the IP packet to its IP software. #13 lec #9 Spring2000 4-4-2000

ARP In Interconnected LANs When a host A on LAN 1 is sending an IP packet to host B on LAN 2 with IP-B: The host, sensing a remote address, creates an IP packet and packs it into an Ethernet frame addressed to the local router R1 Router R receives the Ethernet frame and extracts the IP packet and looks up the IP address of the router responsible for that network, R2. If the Ethernet address of remote router R2 not known, ARP is used to find it. R2 receives the Ethernet frame and uses ARP to find the local Ethernet address corresponding to IP-B #14 lec #9 Spring2000 4-4-2000

ARP in Interconnected LANs (Example) #15 lec #9 Spring2000 4-4-2000

Table Lookup Address Resolution A table containing the IP address and hardware address of each host on the LAN and its corresponding hardware (Ethernet) address is used. When sending frames to another host on the LAN, the table is searched on the IP address and the corresponding hardware address in the table is found. A portion of an IP/Ethernet address resolution table Often used in conjunction with ARP to reduce address resolution overhead: The table initially cleared at system startup. For every host with no entry in the table ARP is used to find its hardware address. The corresponding hardware address obtained from ARP is added or cached in the sending host s table. Table entries are periodically discarded to prevent stale addresses. #16 lec #9 Spring2000 4-4-2000

Reverse Address Resolution Protocol (RARP) Used by machines joining the network, with no IP address stored in the machine, to find out the assigned IP addresses corresponding to the machine s Ethernet NIC addresses. Such a machine broadcasts a request with its Ethernet address using RARP. The RARP server on the LAN replies to the request with the IP address from its configuration files. RARP broadcasts are limited to a LAN and not forwarded to routers fi Each LAN must have an RARP server. Bootstrap protocol BOOTP: Uses UDP packets which can be forwarded to routers No need for a BOOTP server on each LAN. #17 lec #9 Spring2000 4-4-2000

Routing In The Internet The Internet as a whole is formed from a number of Autonomous Systems. Each AS is further divided into areas with a special area 0 (the backbone) connected to all its other areas. Internal routing in an AS is handled by an interior gateway protocol: Open Shortest Path First (OSPF), a hierarchical, dynamic link-state routing algorithm which supports: Point-to-point connection between two routers. Multi-access networks, with broadcasting (LANS ), and without (WANS). External routing between ASes is handled by an exterior gateway protocol: Border Gateway Protocol (BGP): The network is reduced to BGP routers and their links. Based on a distance vector protocol with actual path used being exchanged between routers. #18 lec #9 Spring2000 4-4-2000

Open Shortest Path First (OSPF( OSPF) OSPF is a TCP/IP link-state based Internet routing protocol designed to run internal to a single Autonomous System. IP packets are routed based solely on the destination IP address found in the IP packet header without adding further protocol headers. Each OSPF router maintains an identical link-state database describing the router's usable interfaces, reachable neighbors and the Autonomous System's topology. From this database, a routing table is initially calculated by constructing a shortest-path tree. When several equal-cost routes to a destination exist, traffic is distributed equally among them. Topological changes in the AS (such as router interface failures) are quickly detected by calculating new loop-free routes. Each router distributes its local state throughout the Autonomous System by flooding. Sets of networks may be grouped together in an area where the topology of an area is hidden from the rest of the Autonomous System. #19 lec #9 Spring2000 4-4-2000

The Relation Between: ASes, Backbones and Areas in OSPF AS 1 Internal router AS 3 AS 2 AS 4 Backbone Backbone router Area EGP protocol connects the ASes Area border router AS boundary router #20 lec #9 Spring2000 4-4-2000

Border Gateway Protocol (BGP( BGP) BGP is intended for use between networks owned by different organizations (Backbone Providers). BGP is often referred to as a tool for "policy" routing, because It may not take into account network constraints such as available bandwidth or network load. The primary routing protocol that Internet backbone providers use to exchange routing information. Each provider will configure its border routers to announce certain routes to its neighbors. The neighboring provider will filter those announcements based on its own policies and will discard some of those announced routes. Of the routes that are accepted, some may only be used locally, in the provider's own routing tables, and some may be announced to other neighboring backbones. #21 lec #9 Spring2000 4-4-2000

Border Gateway Protocol (BGP) The world according to BGP: A set of BGP routers and links Information sent to F #22 lec #9 Spring2000 4-4-2000

Classless Inter-Domain Routing (CIDR( CIDR) Eliminates the traditional concept of Class A, Class B, and Class C network addresses, replacing them a generalized concept of a "network-prefix." Supports route aggregation where a single routing table entry can represent the address space of perhaps thousands of traditional class network routes. Without the rapid deployment of CIDR in 1994 and 1995, the Internet routing tables would have been in excess of 70,000 routes (instead of the current 30,000+). A prefix-length is included with each piece of routing information. The prefix-length is a way of specifying the number of leftmost contiguous bits in the network-portion of each routing table entry. For example, a network with 20 bits of network-number and 12-bits of host-number would have with a 20-bit prefix length, which could be a former Class A, Class B, or Class C. Routers that support CIDR do not make assumptions based on the first 3-bits of the address, they rely on the prefix-length information provided with the route. #23 lec #9 Spring2000 4-4-2000

CIDR Reduction of of Internet Routing Tables Size #24 lec #9 Spring2000 4-4-2000

The Future of IP: IPv6 Class B network addresses are almost all allocated, leaving Class C addresses which are too small for large organizations. To cope with this, IPv6 addresses are expanded to 128bits: No fixed address classes: Prefix/suffix boundary can fall anywhere. An IPv6 address with 96 leading zeros is has an IPv4 address. Special types of addresses: Unicast: Single destination computer. Multicast: Multiple destinations; possibly not at same site. Cluster: Collection of computers with same prefix; datagram is delivered to one out of cluster. Optional extension headers included which additional information. The base header is fixed at 40 bytes. NEXT HEADER field in defines type of header. Some extensions headers are variable sized: HEADER LEN field gives size of extension header. Supports audio and video transmission by including quality of service parameters and by allowing routers to use pre-determined routes using flow labels. #25 lec #9 Spring2000 4-4-2000

IPv6 Packet Format Base Header #26 lec #9 Spring2000 4-4-2000

IPv6 Fragmentation Information Fragmentation information included in a separate extension header. #27 lec #9 Spring2000 4-4-2000