Net/Subnet-ID vs Network/Subnet Address – Definitions Clarified

ipv4

In my understanding, the net-id, subnet-id and host-id of a host IP address are portions of it, indicating which bits in its binary notation they corresponds to.

From them we can evaluate the network address and subnet address, which instead are IP addresses.

The converse is not true, unless you specify the subnet mask or CIDR.

In this way it does not make sense to specify the subnet-id with a single decimal number, f.i.

in 46.179.50.44/13 the subnet-id is the 5 most significant bits of the second byte, but if I specify the subnet address 46.176.0.0 without the CIDR or subnet mask I can't get the subnet-id. "176" does not specifies the subnet-id as 46.176.0.0/13 and 46.176.0.0/15 have the same "176" but different subnet-id's.

Is that correct? I see that in some textbooks the terms are used interchangeably.

Best Answer

Subnet ids are a feature of classful addressing, which was obsolete before you were born. In classless address (CIDR) the subnet mask divides the network and host ids.

Also remember that IP addresses are simply 32 bit binary numbers. The dotted decimal notation is just to make it easier for humans to read. The dots have no significance.

Related Topic