(a) Find the netid and the hostid of the following IP addresses:
i. 114.34.2.8
ii. 132.56.8.6
iii. 208.34.54.12

(b) Find the class of the following IP addresses.
i. 208.34.54.12
ii. 238.34.2.1
iii. 114.34.2.8
iv. 129.14.6.8

(c) An organization is granted the block 16.0.0.0/8. The administrator wants to create 500 fixed
length subnets.
i. Find the subnet mask.
ii. Find the number of addresses in each subnet.

Respuesta :

Answer:

(a) Netid and Hostid:

i. IP address: 114.34.2.8

- Netid: 114.34

- Hostid: 2.8

ii. IP address: 132.56.8.6

- Netid: 132.56

- Hostid: 8.6

iii. IP address: 208.34.54.12

- Netid: 208.34.54

- Hostid: 12

(b) Class of IP addresses:

i. IP address: 208.34.54.12

- Class: Class C

ii. IP address: 238.34.2.1

- Class: Class D

iii. IP address: 114.34.2.8

- Class: Class A

iv. IP address: 129.14.6.8

- Class: Class B

(c) Subnetting:

i. Subnet mask for block 16.0.0.0/8:

- Since the block is /8, the default subnet mask is 255.0.0.0.

ii. Number of addresses in each subnet:

- The subnetting creates 2^(32 - subnet mask length) addresses in each subnet.

- For /8 to /16 (500 subnets), the subnet mask length is 16.

- Therefore, each subnet will have 2^(32-16) = 2^16 = 65536 addresses.