interface.ip_in_use =================== Get all IPv4 / Ipv6 from all valid interfaces, excluding tap and epair. .. raw:: html
Options for filtering IP addresses in use.
No Additional PropertiesInclude IPv4 addresses in the results.
Include IPv6 addresses in the results.
Include IPv6 link-local addresses in the results.
Return loopback interface addresses.
Return wildcard addresses (0.0.0.0 and ::).
Only return configured static IPs.
Only return IPs from specified interfaces. If empty, returns IPs from all interfaces.
No Additional ItemsMust be at least 1 characters long
The type of IP address (INET for IPv4, INET6 for IPv6).
The IP address that is in use.
""
The network mask in CIDR notation.
The broadcast address for IPv4 networks.
[
{
"address": "fe80::5054:ff:fe16:4aac",
"netmask": 64,
"type": "INET6"
},
{
"address": "192.168.122.148",
"broadcast": "192.168.122.255",
"netmask": 24,
"type": "INET"
}
]