subnet
Return the subnet derived from the CIDR.
Examples
IPv4 example (to be confirmed):
ip("192.168.0.1/24").subnet
IPv6 example:
ip("2001:db8::123/64").subnet
subnet
Return the subnet derived from the CIDR.
IPv4 example (to be confirmed):
ip("192.168.0.1/24").subnet
IPv6 example:
ip("2001:db8::123/64").subnet