Samer
Samer

Reputation: 1980

What are the names of each section of IPv4 address?

I am writing a UI class for handling IP address and I was wondering if a specific name exists for each of the four sections of IP address V4, to distinguish each part!

Upvotes: 0

Views: 986

Answers (2)

user207421
user207421

Reputation: 310885

It is a mistake to think of an IP address as four octets. Ever since Classless Interdomain Routing came in over 20 years ago they are called 'bits'. There are now only two parts: the 'network address', which is the part that is masked in by the netmask, and the 'host identifier', which is the part that is masked out. The two parts are of variable length depending on the netmask.

Upvotes: 2

Greg
Greg

Reputation: 126

No, there is not. You could just name them first, second, etc...

Upvotes: -1

Related Questions