The total number of bits available in the address space. IPv4 uses 32-bit addresses and IPv6 uses 128-bit addresses.
Arguments
- x
An
ip_address
orip_network
vector
Examples
x <- ip_address(c("192.168.0.1", "2001:db8::7334"))
max_prefix_length(x)
#> [1] 32 128