Ip addressing


Published on

Published in: Education, Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Ip addressing

  1. 1. An Internet Protocol (IP) address is a number that identifies a device on a computer network.
  3. 3. User Assignment ISP Allocation RIR* Allocation IANA IP IETF RIR : Representative of ISP
  4. 4. 2004: Establishment of the Number Resource Organisation
  5. 5.  A regional Internet registry (RIR) is an organization overseeing the allocation and registration of Internet Number resources within a particular region of the world. Resources include IP addresses. There are currently five RIRs in operation:  American Registry for Internet Numbers (ARIN) for North America and parts of the Caribbean  RIPE Network Coordination Centre (RIPE NCC) for Europe, the Middle East and Central Asia  Asia-Pacific Network Information Centre (APNIC) for Asia and the Pacific region  Latin American and Caribbean Internet Addresses Registry (LACNIC) for Latin America and parts of the Caribbean region  African Network Information Centre (AfriNIC) for Africa
  6. 6.  Address consists of 32 Bits  Represented in A.B.C.D where A represent Decimal Value of 8 Bits or 1 Byte  A range from 0-255.
  7. 7.  Few Examples of Binary conversions  Binary to Decimal  Decimal to Binary
  8. 8.  Unicast ◦ One to One Communication  Multicast ◦ One to Many Communication  Broadcast ◦ One to All Communication
  9. 9.  A Class  B Class  C Class  D Class (Reserve for Multicasting)  E Class (Reserve for Scientific Research)
  10. 10.  IP Address ◦ Network Bits  Common among all the users on same Network ◦ Host Bits  Unique Bits to Identify the Host on the LAN segment
  11. 11.  Network – ID ◦ Represent all the Host on the Network ◦ Cannot be assigned to Users ◦ When all the HOSTID portion bits of an IP address are zero’s then it is called Network Address. class A class B class C  Broadcast – ID ◦ Address to send Packet to all the Host on the Network ◦ Cannot be assigned to the Users ◦ When all the HOSTID portion bits of an IP address are one’s then it is called Broadcast Address. class A class B class C
  12. 12.  Host – ID ◦ Address assigned to Host on the Network ◦ All Host must have the Unique Host-ID  Default Address ◦ When all the NETID as well as HOSTID portion bits of an IP address are 0’s then it is used for Default Routing (CISCO Routers) Address  Loopback Addresses (Self Testing) Address  APIPA Address(Automatic Private IP Address) Address
  13. 13.  Subnet Mask:- It is used to represent the Network bits in the IP address. ◦ 1 represent the corresponding bit in IP address is Network Bit ◦ 0 represent the corresponding bit in IP address is Host Bit Subnet Mask Helps to identify the Host in the Given Network-Id Ex.
  14. 14.  Class Less Inter domain Range ◦ It is the Decimal representation of the no. of Network bits in the IP Address  For Example ◦ /24 ◦ /16 ◦ /8
  15. 15.  Subnetting:- Is concept to break down the bigger Network into two or more than two smaller Network.
  16. 16. To identify subnets, you will “borrow” bits from the host ID portion of the IP address: The number of subnets available depends on the number of bits borrowed.  The available number of subnets = 2s, I which s is the number of bits borrowed. The number of hosts per subnet available depends upon the number of host ID bits not borrowed.  The available number of hosts per subnet = 2h -2, in which h is the number of host bits not borrowed.  One address is reserved as the network address.  One address is reserved as the broadcast address.
  17. 17.  Subnetting is based up on NETID portion bits.  In this case we need to borrow some bits from Host ID portion that depends up on the number of subnets  For e.g Step 1: Identify the total number of subnets (how many)? 2n = number of subnets 22 = 4 Where n are the number of borrowed bits from hostId portion. Step 2: Identify the the total number of hosts for each subnets (how many)? 2m - 2 = number of valid hosts 26 – 2 = 62 Where m are remaining number of bits in hostid portion. Step 3: Calculate Subnet Mask and Range. 11111111 11111111 11111111 11000000 255 .255 .255 .192 Range:256 - 192 = 64
  18. 18. Step 4: Identify the total number of subnets (Which one)? (i) (ii) (iii) (iv) Step 5: Identify the valid number of host for each subnet (which one)? (i) -- (ii) -- (iii) -- (iv) -- Step 6:Identify the broadcast address for each subnet? (i) (ii) (iii) (iv)
  19. 19. Subnet a network with a private network address of so that it provides 100 subnets and maximizes the number of host addresses for each subnet. ◦ How many bits will need to be borrowed? ◦ What is the new subnet mask? ◦ What are the first four subnets? ◦ What are the range of host addresses for the four subnets?
  20. 20.  Subnetting has limitation of only Splitting the network into smaller symmetrical networks.  Variable Length Subnet Mask (VLSM) ◦ VLSM Provides the use of Subnetting in more effective way. ◦ Allow to splitting the network into smaller asymmetrical networks. Ex :-,,,,
  21. 21. Subnet is divided into smaller subnets. – Subnet with one mask (/27). – Then further subnet one of the unused /27 subnets into multiple /30 subnets.
  22. 22. Routing protocols can summarize addresses of several networks into one address.
  23. 23. ◦ Classful routing protocols do not include the subnet mask with the network in the routing advertisement. ◦ Within the same network, consistency of the subnet masks is assumed, one subnet mask for the entire network. ◦ Summary routes are exchanged between foreign networks. ◦ Examples of classful routing protocols include:  RIPv1  IGRP Note: Classful routing protocols are legacy routing protocols typically used to address compatibility issues. RIP version 1 and Interior Gateway Routing Protocol (IGRP) are introduced to provide examples.
  24. 24. Classless routing protocols include the subnet mask with the network in the advertisement. Classless routing protocols support VLSM; one network can have multiple masks. Summary routes must be manually controlled within the network. Examples of classless routing protocols include:  RIPv2, EIGRP, OSPF RIPv2 and EIGRP act classful by default, and summary routes are exchanged between foreign networks.  The no auto-summary command forces these protocols to behave as if they are classless.
  25. 25. /32 Host /27 Subnet /24 Network /16 Block of Networks /0 Default  Supports host-specific routes, blocks of networks, and default routes  Routers use longest prefix match
  26. 26.  Classful RIPv1 and IGRP do not advertise subnets, and therefore cannot support discontiguous subnets.  Classless OSPF, EIGRP, and RIPv2 can advertise subnets, and therefore can support discontiguous subnets.
  27. 27. ◦ Subnetting lets you efficiently allocate addresses by taking one large broadcast domain and breaking it up into smaller more manageable broadcast domains. ◦ VLSMs let you more efficiently allocate IP addresses by adding multiple layers of the addressing hierarchy. ◦ The benefits of route summarization include smaller routing tables and the ability to isolate topology changes.
  28. 28. 1. 2. 3. 4. 5. 6. 7. 8. 9. 17. 18. 19. 20. 21. 22. 23.
  29. 29. 10101100 11111111 10101100 00010000 11111111 00010000 11111111 00000010 10100000 11000000 10000000 00000010 10101100 00010000 00000010 10111111 10101100 00010000 00000010 10000001 10101100 00010000 00000010 10111110 Host Mask Subnet Broadcast Last First 1 2 3 4 5 6 7 89 16172 2 160 B: