How do you find the net id and host id of ip address 220.43.6.8?

Answer:
To find the Network ID and Host ID from an IP address you need to use a Subnet Mask. The address 220.43.6.8 is a class C IP address (Since the range of Class C address is 192.0.0.0 to 223.255.255.255).
The standard default mask for class C is 255.255.255.0


Network address = (IP address) Boolean AND (Subnet mask)
Hence,
network address = 220.43.6.8 AND 255.255.255.0 = 220.43.6
(since 255 means all 1s in binary, hence it'll give the same bits which are ANDed with it, whereas 0 means all 0s in binary, hence it'll give answer as 0 irrespective of what bits are ANDed with it)


Hence Host Address would be the remaining part of IP address = 8
First answer by JitenP. Last edit by JitenP. Contributor trust: 1 [recommend contributor recommended]. Question popularity: 3 [recommend question].