Parameters options to be passed down to ip
.
Global parameters options that affects the command execution.
ParametersError - Throws when passed parameters are invalid.
CommandError - Throws when the executed command fails.
Import module
import { address } from 'iproute';
Add a new address
await address.add({
local: '10.3.15.3/24',
scope: AddressScopes.Host,
dev: 'eth0'
});
Generated using TypeDoc
Add new protocol address.