IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.

Slides:



Advertisements
Similar presentations
Classifying Network Addressing
Advertisements

Chapter 19 Network Layer: Logical Addressing Stephen Kim.
Logical addressing Engr.Jawad Ali.
Chapter 9a Intro to Routing & Switching.  Upon completion of this chapter, you should be able to:  Explain why routing is necessary for hosts on different.
IP Addressing and Subnetting
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
1 IP: Internet Protocol Addresses. 2 Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines –Internet addressing –Internet packet.
Prepared By: Eng.Ola M. Abd El-Latif
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.
IP Addressing Internet Protocol (IP) A unique identifier for host, on an IP network 32-bit binary number, usually expressed as 4 “dotted decimal” values.
Chapter 21 IP Addressing “If we all did the things we are capable of doing, we would literally astound ourselves” - Thomas Alva Edison,
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 subnetting.
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.
Week 3 - IP addressing 4 Introduction to IP addressing 4 Classes of IP addressing 4 Why Subnet Masks are necessary? 4 How to create subnet masks.
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.
Types of Addresses in IPv4 Network Range
4: Addressing Working At A Small-to-Medium Business or ISP.
ECE 4110 – Internetwork Programming Subnetting, Supernetting, and Classless Addressing.
Network Addressing IP Addresses. IP Address Space The Structure of an IP Address – Binary Representation The only thing a network device understands,
IP Addressing and Network Software. IP Addressing  A computer somewhere in the world needs to communicate with another computer somewhere else in the.
INTRODUCTION TO IP ADDRESS Ravi Chandra Gurung. IP ADDRESSES.
TCP/IPTCP/IP Dr. ClincyLecture1 Chapter 5: Addressing (Part 2 of 3) Agenda Special Addresses Classful - Subnetting Classful - Supernetting.
CSE5803 Advanced Internet Protocols and Applications (2) Universal Identifier In general, addressing in a network is closely linked with the issue.
By Dana Matcham Caruso SED 695G May 8, 2001
SYSTEM ADMINISTRATION Chapter 8 Internet Protocol (IP) Addressing.
21-IP addressing Dr. John P. Abraham Professor UTPA.
SUBNET Communication Technologies CIS 505 Prepare by Thanantinee Tantivejakul.
LECTURE ON IP Addressing. What is Networking? –by ‘computer network’ we mean the interconnection between different computers. Why Networking? –to share.
Chapter 4 Objectives Upon completion you will be able to: Classful Internet Addressing Understand IPv4 addresses and classes Identify the class of an.
Chapter 5 IPv4 Address.
Routing and Addressing
IP Internet Protocol Fundamental packet format that computers use to exchange information. Is a set of technical rules that defines how computers communicate.
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.
IP ADDRESSING Lecture 2: IP addressing Networks and Communication Department 1.
Network Layer in the Internet (3)
CS4500CS4500 Dr. ClincyLecture1 Lecture #1 Chapter 5: Addressing (part 1 of 3)
IP ADDRESSES Lecture 6: Network Architectures. IP address  address (IP address) is a numerical label assigned to each device (e.g., computer, printer)
TCP/IP Protocol Suite 1 Objectives Upon completion you will be able to: IP Addresses: Classful Addressing Understand IPv4 addresses and classes Identify.
1 Layer 3: Routing & Addressing Honolulu Community College Cisco Academy Training Center Semester 1 Version
IP Addressing, Sub-netting & VLSM
Internet Architecture
IP – Subnetting and CIDR
IP Addresses: Classful Addressing
IP Addressing and Subnetting
Binary Concepts By: Nathan Miller.
IP Addresses: Classful Addressing IP Addresses. CONTENTS INTRODUCTION CLASSFUL ADDRESSING Different Network Classes Subnetting Classless Addressing Supernetting.
Chapter-5 TCP/IP Suite.
4 Network Layer Part I Computer Networks Tutun Juhana
IP Addresses: Classful 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
Subnetting Surasak Sanguanpong
Dr. John P. Abraham Professor UTPA
Data Communications and Networking
Dr. John P. Abraham Professor UTRGV
Chapter 2 Easy Subnetting
Dr. John P. Abraham Professor UTRGV
Part IV Network layer 10. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Dr. John P. Abraham Professor UTPA
Introduction to Network
Lec2: Experiment Designing the network, IP addressing and Subnets, designing using Variable Length Subnet Mask Dr. Mohamed Abd-Eldayem References: CCNA.
Presentation transcript:

IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam

IP Address An IP address is a unique identifier, or address for a computer or host connection on a network. –IPs are 32 bit binary numbers represented in 4 parts of 8. Each part is separated by a decimal point (.) and is referred to as an octet. This is known as a dotted decimal notation Example: In Binary:

Dotted decimal notation Used to make the form shorter and easier to read Internet addresses are usually written using this form Looking at the first byte of an address in decimal form will allow us to determine which class the particular address belongs (for the example it belongs to class B)

Why are IP addresses necessary? IP addressing makes it possible for data passing over the network media of the Internet to find its destination. Because each IP address is a 32-bit value, that means that there are four billion different IP address possibilities. To ensure that each network number on the Internet will always be unique and unlike that of any other number, an organization called the International Network Information Center(InterNIC)

Parts of An IP Every IP consist of two parts –One part identifying the network(Network ID) –One part identifying the node(Host ID) The Class of the address and the subnet mask determines which part belongs to the network address and which part belongs to the node address

What are the different classes of networks? There are three classes of IP addresses that are commercially used, company can receive from the InterNIC. The InterNIC reserves class "A" IP addresses for governments throughout the world, class "B" IP addresses for medium size companies, and class "C“ 2 other classes D&E [details on slides]

Address classes Classes of Networks NHHH Class A: NNNH Class C: NNHH Class B: Network number assigned by NIC Host number assigned by Systems Administrator 1 Byte

Class ranges for Internet addresses

Class A –Addresses begin with 0xxx, or 1 to 126 decimal –Class A addresses would have the following format: NNNNNNNN.nnnnnnnn.nnnnnnnn.nnnnnnnn There is one octet which defines the network address, and three which defines the node address Used for networks with more than 65,536 hosts (up to hosts)

Class A IP Address Bit Patterns 0 Network # Host # Class A: Bit # – 32 (24 bits) Class A address range – ( is for loopback) Private Class A address: Number of hosts: = 16,777,

Loopback Addresses beginning with: , or 127 decimal, are reserved for internal, or local machine use. For example if you ping using , it should point to yourself.

Class B Addresses begin with 10xx, or 128 to 191 Format –NNNNNNNN.NNNNNNNN.nnnnnnnn.nnnnnnnn There are two octets which define the network address and two which define the node address Used for networks that have between 256 and 65,534 hosts

13 IP addressing IP Address Bit Patterns Class B: Bit # – 32 (16 bits) Class B address range – Private Class B : – Number of hosts: = 65,534 10Network #Host #

Class C Addressing Addresses begin with 110x, or 192 to 223 Format –NNNNNNNN.NNNNNNNN.NNNNNNNN.nnnnnnnn There are three octets which define the network address and one which define the node address Used with networks that have fewer than 254 hosts

IP addressing IP Address Bit Patterns Class C: Bit # – 32 (8 bits) Class C address range – Private Class C : Number of hosts: = Network #Host # 3

Class D Addresses Special category of IPs, which are used for multicasting purposes Begin with 1110, or 224 to 239 decimal

Class E Addresses Special category of IPs, which are often reserved for future use. They are usually not be used for host addresses Begin with 1111, or 240 to 254

What IP addresses are reserved for broadcasts? for the network that is , the broadcast address that would be sent out to all devices on that network would be

Private networks There are three network addresses reserved for private networks Addresses: 16,777, Addresses: 1,048, Addresses: 65,536

Internet Classes (Class B) (Class C) (Class A) (Class D) (Class E)

Network Masks A network mask helps you know which portion of the address identifies the network and which portion of the address identifies the node. Class A, B, and C networks have default masks, also known as natural masks, as shown here: –Class A: –Class B: –Class C: An IP address on a Class A network that has not been subnetted would have an address/mask pair similar to: convert the address and mask to binary numbers = =

Any address bits which have corresponding mask bits set to 1 represent the network ID. Any address bits that have corresponding mask bits set to 0 represent the node ID = = −−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−− net id | host id netid = = 8 hostid = = Network Masks

Broadcasting Used to send packets to all networks or subnets. Two types of broadcasting: –All-nets broadcasting - packet are addressed: –Subnets broadcasting – Host portion of the address is set to 255. For example If the IP address is: , a class C with a mask of , the broadcast address would be

Network Address VS Broadcast address A Network address has all the host bits set to “0” A Broadcast address has all the host bits set to “1” Therefore – is the network address – is the broadcast address

SUB-NETTING

Subnetting Breaking a large network into smaller networks (subnets) Subnetting –Is the act of “borrowing” bits from the host portion to create smaller networks (called subnetworks) –Subnetting is used to reduce the number of broadcast domains –Communication between these subnetworks is achieved through a router.

Who assigns subnet addresses? As with the host number portion of class "A," class "B," and class "C” addresses, subnet addresses are assigned locally. Usually this is done by the network administrator.

The Sub-net Mask A 32-bit number used to describe which portion of an address refers to the subnet and which portion refers to the host. –Every computer on a network must have the same subnet mask. The following are examples of different subnet masks:

Sub-netting To subnet a network, extend the natural mask using some of the bits from the host ID portion of the address to create a subnetwork ID. For example, given a Class C network of which has a natural mask of , you can create subnets in this manner: − −

3 Borrowed bits = eight subnets. (2 3 =8) 5 bits = 32 hosts (2 5 =32) actually 30 hosts. So, with this in mind, these subnets have been created. – host address range 1 to 30 – host address range 33 to 62 – host address range 65 to 94 – host address range 97 to 126 – host address range 129 to 158 – host address range 161 to 190 – host address range 193 to 222 – host address range 225 to 254

IP Addressing and Subnetting Quick Techniques

Subnet mask How do we determine how many bits to “borrow” for a subnet? Determine the number of sub networks required Work from the MOST significant (LHS) bits of the first octet after the network number and calculate the number of bits needed to create the required number of subnetworks

Subnet & Routing33 Subnet mask How do we determine how many bits to “borrow” for a subnet given the number of hosts required? Determine the number of hosts required Work from the LEAST significant (RHS) bits of the last octet and calculate the number of bits needed to create the required number of subnetworks

34 Subnet mask Example: –You are given a class B address and you require 1000 nodes per subnet –By working from the RHS (last octet) of the 4th octet, calculate the number of bits to equal or slightly exceed (ie 2 x = > 1000) –This would equate to 2 10 or networks –Hence you will need to borrow 6 bits from the host portion to create subnetworks with 1000 hosts each

Now Identify! In this example, you are given two address / mask combinations, written with the prefix/length notation, which have been assigned to two devices. Your task is to determine if these devices are on the same subnet or different subnets. You can do this by using the address and mask of each device to determine to which subnet each address belongs. [Classless Interdomain Routing (CIDR) format] DeviceA: /20 DeviceB: /20

Example Solution − − −−−−−−−−−−−−−−−−|sub|−−−−−−−−−−−− subnet = = Looking at the address bits that have a corresponding mask bit set to one, and setting all the other address bits to zero (this is equivalent to performing a logical "AND" between the mask and address), shows you to which subnet this address belongs. In this case, DeviceA belongs to subnet

Now Solve? DeviceB: /20 ? Are deviceA and B on same subnet?

SUPERNETTING

Supernetting Supernetting is the idea of combining two or more blocks of IP addresses that together compose a continuous range of addresses (no missing addresses in the middle). A super subnet that contained both of the smaller classful subnets

Supernetting

Rules: ** The number of blocks must be a power of 2 (1, 2, 4, 8, 16,...). ** The blocks must be contiguous in the address space (no gaps between the blocks). ** The third byte of the first address in the superblock must be evenly divisible by the number of blocks. In other words, if the number of blocks is N, the third byte must be divisible by N.

Did you get it enough?