Presentation is loading. Please wait.

Presentation is loading. Please wait.

© N. Ganesan, All rights reserved. Chapter IP Addressing Format.

Similar presentations


Presentation on theme: "© N. Ganesan, All rights reserved. Chapter IP Addressing Format."— Presentation transcript:

1 © N. Ganesan, All rights reserved. Chapter IP Addressing Format

2 Questions How many bits are there in a TCP/IP address? Name the components of a typical TCP/IP address? What is the difference between the old IPv4 and the new IPv6 addresses? Explain the difference between network ID and host ID. Name the classes of IP addresses. What are the purpose and function of each class of addressing Compute the number of networks and hosts that can be supported in each class of address.

3 Questions Cont. List the restrictions placed on the assignment of addresses. Choose a IP class as an example and list the valid range of network and host addresses for that class.

4 Chapter Modules IP Address Format and Components Classes of Addresses Scope of Addresses and Restrictions

5 © N. Ganesan, All rights reserved. Module 1 IP Address Format

6 Overview The IP address format discussed in this presentation applies to IPv4 An IP address is composed of 32 bits that is viewed as being divided into 4 octets –One octet is made up of 8 bits

7 IP Address Format 10101111110011001000000100110011 32 bits divided into 4 octets for convenience 17520412951 Converted into decimals for easy representation and remembrance

8 An Example in Binary-to- Decimal Conversion Binary1001 Factor8421 Decimal= Binary * Factor 80018+1 = 9 Binary 1001 = Decimal 9

9 IP Addressing Components Network IDHost ID 32 bits

10 The New IP Address The new IP address known as IPv6 has 128 bits –www.whatis.comwww.whatis.com

11 IP Component Reference Internet Host ID Network ID

12 End of Module 1

13 © N. Ganesan, All rights reserved. Module 2 Classes of IP Addresses

14 IP addresses have been divided into classes –They are namely Classes A, B C, D and E Classes A, B and C are used for commercial purpose Class D is used for multicasting Class E is used for experimental purpose

15 Commercial Classes Classes A, B and C Class A is for very large organizations –Few, if any, are available Class B is used in medium size organizations –A few may be still be available Class C is used in small organizations –Often further divided and issued to smaller organizations and individuals

16 Subnetting There is no strict rule as to who may use a certain class of address An enterprise such as an ISP can own a large Class B address space and subnet it into smaller spaces for its customers

17 Class D Reserved for IP multicasting The first four higher-order bits are set to 1 1 1 0 respectively Microsoft supports Class D addresses for multicasting Multicasting is the process of delivering media over the Internet at reduced bandwidths

18 A Note on Multicasting Multicasting delivers a single stream of medial to a router and the receiving end The router then multiplies and delivers the stream to local clients As such, only one stream travels along the Internet thus saving bandwidth In the case of Unicasting, multiple streams travel along the Internet to reach each client separately

19 Unicasting 3 Streams

20 Multicasting 1 Stream on Internet 3 Streams Locally

21 Alternative Methods of Delivering Media Unicasting –Easy to implement –Higher bandwidth is required for transmission Multicasting –More involved in setting up –Uses bandwidth more efficiently Broadcasting

22 Class E Experimental addresses reserved for possible future use The first four higher-order bits are set to 1 1 1 1 respectively

23 End of Module 2

24 © N. Ganesan, All rights reserved. Module 3 IP Formats for Commercial Classes

25 Class A Assignment Format 8 bits Network ID (8 bits) Host ID (24 bits)

26 Number of Class A Networks and Nodes The first higher-order bit is always set to 0 Total number of networks supported is 126 = 2 7 - 2 –All zeros and all ones are not allowed Total number of hosts supported per network is 16,777,214 = 2 24 - 2 –All zeros and all ones are not allowed

27 Restrictions on Zeros and Ones The initial RFC 950 forbade the use of zeros and ones –All zeros prevented some early routing protocols from operating correctly –All ones may result in a conflict with a special broadcast address known as the all- subnets directional broadcast address

28 Easing of Restrictions RFC 1812 now eases the restriction and allows the use of zeros and ones in a CIDR-compliant environment CIDR –Classless Inter-Domain Routing (CIDR) –Explained under subnets

29 Class B Assignment Format 8 bits Network ID (16 bits) Host ID (16 bits)

30 Number of Class B Networks and Nodes The first two higher-order bits are always set to 1 and 0 respectively Total number of networks supported is 16384 = 2 14 - 2 –All zeros and all ones are not allowed Number of hosts supported per network is 65,534 = 2 16 - 2 –All zeros and all ones are not allowed

31 Class C Assignment Format 8 bits Network ID (24 bits) Host ID (8 bits)

32 Number of Class C Networks and Nodes The first three higher order bits are always set to 1, 1 and 0 respectively Total number of networks supported is 2,097,152 = 2 21 - 2 –All zeros and all ones are not allowed Number of hosts supported per network is 254 = 2 8 - 2 –All zeros and all ones are not allowed

33 Overcoming the Limited Number of IP Addresses By dynamically assigning IP addresses to the clients –DHCP –DHCP is also used for better management of network Network Address Translation (NAT) –Assign fictitious IP addresses to the clients –Often, implemented with hardware firewalls –NAT provides security as well

34 End of Module 3

35 © N. Ganesan, All rights reserved. Module 3 Scope and Restriction of IP Addresses

36 Restrictions on Network ID Assignments In class A, network ID 127 is reserved for loop back functions All bits of a network ID cannot be set to ones –Reserved for use as an IP broadcast address All bits of a network ID cannot be set to zeros –Reserved for a specific host on the local host –Packets destined to this specific address will not be routed

37 Loop Back Function Loop back function simply tests itself –Eg: 127.0.0.1 performs a test on the machine itself localhost is another way of testing the loopback function

38 Valid Network IDs for Classes ClassBeginning Network ID Ending Network ID A1.0.0.0126.0.0.0 B128.0.0.0191.255.0.0 C192.0.0.0223.255.255.0

39 Restrictions on Host ID Assignments All the bits of a host ID cannot be set to ones –Reserved as the broadcast IP address to send a packet to all the hosts All the bits of a host ID cannot be set to zeros either –Reserved to represent the IP network address

40 Valid Host IDs for Classes ClassBeginning Host ID Ending Host ID Aw.0.0.1w.255.255.254 Bw.x.0.1w.x.255.254 Cw.x.y.1w.x.y.254

41 Summary of Networks and Hosts Supported in Each Class Network ID Portion Available Networks Hosts per Networks A 12616,777,214 B16,38465,534 C2,097,152254

42 End of Module

43 © N. Ganesan, All rights reserved. Module 4 Private IP Addresses

44 End of Module 4

45 END OF MODULE END OF CHAPTER


Download ppt "© N. Ganesan, All rights reserved. Chapter IP Addressing Format."

Similar presentations


Ads by Google