COMPUTER NETWORKS CS610 Lecture-26 Hammad Khalid Khan.

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

19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 19 Network Layer: Logical Addressing Stephen Kim.
1 Computer Communication & Networks Lecture 17 & 18 Network Layer: Logical Addressing Waleed Ejaz.
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.
Calculating Subnet Masks
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.
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.
COS 420 DAY 7. Agenda Assignment 2 posted Due Feb 13 (next class) Individual Projects Assigned Due March 20 & 23 Classless And Subnet Address Extensions.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #1 Subnet + CIDR.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
1 Internet Networking Spring 2004 Tutorial 1 Subnetting and CIDR Proxy ARP.
1 Internet Networking Spring 2006 Tutorial 1 Subnetting and CIDR.
Subnetting the subnet RD-CSY /09.  Company with 200 hosts  Assigned class C network /24  Want 6 different LANs  Subnet class C network.
Q and A, Ch. 21 IS333, Spring 2015 Victor Norman.
CS 6401 Efficient Addressing Outline Addressing Subnetting Supernetting.
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.
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.
Classless and Subnet Address Extensions (CIDR)
 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.
Efficient Addressing Outline Addressing Subnetting Supernetting CS 640.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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:
Chapter 6 VLSM and CIDR.
Network Layer: Logical Addressing. Address Space Notations Classful Addressing Classless Addressing Network Address Translation (NAT) Topics Discussed.
CLASSLESS INTER-DOMAIN ROUTING {CIDR} & SUBNETTING PHILLIP LAFLEUR NATHAN GRAMMES JONATHAN BENNETT.
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 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.
Hour 5 Subnetting 1. you will be able to Explain how subnets and supernets are used Explain the benefits of subnetting Develop a subnet mask that meets.
21-IP addressing Dr. John P. Abraham Professor UTPA.
CS470 Computer Networking Protocols
IP ADDRESSING Lecture 2: IP addressing Networks and Communication Department 1.
Q and A, Ch. 21 IS333, Spring 2016 Victor Norman.
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.
© 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.
19.1 Chapter 19 Network Layer: Logical Addressing Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IP – Subnetting and CIDR
COMPUTER NETWORKS CS610 Lecture-27 Hammad Khalid Khan.
Network Layer: IP Addressing
Internet Networking recitation #1
IP.
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
Chapter 5 Addressing Dr. Clincy Lecture.
Chapter 19 Network Layer: Logical Addressing
Supernetting Recall: subnetting allows an organization to share a single IP network address among multiple physical networks Supernetting (a.k.a. classless.
Lecture 8 Exercise 8 1. Describe similarities and differences between a network bridge and Internet router. 2. Describe similarities and differences between.
Subnetting Subnetting is a method for getting the most out of the limited 32-bit IP addressing space. With any address class, subnetting provides a means.
Layering and the TCP/IP protocol Suite
Presentation transcript:

COMPUTER NETWORKS CS610 Lecture-26 Hammad Khalid Khan

Review Lecture 25  Computing The Class of An Address  Dotted Decimal Notation  Division of Address Space  A Classful Addressing Example

Subnets and Classless Addressing  As the Internet grew, the original classful addressing scheme became a limitation. – The IP address space was being exhausted. – Because all networks had to choose one of three possible sizes, many addresses were unused.

Subnets and Classless Addressing  Two new mechanisms were invented to overcome the limitations: – Subnet addressing – Classless addressing

Subnets and Classless Addressing  Instead of having three distinct address classes, allow the division between prefix and suffix to occur on an arbitrary boundary.  The classless addressing scheme solves the problem by allowing an ISP to assign a prefix that is 28 bits long (allowing the host to have up to 14 hosts).

Subnet/Address Mask  D = Destination Address  (A,M) = (32-bit IP Address,32-bit Address Mask) – A == (D & M) – Example:- 32-bit mask – – Denoted in dotted decimal as

Subnet and Classless Addresses

Subnet/Address Mask – 32-bit network prefix Denoted in dotted decimal value as bit destination address Binary equivalent:

Subnet/Address Mask A logical ‘and’ between D and M produces the binary result Which is equal to prefix

Subnet/Address Mask  How can an IP address be divided at an arbitrary boundary?  To use a classless or subnet address, table inside host and routers that contain address must keep two pieces of information with each address: the 32-bit address itself and another 32-bit value that specifies the boundary.  Known as the Address Mask or Subnet Mask.

CIDR Notation  Inside a computer, each address mask is stored as a 32-bit value.  When we enter a prefix and an address mask they use a modified form of dotted decimal addressing called CIDR addressing.  Known as CIDR notation /16

CIDR Notation  As an example of how CIDR adds flexibility, suppose a single class B prefix (e.g ) i.e host addresses  16-bit CIDR mask denoted as: / 16 That is, by making CIDR mask correspond exactly to the old classful interpretation.

CIDR Notation  It will be fine if 2 16 hosts are attached. If it does have two customers with only twelve computers each, the ISP can use CIDR to partition the address into three pieces, – Two of them each big enough for one of the customers. – Remainder available for future customers.

CIDR Notation  For example:- – One customer can be assigned /28 – And the other customer can be assigned /28 Both customers have same mask size, the prefix differs. i.e. each customer has a unique prefix.

CIDR Host Addresses

Summary Of Special IP Addresses

Summary  Subnet and Classless Addressing  Subnet/Address Mask  CIDR Notation  Special IP Addresses