Saturday, 3 August 2013

Network Addresses



Network  Addresses
The network address is the first address.
The network address defines the network to the rest of the Internet.
Given the network address, we can find the class of the address, the block, and the range of the addresses in the block

In Classful addressing, the network address (the first address in the block) is the one that is assigned to the organization.

Example 11
Given the network address 17.0.0.0, find the class, net id of the block, and the range of the addresses.
Solution
The class is A because the first byte is  between 0 and 127.
The block has a net id of 17.
The addresses range from 17.0.0.0 to 17.255.255.255.

Example 12
Given the network address 132.21.0.0, find the class, net id of the block, and the range of the addresses.
Solution
The class is B because the first byte is Between 128 and 191.
The block has a net id of 132.21.
The addresses range from 132.21.0.0 to 132.21.255.255.

Example 13
Given the network address 220.34.76.0, find the class, net id of the block, and the range of the addresses.

Solution
The class is C because the first byte is Between 192 and 223.
The block has a net id of 220.34.76.
The addresses range from 220.34.76.0 to 220.34.76.255.

Mask
      A mask is a 32-bit binary number made of contiguous 1’s followed by contiguous 0’s.
      It gives the first address in the block (the network address) when bitwise AND ed with an address in the block.
      The concept does not apply for classes D and E.

No comments:

Post a Comment