CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.

Slides:



Advertisements
Similar presentations
IP-Internet Protocol Addresses. Computer Engineering Department 2 Addresses for the Virtual Internet The goal of internetworking is to provide a seamless.
Advertisements

Chapter 19 Network Layer: Logical Addressing Stephen Kim.
Network Layer: Logical Addressing. 4-1 IPv4 ADDRESSES An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device.
Chapter 21 Exercises 1. A router forwards packets between networks. (Given a destination host address, it must be able to figure out which network that.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Chapter 18. IP: Internet Protocol Addresses
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
Based Computer Networks and Internets (Comer)
1 IP: Internet Protocol Addresses. 2 Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines –Internet addressing –Internet packet.
IP Addressing. TCP/IP addresses -Addressing in TCP/IP is specified by the Internet Protocol (IP) -Each host is assigned a 32-bit number -Called the IP.
TCP/IP Protocol Suite 1 Chapter 5 Objectives Upon completion you will be able to: IP Addresses: Classless Addressing Understand the concept of classless.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
1 IP Addressing (IPv4 ADDRESSES). 2 Universal Service Concept Any computer can communicate with any other computer in the world. Multiple independently.
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
Network Layer IS250 Spring 2010
IP Addressing. Each TCP/IP host is identified by a logical IP address. –The IP address is a network layer address –No dependence on the Data-Link layer.
Functions 1.  How long is MAC address?  How is mac address used in data communication?  What is a frame?  What does an IP address look like? 2.
Layering and the TCP/IP protocol Suite  The TCP/IP Protocol only contains 5 Layers in its networking Model  The Layers Are 1.Physical -> 1 in OSI 2.Network.
1 TCOM 509 – Internet Protocols (TCP/IP) Lecture 02_b Instructor: Dr. Li-Chuan Chen Date: 09/08/2003 Based in part upon slides of Prof. J. Kurose (U Mass),
21-IP addressing Dr. John P. Abraham Professor UTPA.
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
ECE 4110 – Internetwork Programming Subnetting, Supernetting, and Classless Addressing.
1 Chapter Internetworking Part 1 (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
FALL, 2005CSI Part 2.3 Internetworking & Addressing (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution Robert L. Probert, SITE,
 An Internet address is made of four bytes (32 bits) that define the host connection to a network.  It is uniquely and universally defines the connection.
Part 3: Internetworking Internet architecture, addressing, encapsulation, reliable transport and the TCP/IP protocol suite.
Chapter 18 IP: Internet Protocol Addresses
Chapter 4, slide: 1 CS 372 – introduction to computer networks* Friday July 23, 2010 Announcements: r Midterms are graded. r Lab 4 is posted. Acknowledgement:
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CLASSLESS INTER-DOMAIN ROUTING {CIDR} & SUBNETTING PHILLIP LAFLEUR NATHAN GRAMMES JONATHAN BENNETT.
21-IP addressing Dr. John P. Abraham Professor UTPA.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Universal Identifier UNIVERSAL IDENTIFIER Universal network = globally accepted method for identifying each computer. Host identifier = host is identify.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Chapter 5 IPv4 Address.
Chapter 18 IP: Internet Protocol Addresses. Internet protocol software used to make the internet appear to be a single, seamless communication system.
Subnet Design and IP Addressing
IP Internet Protocol Fundamental packet format that computers use to exchange information. Is a set of technical rules that defines how computers communicate.
NETWORK LAYER.
Classful Internet Addresses Chapter 4. Universal Identifiers Designers of TCP/IP determined that each host on the internet would have a 32-bit identifier.
21-IP addressing Dr. John P. Abraham Professor UTPA.
CS470 Computer Networking Protocols
IP ADDRESSING Lecture 2: IP addressing Networks and Communication Department 1.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
COMPUTER NETWORKS CS610 Lecture-26 Hammad Khalid Khan.
1 ECE453 – Introduction to Computer Networks Lecture 11 – Network Layer III – IP Protocol.
IP Addressing. A 32-bit logical naming convention A dotted-decimal notation is used: – –Each number represents 8 bits. Number is Part.
COMPUTER NETWORKS CS610 Lecture-25 Hammad Khalid Khan.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved. 1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
The Concept of Universal Service
IP Addresses: Classful Addressing IP Addresses. CONTENTS INTRODUCTION CLASSFUL ADDRESSING Different Network Classes Subnetting Classless Addressing Supernetting.
Network Layer: IP Addressing
4 Network Layer Part I Computer Networks Tutun Juhana
IPV4.
CS4470 Computer Networking Protocols
Objective: Classful Internet Addressing
An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a device (for example, a computer or a router) to the Internet.
Internetworking & Address Resolution
Dr. John P. Abraham Professor UTPA
Supernetting Recall: subnetting allows an organization to share a single IP network address among multiple physical networks Supernetting (a.k.a. classless.
Dr. John P. Abraham Professor UTRGV
Dr. John P. Abraham Professor UTRGV
IP Addressing.
Dr. John P. Abraham Professor UTPA
Layering and the TCP/IP protocol Suite
Presentation transcript:

CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer Engineering & Computer Science Cal ifornia State University, Long Beach

IP (Internet Protocol) Addressing IP addressing is an addressing scheme that provides the illusion of a large, seamless network for users. IP addressing is: an abstraction a uniform addressing scheme used by higher-layer protocols used by applications

IP (Internet Protocol) Addressing (Cont’d) An IP address does not identify a specific computer. Instead, each IP address identifies a connection between a computer and a network. A computer with multiple network connections (e.g., a router) must be assigned one IP address for each connection. IPv4 addresses are: Virtual (they are only understood by software) Used for all communication in TCP/IP 32-bit integers * Unique for each host * Note: IPv4 uses 32-bit IP addresses. IPv6 uses 128-bit IP addresses.

IP Address Details IP addresses are divided into two parts Prefix -- which identifies the network Suffix -- which identifies the host The Internet Assigned Number Authority is the global authority that has control over the assignment a unique prefix to each network. A local administrator assigns a unique suffix to each host. The IP hierarchy guarantees that: Each computer is assigned a unique address. Suffixes can be assigned locally without global coordination. Prefix Suffix

Original Classes of Addresses The initial bits determine the class of the address. The class determines the boundary between prefix and suffix.

Classes of Addresses (Cont’d) The maximum network size is determined by the class of the address: Class A -- large Class B -- medium Class C -- small

Dotted Decimal Notation Dotted decimal notation is used: as shorthand for IP addresses. to let humans avoid binary numbers. Dotted decimal notation represents each octet in decimal separated by dots. (Note: This is not the same as domain names like For dotted decimal notation: There are four decimal values per 32-bit address. Each decimal number: -- Represents eight bits -- Has a value between 0 and 255 octet = byte = 8-bits

Addressing Example

ICANN Internet Corporation for Assigned Names and Numbers (ICANN) authority was established to handle: address assignment and adjudicate disputes ICANN does not assign individual prefixes. Instead, ICANN authorizes a set of registrars to assign prefixes. Registrars make blocks of addresses available to ISPs. ISPs provide addresses to subscribers. To obtain a prefix a corporation usually contacts an ISP.

Subnets and Classless Addressing As the Internet has grown, the original ‘classful’ addressing scheme became a limitation. => Everyone wanted a class A or class B address. Two mechanisms were invented to overcome the limitation: Subnet addressing Classless addressing The two mechanisms are closely related and can be considered to be part of a single abstraction. Main concept: Instead of having three distinct address classes (Class A, B & C), allow the division between prefix/suffix to occur on an arbitrary bit boundary.

Subnets and Classless Addressing (cont’d) Example: Consider an ISP that hands out prefixes and a customer of the ISP that requests a prefix for a network that contains 55 hosts. Classful addressing, would require a complete class C prefix. 8-bits of suffix = 256 possible values = Note: We do not use 0 ( ) or 255 ( ) for hosts So Class C gives us 254 possible addresses.  that means 199 of the 254 possible suffixes would never be assigned  most of the class C address space is wasted With Classless addressing, the ISP can assign: a prefix that is 26 bits long a suffix that is 6 bits long 6-bits of suffix = 2 6 possible values = 64 (minus 0 and 255) = 62 addresses

Subnets and Classless Addressing (cont’d) This figures illustrates the way classless addressing can be used by an ISP to divide a class C prefix into four (4) longer prefixes: each one can accommodate a network of up to 62 hosts the host portion of each prefix is shown in gray

Address (or Subnet ) Masks The classless and subnet addressing schemes require hosts and routers to store an additional piece of information: a value that specifies the exact boundary between the network prefix and the host suffix. To mark the boundary, IPv4 uses a 32-bit value known as an address mask, also called a subnet mask. Why store the boundary size as a bit mask? Hosts and routers need to compare the network prefix portion of the address to a value in their forwarding tables. The bit-mask representation makes the comparison efficient by making bitwise operations.

Address (or Subnet ) Masks (cont’d) Subnetting Example 1: Consider the following 32-bit network prefix: = Consider a 32-bit mask: = Consider a 32-bit destination address on the network which has address: = A logical AND (&) between the destination address and the address mask extracts the high-order 16-bits: =

Classless Inter-Domain Routing (CIDR) The general form of CIDR notation is: ddd.ddd.ddd.ddd/m ddd is the decimal value for an octet of the address m is the number of one bits in the mask Consider the mask needed for a network with 28 bits of prefix: It has 28-bits of 1s followed by 4-bits of 0s In dotted decimal, the mask is: In CIDR notation, the mask is written: /28 which specifies a mask with 28 bits of prefix and 4 bits of suffix.

Figure 21.5 A list of address masks in CIDR notation and in dotted decimal

Subnet Masks (Cont’d) The Mask field in a routing table is used to extract the network part of an address during lookup. A bit mask makes prefix extraction efficient, using Boolean AND. Example 2: A datagram is destined for If is a class C * network, the subnet mask will be & = * Why is considered a class C network? (Hint: see previous slide.)

Illustration of Router Addresses The address prefix identifies the network. Need one router address per connection.

Special IP Addresses NOTE: The network address never appears in a packet. A loopback address never leaves the local computer.