Interface aliases let you assign more than one IPv4 address to physical or virtual interfaces (Bonds, Bridges, VLANs and Loopbacks). This section shows you how to configure an alias using the Gaia Portal and the Gaia Clish.
To add an interface alias:
Step |
Description |
---|---|
1 |
In the navigation tree, click Network Management > Network Interfaces. |
2 |
Click Add > Alias. |
3 |
On the IPv4 tab, enter the IPv4 address and subnet mask. |
4 |
On the Alias tab, select the interface, to which this alias is assigned. |
5 |
Click OK. |
The new alias interface name is automatically created by adding a sequence number to the interface name. For example, the name of first alias added to eth1 is eth1:1. The second alias added is eth1:2, and so on.
Note - You cannot change the interface alias settings.
To delete an interface alias:
Step |
Description |
---|---|
1 |
In the navigation tree, click Network Management > Network Interfaces. |
2 |
Select an interface alias and click Delete. |
3 |
When the confirmation message shows, click OK. |
Description
Configure an alias IPv4 address on a physical or virtual interface.
Syntax
add interface <Name of Interface> alias <IPv4 Address>/<Mask Length> |
show interface <Name of Interface> aliases |
delete interface <Name of Interface> alias <Name of Alias Interface> |
Important - After you add, configure, or delete features, run the save config
command to save the settings permanently.
Note - A new alias interface name is automatically created by adding a sequence number to the original interface name. For example, the name of first alias added to eth1 is eth1:1. The second alias added is eth1:2, and so on.
Parameters
Parameter |
Description |
---|---|
<Name of Interface> |
Specifies the name of the interface, on which to create an alias IPv4 address |
<IPv4 Address> |
Assigns the alias IPv4 address |
<Mask Length> |
Configures alias IPv4 subnet mask length using the CIDR notation (integer between 2 and 32) |
<Name of Alias Interface> |
Specifies the name of the alias interface in the format |
Example
gaia> add interface eth1 alias 10.10.99.1/24
gaia> show interface eth1 aliases
gaia> delete interface eth1 alias eth1:2 |