INTERNET ADDRESSING Today’s topics:  What are Internet addresses?  Why do we need them?  How are they used?

Slides:



Advertisements
Similar presentations
Top-Down Network Design Chapter Six Designing Models for Addressing and Naming Copyright 2010 Cisco Press & Priscilla Oppenheimer.
Advertisements

Classifying Network Addressing
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
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.
CSCI 4550/8556 Computer Networks Comer, Chapter 18: IP: Internet Protocol Addresses.
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.
1 IP Addressing (IPv4 ADDRESSES). 2 Universal Service Concept Any computer can communicate with any other computer in the world. Multiple independently.
TCP/IP Protocol Suite 1 Chapter 4 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes.
2440: 141 Web Site Administration IP Addressing Instructor: Enoch E. Damson.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Constructing a Network Addressing Scheme.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing Fundamentals Internetworking Fundamentals Instructor: Abdirahman I. Abdi.
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.
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.
Page 1 - © Richard L. Goldman IP Address ©Richard L. Goldman January 10, 2002.
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),
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 4 IP Addressing.
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
Network Layer We have discussed data link architectures  CSMA/CD  Point-to-Point  Wireless LANs These architectures deliver frames to next station They.
8/26/2015CST Computer Networks1 CST 415.  Definitions  Internetworking  Internet Addressing  The Endians Revisited 8/26/2015CST Computer.
1 Internet Addresses (You should read Chapter 4 in Forouzan) IP Address is 32 Bits Long Conceptually the address is the pair ( NETID, HOSTID ) Addresses.
© MMII JW RyderCS 428 Computer Networking1 Reading  Make sure you read all of chapter 2 & 3.
LECTURE # 20 IP ADDRESSING 1. Binary 2  All digital electronics use a binary method for communication.  Binary can be expressed using only two values:
Classless and Subnet Address Extensions (CIDR)
Lesson 6 - (1 of 37) Addressing in TCP/IP LESSON 6 (September 22, 1995) Daniel Z. Tabor Jr. New Jersey Institute of Technology.
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
ES 101. Module 2 IP Addressing & Routing. Last Lecture Wide area networking Definition of “packets”
Chapter 6 IPv4 Addresses – Part 2 Instructor: Amir Adelipour.
CSE5803 Advanced Internet Protocols and Applications (2) Universal Identifier In general, addressing in a network is closely linked with the issue.
Communication Between Networks How the Internet Got Its Name.
Chapter 18 IP: Internet Protocol Addresses
Network Protocols Chapter 5 (TCP/IP Suite Book): IPv4 Addresses
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.
IP Addressing Lecture # 1 Hassan Shuja 01/31/2006.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Microcomputer Networking II St. Cloud State University MCS 426, Fall 1999 Instructor: Adomas Svirskas TCP/IP addressing Addressing basics Address classes.
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
1 CMPT 471 Networking II Addressing assigning networks and sub-networks © Janice Regan, 2012.
IP ADDRESSING Lecture 2: IP addressing Networks and Communication Department 1.
CS4500CS4500 Dr. ClincyLecture1 Lecture #1 Chapter 5: Addressing (part 1 of 3)
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.
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.
CCNA Introduction to Networking 5.0 Rick Graziani Cabrillo College
IP Addresses: Classful Addressing
IP Addresses IPv4 IPv6.
Network Layer: IP Addressing
Chapter-5 TCP/IP Suite.
IP Addresses: Classful Addressing
Objective: Classful Internet Addressing
IPv6 Addressing.
IP Addresses: Classful Addressing
כתובות IP.
Dr. John P. Abraham Professor UTPA
Data Communications and Networking
Supernetting Recall: subnetting allows an organization to share a single IP network address among multiple physical networks Supernetting (a.k.a. classless.
Internet Addressing Today’s topics: What are Internet addresses?
Dr. John P. Abraham Professor UTRGV
The Internet Protocol Eliot Grove Danny Friel Stuart Anderson.
Classless and Subnet Address Extensions (CIDR)
Part IV Network layer 10. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Dr. John P. Abraham Professor UTPA
Layering and the TCP/IP protocol Suite
Presentation transcript:

INTERNET ADDRESSING Today’s topics:  What are Internet addresses?  Why do we need them?  How are they used?

UNIVERSAL COMMUNICATION SERVICE A universal communication service allows any host to communicate with any other host This requires a globally accepted method of identifying each host connected to the internet Internetworking strives to provide an universal communication service

HOW TO UNIQUELY IDENTIFY A HOST? Name – what an object is  Well suited for humans  Example: Address – where an object is  Well suited for machines  Example: Route – how to get to an object

INTERNET ADDRESSES Also called IP addresses 32-bit integers Global host identifiers Chosen to make routing efficient IP address = (netid, hostid)

THE ORIGINAL CLASSFUL ADDRESSING SCHEME

CLASSES OF IP ADDRESSES (CONT) A small number (~2 7 ) of class A networks with a large number (~2 24 ) of hosts A medium number (~2 14 ) of class B networks with a medium number (~2 16 ) of hosts A large number (~2 21 ) of class C networks with a small number (~2 8 ) of hosts

ADDRESSES SPECIFY NETWORK CONNECTIONS What is R1’s address? R1 is a multi-homed host (has connections to more than one physical network) R1 requires multiple IP addresses Net 1 Net 2 R1

ADDRESSES SPECIFY NETWORK CONNECTIONS (CONT) Each address corresponds to one of the machine’s connections Because IP addresses encode both a network and a host on that network, they do not specify an individual computer, but a connection to a network A router connecting n networks has n distinct IP addresses

IP ADDRESSES CONVENTIONS The smallest hostid (all 0’s) is never assigned to an individual host, instead it is used to refer to the network IP addresses can refer to hosts or networks Examples:  (6,8) = host #8 on network #6  (9,0) = network #9

IP ADDRESSES CONVENTIONS (CONT) The largest hostid (all 1’s) is never assigned to an individual host, instead it is used to refer to a directed broadcast Example:  ( , ) = all hosts on network #5

IP ADDRESSES CONVENTIONS (CONT) There is also a limited broadcast address (all 1’s for both netid and hostid) that broadcasts on the local network Example:  ( ) = all hosts on the local network

IP ADDRESSES CONVENTIONS (CONT) Summary:  A field of all 1’s can be interpreted to mean “all”  ( , ) = all hosts on network #4  A field of all 0’s can be interpreted to mean “this”  ( , ) = host # 3 on this network

SUBNET AND SUPERNET EXTENSIONS Recall: each physical network must have its own unique netid Problem: the number of physical networks grew so fast that all netids would be exhausted (especially class B) Solutions (to be discussed later):  Subnetting – allows multiple physical networks to share the same netid  Supernetting – allows more complete utilization of the address space

WEAKNESSES ON INTERNET ADDRESSING If a computer moves from one network to another, its IP address must change Network 17Network 32AA

WEAKNESSES ON INTERNET ADDRESSING (CONT) If a class C network grows to more than 255 hosts, it must have its address changed to a class B address Difficult:  Abruptly stop using one network address  Change the addresses of all machines  Resume operation using the new addresses  Debug problems with programs/services still using the old addresses

WEAKNESSES ON INTERNET ADDRESSING (CONT) Recall: routers base routing decisions on the netid portion of the destination address Consider a host with two internet connections (and therefore two addresses):

WEAKNESSES ON INTERNET ADDRESSING (CONT) Result: the path taken by packets traveling to a host with multiple IP addresses depends on which address is used as the destination

WEAKNESSES ON INTERNET ADDRESSING (CONT) Packets sent to the same machine using different addresses may behave differently A machine may be reachable by on of its addresses and unreachable by another

DOTTED DECIMAL NOTATION To make them easier to read (and write) IP addresses are usually written as four decimal integers separated by decimal points Each decimal integer gives the value of one octet of the IP address Example:  =

THE LOOPBACK ADDRESS Not all IP addresses have been assigned to classes In particular, netid 127, a value from the class A range, is reserved for loopback Used for testing TCP/IP and for inter-process communication

INTERNET ADDRESSING AUTHORITY Network portion of the IP address must be unique Need a central authority to assign IP addresses Originally managed by the Internet Assigned Number Authority (IANA) 

INTERNET ADDRESSING AUTHORITY (CONT) Now IANA allocates blocks of IP addresses to Regional Internet Registries:  APNIC (Asia Pacific Network Information Centre) - Asia/Pacific Region  ARIN (American Registry for Internet Numbers) - North America and Sub-Sahara Africa  LACNIC (Regional Latin-American and Caribbean IP Address Registry) – Latin America and some Caribbean Islands  RIPE NCC (Réseaux IP Européens) - Europe, the Middle East, Central Asia, and African countries located north of the equator

NETWORK BYTE ORDER Big Endian - lowest memory address holds the high-order byte of the integer 297 = Little Endian - lowest memory address holds the low-order byte of the integer 297 = Internet standard for byte order is Big Endian

SUMMARY Internet addressing  32-bit IP addresses serve as universal connection identifiers  Each IP address is composed of a netid (identifies the network) and a hostid (idetifies a host on that network)  The size of the netid and hostid is depends on whether the address is class A, B, or C  IP addresses were designed this way to make it easy for routers to quickly find and use the netid for routing