IP address Universally accepted addressing method is required so that all hosts can communicate with each other TCP/IP based network is assigned with unique.

Slides:



Advertisements
Similar presentations
Types Of Addresses. 1.IP Addresses 2. MAC Addresses.
Advertisements

Module 2: Assigning IP Addresses in a Multiple Subnet Network.
IP Addressing Higher Computing. TCP/IP TCP/IP is the communication protocol for the internet. TCP/IP is the communication protocol for the internet. TCP/IP.
IP Addressing Terminology
Unit 24 Network Design and Administration IP Addressing (Pt.1)
IP-Internet Protocol Addresses. Computer Engineering Department 2 Addresses for the Virtual Internet The goal of internetworking is to provide a seamless.
Lecturer, Department of Computer Application
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Subnetting IP Networks Network Fundamentals.
IPv4 to IPv6 Network Address Translation. Introduction 4 What is the current internet addressing scheme and what limitations does it face. 4 A new addressing.
Introduction Hector Macleod –CCNA student –Systems Integration Engineer Subject - IP addressing.
IP Address. Internet Structure – Larger networks Subnetwork: » Hosts IP address -What information should an IP address provide?
Presented by Katie Ceglia
IP ADDRESS Compiled by : S. Agarwal Lecturer & Systems Incharge St. Xavier’s Computer Centre St. Xavier’s College, Kolkata.
IP Address Presented by Ravi Namboori. IP Address IP Address is a numerical number assigned to each and every device which is looped in a computer network.
The TCP/IP Model  Internet Protocol Address.  Defined By IANA [Internet Assigned Number Authority] in  IP Address is a Logical Address and it.
IP Addressing  To go somewhere on the Internet, you must type a Uniform Resource Locator (URL).  A query is sent to the nearest DNS (Domain Name System)
Review Aug-141RD-CSY3021.  Settle down  Review Qs - IP addressing _Basic  Lecture/interactive discussion  Revisit IP addressing _Basic ◦ Complete.
IP Addresses The Class System.
IP Addressing & Subnetting
IP Addressing & Subnetting!!!.
IP Address Classes Class A N.H.H.H can not be used as Net ID
Topic 19 TCP/IP Enabling Objectives 19.1 DESCRIBE the OSI model and the TCP/IP Protocol DISCUSS IP addresses IDENTIFY common TCP/IP based protocols.
Binary Lesson 5 Classful IP Addresses. IP Addresses (version 4) IP addresses are 32 bits long IP addresses are 32 bits long Four bytes or "octets" Four.
Objectives: Chapter 4: IP Addressing  Internet Architecture IPv4 Addressing IP address Classes Subnets and subnet mask Subnets design with IP addressing.
IP Addressing.
Taylor E Ethan B.  IP Address– Internet Protocol Address  It is a numerical label that is assigned to any device participating in a computer network.
Chapter 9: Subnetting IP Networks
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA TCP/IP Protocol Suite and IP Addressing Halmstad University Olga Torstensson
Internet Protocol V4 Addressing & Subnetting
Classifying Network Addressing
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
IP Subnetting.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—1-1 Building a Simple Network Understanding the TCP/IP Internet Layer.
IP Addressing and Subnetting
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5.
Chapter 18. IP: Internet Protocol Addresses
IP Addressing Pertemuan 18 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
Introduction to Subnetworks Marandola—Lets have some FUN ????
2440: 141 Web Site Administration IP Addressing Instructor: Enoch E. Damson.
Introduction to Networking (Yarnfield) Classful subnetting.
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.
Ch.9 – IP Addressing Part 1 CCNA 1 version 3.1.
Information & Communication Technology
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.
IP Addressing & Classes
1 26-Aug-15 Addressing the network using IPv4 Lecture # 2 Engr. Orland G. Basas Prepared by: Engr. Orland G. Basas IT Lecturer.
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
CN2668 Routers and Switches Kemtis Kunanuraksapong MSIS with Distinction MCTS, MCDST, MCP, A+
IP Addressing Basics LAB 8.
IP Addresses & Classes Presented By: M.Usman Khan Ghauri Nauman Aslam.
© N. Ganesan, All rights reserved. Chapter IP Addressing Format.
CSE5803 Advanced Internet Protocols and Applications (2) Universal Identifier In general, addressing in a network is closely linked with the issue.
The Saigon CTT Semester 1 CHAPTER 10 Le Chi Trung.
IP ADDRESSING, SUBNETTING & VLSM 1. Decimal vs. Binary Numbers – Decimal numbers are represented by the numbers 0 through 9. – Binary numbers are represented.
Addressing IP v4 W.Lilakiatsakun. Anatomy of IPv4 (1) Dotted Decimal Address Network Address Host Address.
Layer 3: Internet Protocol.  Content IP Address within the IP Header. IP Address Classes. Subnetting and Creating a Subnet. Network Layer and Path Determination.
The Saigon CTT Semester 1 CHAPTER 10 Wael Yousif.
Routing and Addressing
CS470 Computer Networking Protocols
Introduction to Computer Networking
Layer 3 Routing and Addressing. Layer 3 Responsibilities Move data through a set of networks. Use a hierarchical addressing scheme. Segment network and.
Internet Architecture
IP Addressing and Subnetting
IP Addressing Pertemuan 06
IP Addresses: Classful Addressing
IP Addresses: Classful Addressing
IP Address.
The Internet Protocol Eliot Grove Danny Friel Stuart Anderson.
Presentation transcript:

IP address Universally accepted addressing method is required so that all hosts can communicate with each other TCP/IP based network is assigned with unique addresses known as IP addresses

IP address Network layer addresses (IP addresses) are 32 bits long. Presented as four octets in dotted decimal format. IP address has two components: Network ID and Host ID.

IP address format

IP address classes H H H H H H Different class addresses reserve different amounts of bits for Network and Host portions of the address Provide flexibility required to support different size networks

IP address classes: Class A

IP address classes: Class A First bit of a Class A address is always 0. First 8 bits identify network part of the address. Possible network address from 1.0.0.0 to 127.0.0.0. Remaining three octets used for the host portion of the address. Each class A network have up to 16,777,214 possible IP addresses.

IP address classes: Class B

IP address classes: Class B First 2 bits of Class B address is always 10. First two octets identify network part of the address. Possible network address from 128.1.0.0 to 191.254.0.0. Remaining two octets used for host portion of the address. Class B network have up to 65.534 possible IP addresses.

IP address classes: Class C

IP address classes: Class C First 3 bits of a Class C address is always 110. First three octets identify network part of the address. Possible network address from 192.0.1.0 to 223.255.254.0. Remaining last octet used for host portion of the address. Class C network have up to 254 possible IP addresses.

Binary and decimal conversion

Fast conversion

Bits on the IP address Network Bits : Host Bits : Identifies network ID Identifies class of the IP address All of bits are 0: not allowed Host Bits : Identifies host ID All of bits are 0: reserved for network address All of bits are 1: reserved for broadcast address

IP address classes: Summary 1.0.0.0 - 126.0.0.0 : Class A. 127.0.0.0 : Loopback network. 128.1.0.0 - 191.254.0.0 : Class B. 192.0.1.0 - 223.255.254.0 : Class C. 224.0.0.0 - 239.255.255.255: Class D, multicast. >= 240.0.0.0 : Class E, reserved.

Network address provide a convenient way to refer to all of the addresses on a particular network or subnetwork. Two hosts with differing network address require a device, typically a router, in order to communicate. An IP address that ends with binary 0s in all host bits is reserved for the network address.

Broadcast address Broadcast goes to every host with a particular network ID number. IP address that ends with binary 1s in all host bits is reserved for the directed broadcast address. An IP address with binary 1s in all network bits and host bits is reserved for the local broadcast address.

Example: 172.16.20.200 172.16.20.200 is Class B address Network portion: 172.16 Host portion: 20.200 Network address: 172.16.0.0 Broadcast address: 172.16.255.255

Private addresses According to RFC-1918. Organizations make use of the private Internet address space for hosts that require IP connectivity within their enterprise network, but do not require external connections to the global Internet. Class A: 10.0.0.0. Class B: 172.16.0.0 - 172.31.0.0. Class C: 192.168.0.0 - 192.168.255.0.

Reserved addresses The bits that define the host portion of an IP address should not be all “1”. Any IP address with the host portion consisting of all “1” is interpreted as “all host”. Example : 128.1.255.255 means all hosts on network number 128.1

Reserved addresses The bits that define the host portion of an IP address should not be all “0”. Any IP address with the host portion consisting of all “0” is interpreted as network address. Example : 128.1.0.0 means network number.

Reserved addresses The bits used to define the network portion of an IP address should not be all “0”. A network portion address of all “0” is interpreted as “this network”. Example : 0.0.0.63 means Host 63 on this network.

Reserved addresses The Class A network number 127.x.x.x is assigned as “Loop-back” function. This means that a datagram sent by a higher-level protocol to a Network 127 address should loop back inside the host.

Review Classes of IP address and range of IP on each class. Determine network portion and host portion in a IP address. Understand about broadcast addresses. Understand about valid host address. Binary and Decimal conversion.

Introduction to Subnetworks

What Is a Subnet? Series of Networks within a Network Created by subdividing Host address field and creating a Subnetwork Field All Hosts on a Subnetwork share a common subnetwork address

Why Subnet a Network? Provides Greater Organization of Large Networks (Class A 16 Million Hosts!) Allows Additional Networks (subnets) without applying for additional IPs Gives local administrators more control Provides a Third Level of Hierarchy Reduces the Size of Broadcast Domains

How Do You Create Subnets? Bits are Borrowed from the Host Field This Creates a Subnet Field in the IP address

Class C Subnets Network Network Network Host S S H H H H H H Two Bits Borrowed from the Host Field to form a third layer of hierarchy - A Subnet Field Two Bits must always remain so a maximum of 6 Bits may be borrowed from a Class C network How many bits can be borrowed from a Class B network? From a Class A network?

# Subnets Created = 2# Borrowed Bits Class C Subnets Network Network Network Host S S H H H H H H The number of Subnets Created is calculated using the following formula: # Subnets Created = 2# Borrowed Bits

Class C Subnets Borrow 2 Bits = 22 = 4 Subnets H H H H H H Borrow 2 Bits = 22 = 4 Subnets S S S H H H H H Borrow 3 Bits = 23 = 8 Subnets S S S S H H H H Borrow 4 Bits = 24 = 16 Subnets

Two Host Bits Must Remain Class C Subnets S S S S S H H H Borrow 5 Bits = 25 = 32 Subnets S S S S S S H H Borrow 6 Bits = 26 = 64 Subnets Borrow 7 Bits = Cannot Two Host Bits Must Remain

How Many Subnets?

How Many Subnets? Borrow 2 Bits = 22 = 4 Subnets If you Borrow 2 Host Bits you do NOT get 4 Subnets. Why? Remember the Network Address and Broadcast Address - Both of these addresses are Reserved, they cannot be used!

How Many Subnets?

# Hosts/Subnet = 2# Host Bits Remaining # Hosts = 26 = 64 hosts/subnet How Many Hosts/Subnet? Network Network Network Host S S H H H H H H The number of Hosts per subnet is calculated using the following formula: # Hosts/Subnet = 2# Host Bits Remaining # Hosts = 26 = 64 hosts/subnet

6 Host Bits Remain = 26 = 64 Hosts How Many Hosts/Subnet? 6 Host Bits Remain = 26 = 64 Hosts If there are 6 Host Bits remaining you do NOT get 64 Hosts/Subnet. Why? Each subnetwork has its own Subnetwork Address and Broadcast Address - Both of these addresses are Reserved and cannot be used! Thus only 62 Hosts are available.

How Many Hosts/Subnet?

Formulas to Remember! # Subnets Created = 2# Borrowed Bits Remember to subtract 2 for the Network Address and Broadcast Address. Remember to subtract 2 for the Subnetwork Address and Subnetwork Broadcast Address. # Hosts/Subnet = 2# Host Bits Remaining

Determining Network/Host ID Given 2 IP addresses 192.20.1.5.and 192.20.6.8. The subnet mask is 255.255.255.0. Determine the network address and the host address, also decide whether the message need to be send through the router.

Determining Network/Host ID 192.20.1.5 = 11000000.00010100.00000001.00000101 255.255.255.0 = 11111111.11111111.11111111.00000000 Network ID = 11000000.00010100.00000001.00000000 => 192.20.1.0 Host ID = 00000000.00000000.00000000.00000101 => 0.0.0.5 192.20.6.8 = 11000000.00010100.00000110.00001000 Network ID = 11000000.00010100.00000110.00000000 => 192.20.6.0 Host ID = 00000000.00000000.00000000.00001000 => 0.0.0.8

Determining Network/Host ID Given 2 IP addresses 192.20.1.5 and 192.20.6.8. The subnet mask is 255.255.0.0. Determine the network address and the host address, also decide whether the message need to be send through the router.

Determining Network/Host ID 192.20.1.5 = 11000000.00010100.00000001.00000101 255.255.0.0 = 11111111.11111111.00000000.00000000 Network ID = 11000000.00010100.00000000.0000 => 192.20.0.0 Host ID = 00000000.00000000.00000001.00000101 => 0.0.1.5 192.20.6.8 = 11000000.00010100.00000110.00001000 Network ID = 11000000.00010100.00000000.00000000 => 192.20.0.0 Host ID = 00000000.00000000.00000110.00001000 => 0.0.6.8

Determining Network/Host ID Suppose a Class B IP address is 191.20.0.0 and the subnet mask is 255.255.224.0. Find the number of subnet available and state the subnet addresses. How many hosts can each subnet have ?

Determining Network/Host ID 191.20.x.x = 10111111.00010100.xxxxxxxx.xxxxxxxx 255.255.224.0 = 11111111.11111111.11100000.00000000 Network ID = 10111111.00010100.xxx00000.00000000 => 191.20.x.0 As extra 3 bits is added into the subnet mask, we have increased the bits available for the network ID. Now, we can have 6 [(2^3) – 2 ] different Network ID.

Determining Network/Host ID 10111111.00010100.00100000.00000000 => 191.20.32.0 10111111.00010100.01000000.00000000 => 191.20.64.0 10111111.00010100.01100000.00000000 => 191.20.96.0 10111111.00010100.10000000.00000000 => 191.20.128.0 10111111.00010100.10100000.00000000 => 191.20.160.0 10111111.00010100.11000000.00000000 => 191.20.192.0 Each subnet can have [2^13 –2] = 8190 hosts.