Before you activate changes you make to a network configuration, you can validate
the changes to ensure there are no errors.
-
Change or add any IP addresses, subnets, interfaces, or routes associated with
the network configuration profile to be validated.
-
Validate the network configuration profile.
netconfig
--validate {active | backup |
draft}
Validating the Draft profile after adding two IP addresses:
$ ip --add 192.168.80.50 --netconfig draft --type data
$ ip --add 192.168.90.60 --netconfig draft --type data
$ netconfig --validate draft
INFO: Configuration is valid.