Chapter 18. IP: Internet Protocol Addresses

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.
© N. Ganesan, All rights reserved. Chapter IP Addressing Format.
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.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
CSCI 4550/8556 Computer Networks Comer, Chapter 18: IP: Internet Protocol Addresses.
© 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.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
IP Addressing Pertemuan 18 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 19 Network Layer Logical Addressing © 2012 by McGraw-Hill Education. This is proprietary material.
NETWORK LAYER IP Addressing 1. ANNOUNCEMENT: Rescheduled  NO PRACTICAL SESSIONS ON TUESDAY 22, November 2010  Rescheduled sessions: MONDAY: November.
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.
IP Addressing. Dotted Decimal Notation IP addresses are written in a so-called dotted decimal notation Each byte is identified by a decimal number in.
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
Classless and Subnet Address Extensions (CIDR)
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,
CSISCSIS Dr. ClincyLecture1 SUPERNETTING Although class A and B addresses are dwindling – there are plenty of class C addresses The problem with C addresses.
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.
21-IP addressing Dr. John P. Abraham Professor UTPA.
Universal Identifier UNIVERSAL IDENTIFIER Universal network = globally accepted method for identifying each computer. Host identifier = host is identify.
Chapter 4 Objectives Upon completion you will be able to: Classful Internet Addressing Understand IPv4 addresses and classes Identify the class of an.
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
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.
21-IP addressing Dr. John P. Abraham Professor UTPA.
IP ADDRESS An IP (Internet Protocol) address is a unique identifier for a node or host connection on an IP network. An IP address is a 32 bit binary number.
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.
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.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IP Addresses: Classful Addressing
LESSON Networking Fundamentals Understand IPv4.
The Concept of Universal Service
Network Layer: IP Addressing
CS4470 Computer Networking Protocols
Objective: Classful Internet Addressing
Internetworking & Address Resolution
IP Addresses: Classful Addressing
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.
INTERNET PROTOCOL Presented by: Md:Faruque-A-Azam ID:1642CSE00570 Batch:42 CSE,MIU.
Dr. John P. Abraham Professor UTRGV
Dr. John P. Abraham Professor UTRGV
Chapter 5 IP addresses Classless Addressing
Dr. John P. Abraham Professor UTPA
Introduction to Network
Layering and the TCP/IP protocol Suite
Presentation transcript:

Chapter 18. IP: Internet Protocol Addresses Jing Wang Towson University

18.1. Introduction Addressing scheme used by the Internet Protocol (IP) How IP addressing scheme divided addresses into classes Subnet addressing and classless addressing

18.2. Addresses For The Virtual Internet To provide uniform addressing in an internet, protocol software defines an abstract addressing scheme that assigns each host a unique protocol address. Users, application programs, and higher layers of protocol software use the abstract protocol addresses to communicate.

18.3. The IP Addressing Scheme Internet Protocol address (IP address or Internet address) An Internet Address (IP address) is a unique 32-bit binary number assigned to a host and used for communication with the host

18.4. The IP Address Hierarchy Each 32-bit IP address is divided into A prefix – a unique value known as network number A suffix – a unique address on a given physical network

18.4. The IP Address Hierarchy Properties of IP address hierarchy Each computer is assigned a unique address Although network number assignments must be coordinated globally, suffixes can be assigned locally without global coordination

18.5. Original Classes Of IP Addresses Figure 18.1. The five classes of IP addresses in the original classful scheme. The address assigned to a host is either class A, B, or C; the prefix identifies a network, and the suffix is unique to a host on that network.

18.5. Original Classes Of IP Addresses Classful IP addressing The original IP addressing scheme divides host addresses into three primary classes. The class of an address determines the boundary between the network prefix and host suffix.

18.6. Computing The Class of An Address Figure 18.2. The mapping between the first four bits of an IP address and the class of the address. The mapping was used with the original classful scheme.

18.7. Dotted Decimal Notation Dotted decimal notation is a syntactic form that IP software uses to express 32-bit binary values when interacting with humans. Dotted decimal represents each octet in decimal and uses a dot to separate octets. Dotted decimal addresses range from 0.0.0.0 through 255.255.255.255 00000000 – 0 11111111 – 255

18.7. Dotted Decimal Notation Figure 18.3. Examples of 32-bit binary numbers and their equivalent in dotted decimal notation. Each octet is written in decimal with periods (dots) used to separate octets.

18.8. Classes And Dotted Decimal Notation Figure 18.4. The range of decimal values found in the first octet of each address class.

18.9. Division Of The Address Space Figure 18.5. The number of networks and hosts per network in each of the three primary IP address classes.

18.10. Authority For Addresses An organization obtains network numbers from ISPs Internet Service Providers (ISPs) the communication company that supplies Internet connections ISPs coordinate with Internet Assigned Number Authority To ensure that each network prefix is unique throughout the entire Internet

18.11. A Classful Addressing Example Figure 18.6. An example private internet with IP addresses assigned to hosts. The size of the cloud used to denote a physical network corresponds to the number of hosts expected on the network; the size of a network determines the class of address assigned.

18.12. Subnet And Classless Addressing Limitation of the original classful addressing scheme IP address space being exhausted Because all networks had to choose one of three possible sizes, many addresses unused New mechanism Subnet addressing Classless addressing

18.12. Subnet And Classless Addressing Instead of having three distinct address classes, allow the division between prefix and suffix to occur on an arbitrary bit boundary Example A network contains 9 hosts Classless addressing subdivide a single class C address into 16 address that each have a 28-bit prefix and a 4-bit suffix Created 16 networks that each have up to 14 hosts.

18.13. Address Masks To use classless or subnet masking, tables inside hosts and routers that contain addresses must keep two pieces of information with each address: The 32-bit address itself Another 32-bit value that specifies the boundary between network prefix and suffix Address mask or subnet mask 1 bits mark the network prefix 0 bits mark the host portion Subnet addressing was in use for a decade before the idea was extended to classless addressing

18.13. Address Masks How can an IP address be divided at an arbitrary boundary? Suppose a router is given a destination address D, and a pair (A, M) that represents a 32-bit IP address and a 32-bit address mask To make a comparison, the router tests the condition A== (D&M) The router uses the mask with a “logical and” operation to set the host bits of address D to zero, and then compares the result with the network prefix A

18.13. Address Masks Example 32-bit mask 255.255.0.0 11111111 11111111 00000000 00000000 32-bit network prefix 128.10.0.0 10000000 00001010 00000000 00000000 Consider a destination address 128.10.2.3 10000000 00001010 00000010 00000011 A logical “and” between destination address and the address mask produces the binary result Which is equal to the prefix 128.10.0.0

18.14. CIDR Notation Classless Inter-Domain Routing (CIDR) and IP subnetting techniques each use a 32-bit address mask to denote the boundary between the network prefix and host suffix. Software that interacts with humans either uses the slash notation that was developed for CIDR or dotted decimal notation instead of binary notation

18.14. CIDR Notation Classless Inter-Domain Routing (CIDR) Known as CIDR notation, the new form specifies the mask associated with an address by appending a slash and the size of the mask in decimal (slash notation) Example Classful address 128.10.0.0 consists of 16-bit network prefix and a 16-bit host suffix In CIDR notation, the address can be written 128.10.0.0/16 Appendix 3

18.15. A CIDR Address Block Example Suppose an ISP begins with a single class B prefix (e.g., 128.211.0.0) Classful addressing The ISP can only assign the prefix to one customer with up to 216 host addresses Can not have 2 customers with 12 computers each Under CIDR 128.211.0.0/16 correspond to classful 128.211.9.16/28 and 128.211.0.32/28 for each of the 2 customers, same mask size but prefixes differ ISP retains most of the original addresses

18.16. CIDR Host Addresses Figure 18.7. Illustration of CIDR addressing for a /28 prefix. Note that because bits are numbered starting at zero, the prefix covers bits 0 through 27. Thus, bits 28 through 31 correspond to the host suffix.

18.17. Special IP Addresses Network Address Address 128.211.0.0/16 denotes a network that has been assigned the prefix 128.211 Directed Broadcast Address IP defines a directed broadcast address for each physical network Limited Broadcast Address Limited broadcast is used during system startup by a computer that does not know the network number IP will broadcast any packet sent to the all-ones address across the local network This Computer Address The TCP/IP protocol suite contains protocols a computer can use to obtain its IP address automatically when the computer boots. When using such startup protocols to use IP to communicate, the computer can not supply a correct IP source address Loopback Address IP defines a loopback address used to test network applications. When one application sends data to another, data travels down the protocol stack to the IP software, which forwards it back up through the protocol stack to the second program IP reserves the network prefix 127/8 for use with loopback. Most popular: 127.0.0.1

18.18. Summary Of Special IP Addresses Figure 18.8. Summary of the special IP address forms.

18.20. Routers And The IP Addressing Principle 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

18.20. Routers And The IP Addressing Principle Figure 18.9. An example of IP addresses assigned to two routers. Each interface is assigned an address that contains the prefix of the network to which the interface connects.

18.21. Multi-Homed Hosts A computer that connects to multiple networks is called multi-homed Increase reliability, performance Like a router, a multi-homed host has multiple protocol addresses, one for each network connection.

18.22. Summary Addressing scheme CIDR IP divides each internet address into a two-level hierarchy An IP address is a 32 bit number. Originally, an address was placed in one of five classes which can be determined by the values of the first four bits CIDR Stores a 32-bit mask along with each address Each IP address identifies a connection between a computer and a network.