Upload
meetu-chopra
View
142
Download
1
Embed Size (px)
Citation preview
IPV4 ADDRESSES
IPV4 ADDRESSES CLASSFULL ADDRESSINGCLASSLESS ADESSING SPECIAL ADDRESSING
13/10/2017
INTRODUCTION
An IPv4 address is a 32-bit address that uniquely and universally defines the connection of a host or a router to the Internet,
THE ADDRESS SPACE OF IPV4 IS 232 or 4 million.
23/10/2017
2
33/10/2017
43/10/2017
The address space of IPv4 is 232 or 4,294,967,296.
Note
Numbers in base 2, 16, and 256 .
Note53/10/2017
5
Figure 5.1 Dotted-decimal notation
63/10/2017
6
Change the following IPv4 addresses from binary notation to dotted-decimal notation.a. 10000001 00001011 00001011 11101111b. 11000001 10000011 00011011 11111111c. 11100111 11011011 10001011 01101111d. 11111001 10011011 11111011 00001111
SolutionWe replace each group of 8 bits with its equivalent decimal number (see Appendix B) and add dots for separation:a. 129.11.11.239b. 193.131.27.255c. 231.219.139.111d. 249.155.251.15Example 73/10/2017
7
Find the number of addresses in a range if the first address is 146.102.29.0 and the last address is 146.102.32.255.
SolutionWe can subtract the first address from the last address in base 256 (see Appendix B). The result is 0.0.3.255 in this base. To find the number of addresses in the range (in decimal), we convert this number to base 10 and add 1 to the result..
Example 83/10/2017
8
Figure 5.3 Bitwise AND operation
93/10/2017
9
EXAMPLE:-103/10/2017
10
Figure 5.2 Bitwise NOT operation
113/10/2017
11
Example 123/10/2017
12
IPV4 ADDRESS TYPES133/10/2017
143/10/2017
153/10/2017
163/10/2017
173/10/2017
183/10/2017
193/10/2017
203/10/2017
213/10/2017
223/10/2017
233/10/2017
243/10/2017
253/10/2017
263/10/2017
273/10/2017
283/10/2017
293/10/2017
The network address is the identifier of a network.
Note303/10/2017
30
Figure 5.21 Network mask
313/10/2017
31
323/10/2017
In classless addressing, the prefix defines the network and the suffixdefines the host.
Note333/10/2017
33
343/10/2017
34
Example :-353/10/2017
363/10/2017
373/10/2017
383/10/2017
393/10/2017
403/10/2017
413/10/2017
423/10/2017
433/10/2017
443/10/2017
453/10/2017
463/10/2017
473/10/2017
483/10/2017
493/10/2017
Example:-503/10/2017