CONFIG NETWORK INTERFACE ADDRESS UPDATE

Level

network+modify

History

Appears in 6 0 0

Description

Update an address/mask of an interface

Usage

ifname=<interface name> addrnb=<address number> address=<new address> mask=<new mask> [addresscomment=<comment>]

Returns

Error code

Remark

Only "real" addresses are allowed DHCP mode must be set with CONFIG NETWORK INTERFACE ADDRESS ADD command

Example

CONFIG NETWORK INTERFACE ADDRESS UPDATE ifname=bridge5 addrnb=2 address=192 168 1 2 mask=255 255 255 128
CONFIG NETWORK INTERFACE ADDRESS UPDATE ifname=bridge5 addrnb=2 address=192 168 1 2 mask=255 255 255 128 addresscomment="My Address"
CONFIG NETWORK INTERFACE ADDRESS UPDATE ifname=GreTun0 addrnb=2 address=192 168 1 2 mask=255 255 255 252