ip address
Assigns an IP address to an interface.
Syntax
Syntax Description
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.
Defaults
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.
Usage Guidelines
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 interface mode to manual or disable the DHCP client 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 interface mode to lan
, or set it to manual
and disable the DHCP client.
This command is valid only in interface context.
Examples
Related Commands
Last updated