ip address
Assigns an IP address to an interface.
Last updated
Assigns an IP address to an interface.
Last updated
no
(Optional) Removes the IP address from the interface.
address
The IP address to be assigned to the interface.
bits
The number of bits in the network portion of the address.
By default, Island will either obtain an IP address for an interface using DHCP (if the DHCP client is enabled on the interface) or will assign an arbitrary /24 private network (RFC1918) network address.
This command assigns an IPv4 or IPv6 address to an interface. Only one IPv4 and one IPv6 address may be assigned to a given interface.
This command does not automatically set the to manual or disable the on the interface. However, if the DHCP client is enabled, the specified IP address will be overwritten if an address is later obtained from a DHCP server. To ensure a manually-configured IP address is not changed, set the to lan
, or set it to manual
and disable the .
This command is valid only in interface context.