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),

Slides:



Advertisements
Similar presentations
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_b Subnetting,Supernetting, CIDR IPv6 Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
Advertisements

Classifying Network Addressing
Chapter 19 Network Layer: Logical Addressing Stephen Kim.
1 Computer Communication & Networks Lecture 17 & 18 Network Layer: Logical Addressing Waleed Ejaz.
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.
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.
Module 10: Routing Fundamentals and Subnets Small Router Purchase Subnetting Example a Basic Subnetting b Subnetting a Class A Network.
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.
Chapter 21 IP Addressing “If we all did the things we are capable of doing, we would literally astound ourselves” - Thomas Alva Edison,
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.
IP-adresses and subnet masks. Figure 19.9 Dotted-decimal notation.
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.
LECTURE # 20 IP ADDRESSING 1. Binary 2  All digital electronics use a binary method for communication.  Binary can be expressed using only two values:
INTRODUCTION TO IP ADDRESS Ravi Chandra Gurung. IP ADDRESSES.
IP Addressing Introductory material. An entire module devoted to IP addresses.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
CSE5803 Advanced Internet Protocols and Applications (2) Universal Identifier In general, addressing in a network is closely linked with the issue.
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:
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.
Microcomputer Networking II St. Cloud State University MCS 426, Fall 1999 Instructor: Adomas Svirskas TCP/IP addressing Addressing basics Address classes.
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.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Network Layer PART IV.
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.
CS470 Computer Networking Protocols
IP ADDRESSING Lecture 2: IP addressing Networks and Communication Department 1.
INTERNET ADDRESSING Today’s topics:  What are Internet addresses?  Why do we need them?  How are they used?
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.
Ethernet Basics – 7 IP Addressing. Introducing IP Addressing  IP address (TCP/IP address)  Not unique (but should be), user assigned  Layer 3  4 byte.
1 ECE453 – Introduction to Computer Networks Lecture 11 – Network Layer III – IP Protocol.
TCP/IP Addressing and Subnetting. IP Addressing Roadmap Format of IP Addresses Traditional Class Networks Network Masks Subnetting Supernetting Special.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 IP Addresses: Classful Addressing.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IP – Subnetting and CIDR
IP Addresses: Classful Addressing
LESSON Networking Fundamentals Understand IPv4.
Chapter-5 TCP/IP Suite.
PART IV Network Layer.
CS4470 Computer Networking Protocols
IP Addresses: Classful Addressing
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.
The IP addresses are unique. The address space of IPv4 is 2 32 or 4,294,967,296.
IP Addresses: Classful Addressing
IP Addressing Introductory material.
IP Addressing Introductory material.
Dr. John P. Abraham Professor UTPA
Internet Addressing Today’s topics: What are Internet addresses?
Part IV Network layer 10. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Introduction to Network
Layering and the TCP/IP protocol Suite
Presentation transcript:

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), Prof. B. Yener (Rensselaer Polytechnic Institute)

2 Outline  Chapter 4 – Classful Internet Address  Chapter 5  Chapter 6  Chapter 7

3 Flat vs. Hierarchical Addresses  Flat addresses no structure in them to facilitate scalable routing. e.g., Ethernet addresses  Hierarchical addresses Network part (netid) and host part (hostid). Helps identify direct or indirectly connected nodes. Efficient for routers to send packets. netidhostid

4 Internet Addresses  Classful Internet Address Class A Class B Class C Class D Class E  Goal: Allows any computer to communicate with any other computer in a global communication network.

5 IP Address Formats Class A netid hostid bits netidhostid bits Class B: netidhostid bits Class C: Multicast Group addresses bits Class D: Class E: Reserved for future uses bits

6 IP Addresses  IP Address 32-bit global internet address Network part (netid) and host part (hostid) Class D addresses are for multicasting (packet is delivered to a subset of hosts). Unicast: a packet is delivered to a single host. Reserved addresses –All 0 (binary ) is reserved –All 1s broadcast address (limited broadcast) can be used in start-up to get its IP address. –Loopback 127.x.x.x –hostid 0 refers to the network itself, not individual host. –hostid consist of all 1s is for directed broadcast to all hosts on the network.

7 IP Addresses – Class A  Class A – small networks with large number of hosts. Starts with binary 0, followed by 7-bit Network field, and then 24-bit Host field netid of 127 (binary ) is reserved for loopback Only 2 7 – 2 = 126 octets left, range 1.x.x.x to 126.x.x.x Covers 50% (2 31 ) of the entire IP address space 2 24 for each Class A network. Millions of Class A addresses are wasted netid hostid bits

8 IP Addresses - Class B  Class B – intermediate size networks. Starts with 10, followed by 14-bit Network field, and then 16-bit Host field Range 128.x.x.x to 191.x.x.x 2 14 = 16,384 class B addresses Covers 25% (2 30 ) of the entire IP address space 2 16 for each Class A network. Many of Class B addresses are wasted netidhostid bits

9 IP Addresses - Class C  Class C – large networks with small number of hosts. Starts with 110, followed by 21-bit Network field, and then 8-bit Host field Range 192.x.x.x to 223.x.x.x 2 21 = 2,097,152 networks, 2 8 = 256 hosts in each network Covers 12.5% (2 29 ) of the entire IP address space netidhostid bits

10 IP Addresses - Class D, E  Class D – Multicasting Starts with 1110, followed by 28-bit multicast group address multicast groups Covers 6.25% (2 28 ) of the entire IP address space Multicast Group addresses bits  Class E – Reserved Starts with 1111, followed by 28-bit multicast group address. Covers 6.25% (2 28 ) of the entire IP address space Reserved for future uses bits

11 Dotted Decimal Notation  IP address (32 bits) can be written as four decimal integers separated by decimal points.  IP address is divided into 4 parts, convert each part from binary to its equivalent decimal integer. Example  Binary:  Dotted Decimal:

12 IP Addressing  IP address: 32-bit identifier for host, router interface  Interface: connection between host, router and physical link router’s typically have multiple interfaces host may have multiple interfaces IP addresses associated with interface, not host, router  Hosts in the same network have same network ID =

13 IP Address ClassRange A B C D E Lowest Address Highest Address Some values are reserved.

14 Reserved Addresses  Loopback: test for inter-process communication on the local host.  Hostid “this” (0s), “all” (1s) All 0sHostNetworkAll 1s All 0s All 1s 127anything This host Host on this network Limited broadcast Directed broadcast Loopback

15 IP Addresses - Cons IP Address Cons:  IP address is associated with network connection, not to the host.  Difficult and time consuming to change network addresses. e.g., when class C network grows to > 255 (2 8 ) hosts.  If a host has multiple addresses (multi-homed host), knowing one address may not be sufficient to reach it when this particular path to that address is down.  Nearly all allocated Need next-generation IP protocol - IPv6

16 Subnet and Supernet Extensions  Classful addressing inefficient: Everyone wants class B addresses  Can we split class A, B addresses spaces and accommodate more networks ? Need another level of hierarchy. Defined by subnet mask, specifies the sets of bits belonging to the network address and host address respectively.  Supernetting or classless addressing allows prefix and suffix to occur at an arbitrary point. NetworkHost Boundary is flexible, will cover in details later

17 Network Byte Order  Use standard byte ordering (Big Endian) within protocol fields so all hosts interpret the IP addresses the same way.  Big Endian: integers are sent with the most significant byte first.  Little Endian: integers are sent with the least significant byte first.

18 Chapter 4 Summary IP address uses 32-bit binary number. Unique IP address per interface. Provision for broadcast, multicast, loopback addresses. Classful (A,B,C) address allocation not efficient. Hierarchical addresses are more efficient with smaller routing tables. Extended address scheme: subnet and supernet addressing improved address allocation efficiency (cover later).

19 Homework 1 ChaptersProblems 27 41, 7 Due Monday 09/15/2003