Internetworking and Internet-1. Global Addresses



Similar documents
Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

COMP 631: COMPUTER NETWORKS. IP Addressing. Jasleen Kaur. Fall How to Deal With Heterogeneity & Scale?

CS 348: Computer Networks. - IP addressing; 21 st Aug Instructor: Sridhar Iyer IIT Bombay

Internet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming IP routing

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

RARP: Reverse Address Resolution Protocol

Internetworking. Problem: There is more than one network (heterogeneity & scale)

Internet Protocols Fall Lectures 7-8 Andreas Terzis

8.2 The Internet Protocol

Introduction to LAN/WAN. Network Layer (part II)

04 Internet Protocol (IP)

Internet Protocol Address

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

Lecture Computer Networks

Network layer: Overview. Network layer functions IP Routing and forwarding

CSC458 Lecture 6. Homework #1 Grades. Inter-domain Routing IP Addressing. Administrivia. Midterm will Cover Following Topics

DG Forwarding Algorithm

PART IV. Network Layer

Binding IP Addresses To Physical Hardware Addresses

How To Make A Network Address Prefix Smaller

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

Computer Network Foundation. Chun-Jen (James) Chung. Arizona State University

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

1. How many unique network IDs are there in class A addresses? # of unique hosts?

SUBNETS, CIDR, AND CLASSLESS ADDRESSING

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface

Lecture 8. IP Fundamentals

Internetworking and IP Address

IP Addressing Introductory material.

IP address format: Dotted decimal notation:

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme. Auxiliary Protocols

Savera Tanwir. Internet Protocol

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

IP Addressing. IP Addresses. Introductory material.

IP Addressing. -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing

IP Addressing A Simplified Tutorial

03 Internet Addressing

Introduction to TCP/IP

The Internet. Internet Technologies and Applications

Internet Control Protocols Reading: Chapter 3

Internet Protocols Fall Outline

CS335 Sample Questions for Exam #2

Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

ICS 351: Today's plan

Internet Protocol version 4 Part I

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

Variable length subnetting

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

Internet Addresses (You should read Chapter 4 in Forouzan)

Agenda. Distributed System Structures. Why Distributed Systems? Motivation

VLSM and CIDR Malin Bornhager Halmstad University

Dynamic Host Configuration Protocol (DHCP) 02 NAT and DHCP Tópicos Avançados de Redes

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

Module 2: Assigning IP Addresses in a Multiple Subnet Network

Subnetting and Network Management Omer F. Rana. Networks and Data Communications 1

5. Classless and Subnet Address Extensions 최 양 희 서울대학교 컴퓨터공학부

Network and Host Addresses , Cisco Systems, Inc. All rights reserved. INTRO v1.0a 6-4

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

PPS Internet-Praktikum. Prof. Bernhard Plattner Institut für Technische Informatik und Kommunikationsnetze (TIK)

Themen der Praktikumsnachmittage. PPS Internet-Praktikum. Zielsetzung. Infrastruktur im ETF B5

IP Subnetting and Addressing

Future Internet Technologies

Chapter 4 Network Layer

Network Layer: Network Layer and IP Protocol

Chapter 5: Sample Questions, Problems and Solutions Bölüm 5: Örnek Sorular, Problemler ve Çözümleri Örnek Sorular (Sample Questions):

The IP Transmission Process. V1.4: Geoff Bennett

Networking Test 4 Study Guide

Internet Protocols. Addressing & Services. Updated:

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

Subnet + CIDR. Internet Networking recitation #1. 11: , Internet Networking,

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

Outline. Internet Routing. Alleviating the Problem. DV Algorithm. Routing Information Protocol (RIP) Link State Routing. Routing algorithms

CSE331: Introduction to Networks and Security. Lecture 8 Fall 2006

ITRI CCL. IP Routing Primer. Paul C. Huang, Ph.D. ITRI / CCL / N300. CCL/N300; Paul Huang 1999/6/2 1

Internet Firewall CSIS Packet Filtering. Internet Firewall. Examples. Spring 2011 CSIS net15 1. Routers can implement packet filtering

CIDR: Classless Interdomain Routing

Chapter 3. Internetworking

Mobile IP. Bheemarjuna Reddy Tamma IIT Hyderabad. Source: Slides of Charlie Perkins and Geert Heijenk on Mobile IP

We Are HERE! Subne\ng

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

CS 43: Computer Networks IP. Kevin Webb Swarthmore College November 5, 2013

Transport and Network Layer

Computer Networks. Main Functions

Address Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP)

WHITE PAPER. Understanding IP Addressing: Everything You Ever Wanted To Know

AS/400e. TCP/IP routing and workload balancing

(Refer Slide Time: 02:17)

Operating System Concepts. Operating System 資 訊 工 程 學 系 袁 賢 銘 老 師

Part2. Chapter 8. Advanced TCP/IP Network Design - CLASSLESS ADDRESSING AND VARIABLE- LENGTH SUBNET MASKS

CCNA Tutorial Series SUBNETTING

SUPPORT DE COURS. Dr. Omari Mohammed Maître de Conférences Classe A Université d Adrar Courriel : omarinmt@gmail.com

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

CLASSLESS INTER DOMAIN ROUTING - CIDR

ADDRESSING 101 ==================================================== A name is a unique human-understandable identifier.

The Internet/Network Layer

Classful IP Addressing (cont.)

Network Layer, Part 1 Internet Architecture. History

Transcription:

Internetworking and Internet Global Addresses IP servcie model has two parts Datagram (connectionless) packet delivery model Global addressing scheme awaytoidentifyall H in the internetwork Properties globallyunique hierarchical networkpart+hostpart Ethernet s address is globally unique but flat Format 32 Bits Class A B C D E 0 Network Host 10 Network Host 110 Network Host 1110 Multicast address 11110 Reserved for future use Range of host addresses 1.0.0.0 to 127.255.255.255 128.0.0.0 to 191.255.255.255 192.0.0.0 to 223.255.255.255 224.0.0.0 to 239.255.255.255 240.0.0.0 to 247.255.255.255 IP address belongs to interface than host Internetworking and Internet-1

Datagram Forwarding The network part of an IP address uniquely identifies a single physical network All H and R sharing the same network part of their address are connected to the same physical network and can thus communicate by sending frames over that network Hn = Host Rn = Router H7 Network 1 (Ethernet) R3 H8 H1 H2 H3 Network 2 (Ethernet) R1 R2 Network 4 (point-to-point) H4 Network 3 (Token Ring) H5 H6 Example R2 s routing table Network Part Number Next Hop 1 R3 2 R1 3 interface 1 4 interface 0 Examples H1 H2 and H1 H8 Hierarchical addressing reduceroutingtablesizeto achieve scalability Internetworking and Internet-2

Datagram Forwarding a closer look if (destination network == network part of an interface) deliver packet to destination over that interface else if (network part of destination in routing table) deliver packet to NextHop router else deliver packet to default router Lesson learned to achieve scalability, need to reduce the amount of information stored in each node and exchanged between nodes = hierarchical aggregation Internetworking and Internet-3

Address Resolution Protocol (ARP) Deliver over Physical Networks 1. get IP packet to the right physical network 2. get IP packet to the right destination node (R or H) physical interface only understand network technology specific addressing scheme (data-link layer address) Map IP address (of destination H or next hop R) into physical (Data Link Layer) address Techniques encode physical address in host part of IP address table of [IP address, physical address] pairs AddressResolutionProtocol(ARP) each node build table of IP to physical address bindings dynamically broadcast an ARP Query [target IP address] if the IP address is not in table target machine with matching IP address responds with its physical address Encapsulate IP packet inside a frame containing the DLL address for delivery Internetworking and Internet-4

ARP request format for IP-to-Ethernet address mapping HardwareType type of physical network (e.g., Ethernet) ProtocolType type of higher layer protocol (e.g., IP) HLEN & PLEN length of physical and protocol (IP) addresses Operation request or response Source/Target Physical/Protocol addresses Reverse ARP ARP IP address DLL address RARP DLL address IP address Boot a diskless workstation Use Ethernet broadcast address (all 1s) restricted within the same LAN (a RARP server is needed for each network) BOOTP use UDP to get more configuration information (e.g. IP addresses of default router and file server) Internetworking and Internet-5

Summary Lessons Learned Heterogeneity best-effort service model makes minimum assumption about underlying networks is based on unreliable datagram +acommonpacketformatwithfragmentationand reassembly for different MTU +aglobaladdressspaceforidentifyingallhostswitharp for different physical addresses Scale hierarchical aggregation to reduce routing information IP address is partitioned into network and host components with packet first routed toward the destination network and then delivered to the correct host on that network Internetworking and Internet-6

Global Internet So far, we have learned how to connect heterogeneous networks to create an internetwork use the hierarchy of IP address to make routing scalable each R needs not know all the hosts however, each R needs to know all the networks = not enough for the Internet Hierarchical structure of the Internet multiple sites nearby sites are interconnected by regional networks regional networks are connected by nationwide backbones (e.g. NSFNET) Internetworking and Internet-7

Scalability Issues and Solutions Address utilization - inefficient use of address space class B network with 256 hosts (256/65535 = 0.39% efficient) class C network with 2 hosts (2/255 = 0.78% efficient) use up IP address space quickly the more network #, the bigger the routing table solution subnetting Routing scalability too many networks today s Internet has tens of thousands of networks routing tables do not scale rotuing protocols do not scale solution route propagation Balance routing information against address utilization solution classless routing (CIDR) All based on the principle of hierarchy Internetworking and Internet-8

Subnetting Problem address assignment inefficiency assignment of one network # per physical network uses up IP address space much faster than we would like the more network #, the bigger the routing table Solution subnetting to reduce the total number of network #assigned Take a single IP network # and allocate IP addresses with that network # to several physical networks (subnets) subnets are close to each other with single point of entry introduce a subnet # via subnet mask allhonthe same physical network have the same subnet # 3-part IP address network part, subnet part, and H part Network Number Host Number Class B address 111111111111111111111111 00000000 Subnet Mask (255.255.255.0) Network Number Subnet ID Host ID Subnetted Address Internetworking and Internet-9

Add another level of hierarchy into IP address Hisconfiguredwithbothan IP address and a subnet mask all H on a subnet are configured with the same subnet # Subnet masks define variable partition of host part of Class B and C addresses Subnets visible only within site Subnet Mask: 255.255.255.128 Subnet number: 128.96.34.0 128.96.34.15 H1 R1 128.96.34.1 128.96.34.130 Subnet Mask: 255.255.255.128 Subnet number: 128.96.34.128 H3 128.96.33.14 128.96.34.129 R2 128.96.33.1 H2 128.96.34.139 Subnet Mask: 255.255.255.0 Subnet number: 128.96.33.0 Routing table at router R1 Subnet Number Subnet Mask Next Hop 128.96.34.0 255.255.255.128 interface 0 128.96.34.128 255.255.255.128 interface 1 128.96.33.0 255.255.255.0 R2 Internetworking and Internet-10

Forwarding algorithm D = destination IP address for each entry SubnetNum, SubnetMask, NextHop D1 = SubnetMask & D // logical AND if D1 = SubnetNum if NextHop is an interface deliver datagram directly to destination else deliver datagram to NextHop (a router) Not necessary for all 1s in subnet mask to be contiguous Can put multiple subnets on one physical network force H on the same network to communicate via a R Subnets not visible from the rest of the Internet seen as a single network = not all parts of the Internet see exactly the same routing information Subnetting helps solve the scalability problem in two ways Improve address assignment efficiency reduce the total number of network numbers assigned not use up an entire class B/C address every time a physical network is introduced Aggregate information { subnets } as a single network reduce routing information stored in each router Internetworking and Internet-11

CIDR Supernetting Problems Growth of backbone routing table Exhaustion of 32-bit IP address space Subnetting did not resolve the issue that any AS with more than 255 HwantsaClassBaddress Exhaustion of IP address centers on Class B address assign an appropriate # of Class C addresses more accurately match the amount of address space consumed to the size of an AS = larger routing table 16 class C addresses (16 entries in routing table) vs. 1 class B address with efficiency 16 255/65,536=6.2% Need to balance the desire to minimize the # of routes that a router needs to know against the need to hand out addresses efficiently Classless Inter-Domain Routing address2problemsat the same time Idea use a single routing table entry to tell how to reach a lot of different networks route aggregation Mechanism break rigid boundaries between address classes Assign a block of contiguous network numbers to near-by networks, where each block must contain a number of Class C addresses that is a power of 2 Rightarrow addresses that share a common prefix Internetworking and Internet-12

e.g. 16contiguousClassCaddresses(192.4.16 192.4.31) 20-bit network # (Class C < #ofh< Class B) high address efficiency and single network # in RT network # mask, IP address with longest match BGP-4 routers understand CIDR (classless) addressing scheme Subnetting share one address among multiple physical networks CIDR (supernetting) collapsemultipleaddressesassigned to a single AS onto one address so that BGP advertises the common network prefix Corporation X (11000000000001000001) Border Gateway (Advertises path to 1100000000000100000) Regional Network Corporation Y (11000000000001000000) Internet Scalability Two main problems the amount of routing information transmitted between and stored in each node grows as the network grows the efficient use of address space add levels of hierarchy, andallowenoughflexibilityto accommodate the complex structure of the Internet Internetworking and Internet-13

Internetworking Summary Goal build large networks by interconnecting smaller ones Issues heterogeneity and scale Key tool Internet Protocol (IP) Heterogeneity a simple service model for an internetwork best-effort IP datagram delivery simple enough for any networking technology global addressing scheme ARP: IP address DLL address Scale Issues efficient use of address space growth of routing table as the Internet grows Solutions hierarchical IP address format (network + host) subnetting add one more level of hierarchy to address make more efficient use of network # and consolidate routing information autonomous system partition the routing problem into two parts intra-domain and inter-domain CIDR and BGP-4 introduce more levels of hierarchy and achieve further routing aggregation IPv6 Next Generation IP Internetworking and Internet-14