Presentation is loading. Please wait.

Presentation is loading. Please wait.

The IP addresses are unique. The address space of IPv4 is 2 32 or 4,294,967,296.

Similar presentations


Presentation on theme: "The IP addresses are unique. The address space of IPv4 is 2 32 or 4,294,967,296."— Presentation transcript:

1 The IP addresses are unique. The address space of IPv4 is 2 32 or 4,294,967,296.

2 Octet IP address format is dotted decimal. Dotted decimal makes it easy to work with IP addresses.

3 231.219.139.111 Example 00000000 = 0 11111111 = 255 11100111110110111000101101101111

4 Multicast Research *

5 Example Find the class of each address: 1. 227.12.14.87 2.193.14.56.22 3.14.23.120.8 4. 252.5.15.111 5.134.11.78.56

6 Solution 1. 227.12.14.87 The first byte is 227 (between 224 and 239); the class is D. 2.193.14.56.22 The first byte is 193 (between 192 and 223); the class is C. 3.14.23.120.8 The first byte is 14 (between 0 and 127); the class is A. 4. 252.5.15.111 The first byte is 252 (between 240 and 255); the class is E. 5.134.11.78.56 The first byte is 134 (between 128 and 191); the class is B. IP Addressing and Subnetting Page 6

7 Multicast Research IP Address Classes

8 In classful addressing, an IP address in class A, B and C is divided into two parts netid and hostid. These parts are varying length, depending on the class of the address.

9 ClassNumber of Network bitsNumber of Host bits A824 B16 C248 Number of Network Bits and Host Bits in each class

10 ClassNumber of NetworksNumber of Hosts A 2828 2 24 B 2 16 C 2 24 2828 NNNNNNNN.HHHHHHHH.HHHHHHHH.HHHHHHHH 2 8 = 2562 24 = 16777216 Number of Networks and Hosts Per each Network

11 2 Number of Network bits = Number of Networks 2 Number of Host bits = Number Hosts Number of Networks and Hosts Per each Network

12 ClassDefault Subnet Mask A255.0.0.0 B255.255.0.0 C255.255.255.0 11111111.00000000.00000000.00000000 11111111.11111111.00000000.00000000 11111111.11111111.11111111.00000000 Subnet Mask

13 ClassDefault Subnet Mask A255.0.0.0 B255.255.0.0 C255.255.255.0 ClassNumber of Network bitsNumber of Host bits A824 B16 C248 The subnet mask determine which part of the address belongs to the Network address and which part belongs to the Host address. 11111111.00000000.00000000.00000000 11111111.11111111.00000000.00000000 11111111.11111111.11111111.00000000 Subnet Mask Number of Zeros in subnet mask represent the number of Host bits

14 Every host and router on the Internet has an IP address, which encodes its network number and host number. All IP addresses are 32 bits long. It is important to note that an IP address does not actually refer to a host. It really refers to a network interface, so if a host is on two networks, it must have two IP addresses. IP addresses were divided into the five categories 14 network mask 255.0.0.0 255.255.0.0 255.255.255. 0

15 15

16 16

17 17

18 18 Frame format IPV4

19 19 1.All IP addresses have a network and host portion. 2.In classful addressing, the network portion ends on one of the separating dots in the address (on an octet boundary). 3.Classful addressing divides an IP address into the Network and Host portions along octet boundaries. 4.In the classful addressing system all the IP addresses that are available are divided into the five classes A,B,C,D and E, in which class A,B and C address are frequently used because class D is for Multicast and is rarely used and class E is reserved and is not currently used.

20 20

21 21 1.Each of the IP address belongs to a particular class that's why they are classful addresses. 2.Earlier this addressing system did not have any name,but when classless addressing system name into existence then it is named as Classful addressing system. 3.The main disadvantage of classful addressing is that it limited the flexibility and number of addresses that can be assigned to any device. 4.One of the major disadvantage of classful addressing is that it does not send subnet information but it will send the complete network address. 5.The router will supply its own subnet mask based on its locally configured subnets. As long as you have the same subnet mask and the network is contiguous, you can use subnets of a classful network address.

22 22 Classless addressing uses a variable number of bits for the network and host portions of the address.

23 Decimal1921602048 Binary 1100000 0 1010000 0 0001010 0 00110000 4 bits host 23 1.Classless addressing treats the IP address as a 32 bit stream of ones and zeroes, where the boundary between network and host portions can fall anywhere between bit 0 and bit 31. 2.Classless addressing system is also known as CIDR(Classless Inter- Domain Routing). 3.Classless addressing is a way to allocate and specify the Internet addresses used in inter-domain routing more flexibly than with the original system of Internet Protocol (IP) address classes. 4. CIDR (Classless Internet Domain Routing), defines arbitrarily-sized subnets solely by base address and number of significant bits in the address. 5.A CIDR address of 192.168.0.0/24 defines a block of addresses in the range 192.168.0.0 through 192.168.0.255, while 192.168.0.0/20 would define a network 16 times as large - from 192.168.0.0 through 192.168.15.255.

24 24

25 25 1.The 32-bit IP address contains information about the host and its network. 2.It is very necessary to distinguish both. 3.For this, routers use Subnet Mask, which is as long as the size of the network address in the IP address. 4.Subnet Mask is also 32 bits long. I 5.f the IP address in binary is ANDed with its Subnet Mask, the result yields the Network address. 6.For example, say the IP Address is 192.168.1.152 and the Subnet Mask is 255.255.255.0 then: 7. This way the Subnet Mask helps extract the Network ID and the Host from an IP Address. It can be identified now that 192.168.1.0 is the Network number and 192.168.1.152 is the host on that network.


Download ppt "The IP addresses are unique. The address space of IPv4 is 2 32 or 4,294,967,296."

Similar presentations


Ads by Google