72.4. How to assign several IP addresses to the same LAN port

Suppose to assign to the ETH-1 port a second IP address.

Enter into the Abilis control-program or open the configuration file with the Console configurator and type the following commands.

a res:ip-10 subtype:virtualAdd an “IP Virtual” resource (e.g. IP-10).
s p ip-10 p-ip:1Configure the physical Ethernet card associated to IP-10 resource.
s p ip-10 ipadd:192.168.10.1 mask:255.255.255.0Configure the IP address and the mask.
s p ip-10 descr:Virtual_LANConfigure the description of the IP resource.
save confSave the configuration.

On a working Abilis, a system restart is required to make the IP-10 resource running.

[Note]Note

If you want to assign an IP address belonging to the same network of the IP-1 resource, you must configure in the mask parameter the value 255.255.255.255. For example:

s p ip-10 ipadd:192.168.1.10 mask:255.255.255.255 or s p ip-10 ipadd:192.168.1.10/32