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.

Slides:



Advertisements
Similar presentations
Chapter 5 IPv4 Addresses TCP/IP Protocol Suite
Advertisements

Classifying Network Addressing
Chapter 19 Network Layer: Logical Addressing Stephen Kim.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
IP Addressing and Subnetting
2440: 141 Web Site Administration IP Addressing Instructor: Enoch E. Damson.
Data Communication and Networking
1 Subnetting and Supernetting Oleh: Abdul Kholiq,S.Kom
Network Addressing Issues in /err_con/crc.htm.
IP Addressing Basics LAB 8.
IP Addresses: Classful Addressing An IP address is a 32-bit address.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 19 Network Layer Logical Addressing © 2012 by McGraw-Hill Education. This is proprietary material.
Introduction to Networking
IP Addressing Allan Johnson. IPv4 Addressing Review IPv4 Addressing Review Table of Contents Table of Contents End Slide Show End Slide Show.
Why create a subnet mask? Tells device which part of an address is the network # including the subnet and which part is the host Filters the node IP address.
Types of Addresses in IPv4 Network Range
1 26-Aug-15 Addressing the network using IPv4 Lecture # 2 Engr. Orland G. Basas Prepared by: Engr. Orland G. Basas IT Lecturer.
Chapter 12 Subnetting CIS 1140.
4: Addressing Working At A Small-to-Medium Business or ISP.
Chap 10 Routing and Addressing Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
IP Addressing and Network Software. IP Addressing  A computer somewhere in the world needs to communicate with another computer somewhere else in the.
IP Addressing Basics LAB 8.
INTRODUCTION TO IP ADDRESS Ravi Chandra Gurung. IP ADDRESSES.
1  You are given an IP address for a host /20  What is/are the  Subnet address?  Broadcast address?  The number of useable hosts available.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
CSIS  We need to create some logic to the environment  We want to keep like devices together  We want to make money leasing the use of the space.
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.
IP ADDRESSING, SUBNETTING & VLSM 1. Decimal vs. Binary Numbers – Decimal numbers are represented by the numbers 0 through 9. – Binary numbers are represented.
Chapter 4 Objectives Upon completion you will be able to: Classful Internet Addressing Understand IPv4 addresses and classes Identify the class of an.
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
Routing and Addressing
Network layer (Part III)
CS470 Computer Networking Protocols
Introduction to Computer Networking
Devices function at Layers. Teaching Topology SUBNETTING The highly dreaded….
IP Addresses: Classful Addressing IP Addresses. INTRODUCTION 4.1.
IP ADDRESSING Lecture 2: IP addressing Networks and Communication Department 1.
Lecture#7: Subnetting IP Networks
IP ADDRESSES Lecture 6: Network Architectures. IP address  address (IP address) is a numerical label assigned to each device (e.g., computer, printer)
1 Layer 3: Routing & Addressing Honolulu Community College Cisco Academy Training Center Semester 1 Version
Layer 3 Routing and Addressing. Layer 3 Responsibilities Move data through a set of networks. Use a hierarchical addressing scheme. Segment network and.
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.
IP Addressing, Sub-netting & VLSM
Internet Architecture
IP Addressing and Subnetting
Subnetting and Supernetting
Binary Concepts By: Nathan Miller.
Lecture#7: Subnetting IP Networks
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.
Chapter 2 Easy Subnetting
Chapter 9: Subnetting IP Networks
IPv4 Addresses A Quick Guide.
Chapter 9: Subnetting IP Networks
IPv4 Addresses A Quick Guide.
Subnetting Surasak Sanguanpong
Dr. John P. Abraham Professor UTPA
Dr. John P. Abraham Professor UTRGV
Chapter 2 Easy Subnetting
Dr. John P. Abraham Professor UTRGV
Network Addressing.
Dr. John P. Abraham Professor UTPA
Lec2: Experiment Designing the network, IP addressing and Subnets, designing using Variable Length Subnet Mask Dr. Mohamed Abd-Eldayem References: CCNA.
Presentation transcript:

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. Each decimal value represents 8 bits, in the range of 0 to 255

Example Written in binary form: We see the address in the decimal form Your computer sees it in the binary form

Binary Octet: An octet is made up of eight “1”s and/or “0”s, representing the following values: So the value of 140 (the first octet of our example) looks like this:

Binary Octet: = 140

Address Classes (32 Bit Address 2 32 = 4.2 billion possible addresses) There are 5 different address classes. Only 3 are in commercial use at this time. You can determine the class of the address by looking at the first 4 bits of the IP address: – Class A begin with 0xxx, or 1 to 126 decimal – Class B begin with 10xx, or 128 to 191 decimal – Class C begin with 110x, or 192 to 223 decimal – Class D begin with 1110, or 224 to 239 decimal – Class E begin with 1111, or 240 to 254 decimal

Network vs. Host Every IP address has 2 parts: – 1 identifying the network it resides on – 1 identifying the host address on the network The class of the address and the subnet mask determine which part belongs to the network address and which part belongs to the host address

IP Address Breakdowns: The class of the address determines, by default, which part is for the network (N) and which part belongs to the host (H) Class A: NNNNNNNN.HHHHHHH.HHHHHHHH.HHHHHHHH Class B: NNNNNNNN.NNNNNNNN.HHHHHHH.HHHHHHHH Class C: NNNNNNNN.NNNNNNNN.NNNNNNNN.HHHHHHHH

Our example is a Class B address By default, the Network part of the address is defined by the first 2 octets: x.x By default, the Host part of the address is defined by the last 2 octets: x.x *Note that the network part of the address is also known as the Network Address

Two Reserved Addresses on a Subnet: In order to specify the Network Address of a given IP address, the Host portion is set to all “0”s: – If all the bits in the Host portion are set to “1”s, then this specifies the broadcast address that is sent to all hosts on the network: –

Special address in subnetting: : Is not assigned to any host Reserved for 

Subnetting Subnetting an IP network can be done for various reasons including: – Organization Organization – Use of different physical media – Preservation of address space – Security – Control network traffic

Example Class A Millions of Addresses Available – Over 16,000,000 Efficiency – Non-subnetted networks are wasteful – Division of networks not optimal Smaller Network – Easier to manage – Smaller broadcast domains

Subnet Mask Subnet masks are applied to an IP address to identify the Network portion and the Host portion of the address. Your computer performs a bitwise logical AND operation between the address and the subnet mask in order to find the Network Address or number.

Default Subnet Masks Class A Class B Class C

Logical Bitwise AND Operation Remember our example? – It’s a Class B, so the subnet mask is: – We need to look at this as our computer does so we can perform the bitwise AND...

Logical Bitwise AND Operation Class B address Subnet Mask In Binary: By doing this, the computer has found that our Network Address is

Another Example: Suppose we have the address of: ? Class C What class is it? What is the subnet mask? What is the Network Address? What is the host portion of the address?

Why Do We Care!? You can manipulate your subnet mask in order to create more network addresses. Why? If you have a Class C network, how many individual host addresses can you have? – 1 to 254 – Remember, you can’t have all “0”s and all “1”s in the host portion of the address. – So we cannot use (all “0”s) or (all “1”s) as a host address.

Why Do We Care!? So we have 1 Class C Network ( )Class C Network And we have 254 host address (1 to 254) But what if our LAN has 5 networks in it and each network has no more than 30 hosts on it? Do we apply for 4 more Class C licenses, so we have one for each network? We would be wasting 224 addresses on each network, a total of 1120 addresses!

Subnetting Subnetting is a way of taking an existing class license and breaking it down to create more Network Addresses. This will always reduce the number of host addresses for a given network. Subnetting makes more efficient use of the address or addresses assigned to you.

How Does Subnetting Work? Additional bits can be added (changed from 0 to 1) to the subnet mask to further subnet, or breakdown, a network. When the logical AND is done by the computer, the result will give it a new Network (or Subnet) Address. Remember, an address of all “0”s or all “1”s cannot be used in the last octet (or host portion). All “0”s signify the Network Address and all “1”s signify the broadcast address

So How Does This Work? We ask our ISP for a Class C license. They give us the Class C bank of This gives us 1 Network ( ) with the potential for 254 host addresses ( to ). But we have a LAN made up of 5 Networks with the largest one serving 25 hosts. So we need to Subnet our 1 IP address...

So How Does This Work? To calculate the number of subnets (networks) and/or hosts, we need to do some math: Use the formula 2 n -2 where the n can represent either how many subnets (networks) needed OR how many hosts per subnet needed. Magic Formula

So How Does This Work? We know we need at least 5 subnets. So will give us 6 subnet addresses (Network Addresses). We know we need at least 25 hosts per network will give us 30 hosts per subnet (network). This will work, because we can steal the first 3 bits from the host’s portion of the address to give to the network portion and still have 5 (8-3) left for the host portion :

Break it down: Let’s go back to what portion is what: We have a Class C address: NNNNNNNN.NNNNNNNN.NNNNNNNN.HHHHHHHH With a Subnet mask of: We need to steal 3 bits from the host portion to give it to the Network portion: NNNNNNNN.NNNNNNNN.NNNNNNNN.NNNHHHHH

Break it down: NNNNNNNN.NNNNNNNN.NNNNNNNN.NNNHHHHH This will change our subnet mask to the following: Above is how the computer will see our new subnet mask, but we need to express it in decimal form as well: =224

What address is what? Which of our 254 addresses will be a Subnet (or Network) address and which will be our host addresses? Because we are using the first 3 bits for our subnet mask, we can configure them into eight different ways (binary form):

What address is what? Which of our 254 addresses will be a Subnet (or Network) address and which will be our host addresses? Because we are using the first 3 bits for our subnet mask, we can configure them into eight different ways (binary form):

What address is what? We cannot use all “0”s or all “1”s We are left with 6 useable network numbers.

Network (Subnet) Addresses Remember our values: Equals Now our 3 bit configurations: 001HHHHH32 010HHHHH64 011HHHHH96 100HHHHH HHHHH HHHH H192

Network (Subnet) Addresses 001hhhhh32 010hhhhh64 011hhhhh96 100hhhhh hhhhh hhhhh192 Each of these numbers becomes the Network Address of their subnet...

Network (Subnet) Addresses

host Addresses The device assigned the first address will receive the first number AFTER the network address shown before or And the last address in the Network will look like this: *Remember, we cannot use all “1”s, that is the broadcast address ( )

Host Addresses The next network will start at The first IP address on this subnet network will receive: And the last address in the Network will receive: *Remember, the broadcast address ( )

Can you figure out the rest? Network:Host Range to to to to to to

How the computer finds the Network Address: An address on the subnet The new subnet mask When the computer does the Logical Bitwise AND Operation it will come up with the following Network Address (or Subnet Address): = = = This address falls on our 2nd Subnet (Network)

Review We have one class C license. We need to subnet that into 12 possible networks. Each network needs a maximum of 10 hosts. How many bits do we need to take? =14 4 bits need to be taken from the host portion and given to the network portion.

Review Will that leave enough bits for the host portion? We need a maximum of 10 on each network… =14 If we take 4 away, that leaves us with 4. That is enough for our individual networks of 10 hosts each.

Review Our new subnet mask will look like this: = 240 Our subnet, or network addresses will be:

41 IP Private Addresses No two machines that connect to a public network can have the same IP address because public IP addresses are global and standardized Private IP addresses are a solution to the problem of the exhaustion of public IP addresses. Addresses that fall within these ranges are not routed on the Internet backbone: Connecting a network using private addresses to the Internet requires the usage of NAT

Example : – A organization with a class A needs a least 1000 subnetworks. Find the subnet mask and configuration of each network Solution: We need at least 1002 subnet to allow the all-1s and all-0s subnetids This means that the minimum number of bits to be allocated for subnetting should be 10 (2 9 < 1,002< ) Fourteen bits are left to define the hostid

Figure 5-8

Figure 5-9 Theres is 1024 subnets Each subnet can have 16,384 hosts/computer

Figure 5-10

Example An organization with a class B address needs at least 12 subnetwork. Find subnet mask and configuration of each subnetwork Solution: There is a need for at least 14 subnetworks, 12 as specified plus 2 reserve as special address. This means that the minimum number of bits should be 4 (2 3 < 14 < 2 4 )

Figure 5-11 masking

Figure 5-12 Each subnet  4094 hosts/computers

Figure 5-13