Перейти к содержанию

Add

nectl interface device ipaddr add

Add IP address on interface

nectl interface device ipaddr add [flags]

Examples

  nectl interface device ipaddr add eth0 -a 192.168.0.1/24 -r
  nectl interface device ipaddr add eth0.100 -a 192.168.0.1/24 -r

Options

  -a, --address string   IP address (default "0.0.0.0/0")
  -h, --help             help for add
  -r, --replace          replace current IP addresses

Options inherited from parent commands

      --host string   gRPC server host (default "127.0.0.1")
      --port uint16   gRPC server port (default 30666)

SEE ALSO