Published on March 2, 2014
IPv4 Addressing and Subnetting A brief introduction of IP protocol version 4 and Subnetting
Hardware Addressing A hardware adsress is used to identify a host within a local network Hardware addressing is a function of the Data Link layer of OSI model Ethernet utilizes the 48-bit MAC address as it hardware address . MAC address is hardcoded on physical network interfaces MAC is represented in hexadecimal format examples – 00:34:AC:F5:22:12 0043.ACF5.2212
Logical addressing Logical addressing is a function of the network layer of the OSI model Provides a hierarchical structure to separate networks Logical address can be dynamically assigned and changed freely. A logical address contains two components: Network ID – identifies which network a host belongs to. Host ID – uniquely identifies the host on that network.
Example of logical addressing protocol IPX- Internetwork Packet Exchange IPX was predominantly used on Novell networks, but is now almost entirely deprecated IP- Internet Protocol – The most widely used logical address and is backbone protocol of internet
Internet Protocol (IP) IP provides two fundamental Network layer services: Logical addressing – provides a unique address that identifies both the host, and the network that host exists on. Routing – determines the best path to a particular destination network, and then routes data accordingly. IPv4 employs a 32-bit address, which limits the number of possible addresses to 4,294,967,296. IPv4 will eventually be replaced by IP Version 6 (IPv6), due to a shortage of available IPv4 addresses
IP Addressing A core function of IP is to provide logical addressing for hosts An IP address is most often represented in decimal, in the following format: 220.127.116.11 An IP address is comprised of four octets, separated by periods First Octet 150 Second Octet Third Octet 10 164 Fourth Octet 8 Each octet is an 8-bit number, resulting in a 32-bit IP address. The smallest possible value of an octet is 0,. The largest possible value of an octet is 255
The Subnet mask The IP address is compose of two parts One part is identifies the networks , the other part of address identifies the host A subnet mask is required to provide this distinction For example – 18.104.22.168 255.255.0.0 The subnet mask follow two rules: If a binary bit is set to a 1 (or on) in a subnet mask, the corresponding bit in the address identifies the network. If a binary bit is set to a 0 (or off) in a subnet mask, the corresponding bit in the address identifies the host.
Subnet mask contt… Looking at the IP address and subnet mask in binary IP address - 10011110.01010000.10100100.00000011 Subnet mask - 11111111.11111111.00000000.00000000 The first 16 bits of the subnet mask are set to 1. Thus, the first 16 bits of the address (158.80) identify the network. The last 16 bits of the subnet mask are set to 0. Thus, the last 16 bits of the address (164.3) identify the unique host on that network. The network portion of the subnet mask must be contiguous. Host on the same logical network can communicate freely Hosts that are on different networks cannot communicate without an intermediating device
IP address Classes IPv4 address space has been structured into several classes The value of the first octet of an address determines the class of the network Class First Octet Range Default Subnet Mask Class A 1 - 127 255.0.0.0 Class B 128 - 191 255.255.0.0 Class C 192 - 223 255.255.255.0 Class D 224 – 239 -----------------
IP address contt.. Class A networks range from 1 to 127. The default subnet mask is 255.0.0.0 Class B networks range from 128 to 191. The default subnet mask is 255.255.0.0. Class C networks range from 192 to 223. The default subnet mask is 255.255.255.0 Class D networks are reserved for multicast traffic. Class D addresses do not use a subnet mask.
CIDR (Classless Inter-Domain Routing) Classless Inter-Domain Routing (CIDR) is a simplified method of representing a subnet mask. CIDR identifies the number of binary bits set to a 1 (or on) in a subnet mask, preceded by a slash. a subnet mask of 255.255.255.240 would be represented as follows in binary: 11111111.11111111.11111111.11110000 The first 28 bits of the above subnet mask are set to 1. The CIDR notation for this subnet mask would thus be /28. The CIDR mask is often appended to the IP address. For example 192.168.1.1 and a subnet mask of 255.255.255.0 in CIDR written as 192.168.1.1 /24
Address Classes vs. Subnet Mask The first octet on an address dictates the class of that address. The subnet mask determines what part of an address identifies the network, and what part identifies the host. Each class has a default subnet mask. A network using its default subnet mask is referred to as a classful network. It is entirely possible to use subnet masks other than the default.
Subnet and Broadcast Addresses On each IP network, two host addresses are reserved for special use a. b. The subnet (or network) address The broadcast address The subnet address is used to identify the network itself. In broadcast address all bits in host portion is set to 0 Broadcasts are one of three types of IP packets: a. Unicasts - are packets sent from one host to one other host b. Multicasts - are packets sent from one host to a group of hosts c. Broadcasts - are packets sent from one host to all other hosts on the local network
Subnetting Subnetting is the process of creating new networks New networks are created by stealing bits from the host portion of a subnet mask. stealing bits from hosts creates more networks but fewer hosts per network. The number of useable host per network is calculated by formula 2^n – 2 it is never possible to assign a host an address with all 0 or all 1 bits in the host portion of the address. These are reserved for the subnet and broadcast addresses, respectively.
Private vs. Public IPv4 Addresses public address- can be routed on the Internet. Thus, hosts that must be Internet-accessible must be configured with (or reachable by) public addresses. Allocation of public addresses is governed by the Internet Assigned Numbers Authority (IANA). private address- intended for internal use within a home or organization, and can be freely used by anyone. However, private addresses can never be routed on the Internet. In fact, Internet routers are configured to immediately drop traffic with private addresses. It is possible to translate between private and public addresses, using Network Address Translation (NAT). NAT allows a host configured with a private address to be stamped with a public address, thus allowing that host to communicate across the Internet.
Thank You Shashank Asthana
Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...
In this presentation we will describe our experience developing with a highly dyna...
Presentation to the LITA Forum 7th November 2014 Albuquerque, NM
Un recorrido por los cambios que nos generará el wearabletech en el futuro
Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...
IPv4 Addressing and Subnetting v1.41 ... IPv4 employs a 32-bit address, which limits the number of possible addresses to 4,294,967,296.
IPv4 Addressing - Learn IPv4 (Internet protocol Version-4) in simple and easy steps. A beginner's tutorial containing complete knowledge of IPv4 with OSI ...
IPv6 Subnetting - Overview and Case Study. ... drastically different than subnetting with IPv4, ... providers re-addressing 200 locations doesn ...
IP Addressing and Subnetting for New Users. Download. Print. Available Languages. Download Options. PDF (103.4 KB) View with Adobe Reader on a variety of ...
Understanding TCP/IP addressing and subnetting ... Thisarticle is intended as a general introduction to the concepts of IPnetworks and subnetting.
This is an introduction to IPv4 addressing and Subnetting. But the same method can be used for IPv6. (Please excuse the quality of this video ...
This section gives an overview IPv4 addressing to aid you in designing an IPv4 addressing plan. For information on IPv6 addresses, see IPv6 Addressing Overview
IPv4 Subnetzbildung - Lernen IPv4 (Internet Protocol Version-4) ... Adressierung, Klassen, Subnetting, VLSM, Eigener Adressen und ihrem Beispiel. Jobs; Send18;
Powerful free online IPv4/IPv6 subnet calculator, hierarchical addressing planner and IP address converter
IPv4 Addressing Guide February 2012 Series. February 2012 Series Preface ... February 2012 Series IP Addressing Basics 4 Subnetting and Supernetting