I'm writing a Ruby support library for IP network management, and I'm having trouble coming up with a commonly used construct, namely an IP address with prefix, where the distinction between host and network is implicit: if the prefix only masks bits in the address, then it's a network address.
Is there a generic term for an IP host or network address with prefix? The standards don't need to give it a name, because it's not a primitive construct. If I used standards terminology, I'd have to call it an address with prefix.
I'm fine with calling this an IP host:
192.168.0.1
And I'm fine with calling this an IP network:
192.168.0.0/24
But what's a decent name for both of these?
192.168.0.0/24
192.168.0.1/24
As it stands, I'm thinking of calling it an IP spec. Then my library will implement IP::Address and IP::Network as specializations of IP::Spec.