Network commands are available on macOS 26 and later.
Usage
Arguments
Network name
Options
Set metadata for a network (format: key=value)
Set the IPv4 subnet for a network (CIDR format, e.g., 192.168.100.0/24)
Set the IPv6 prefix for a network (CIDR format, e.g., fd00:1234::/64)