% VIP-MANAGEMENT(1) Version 3.2.0 | Scripts Documentation % Georg Voell - georg.voell@standby.cloud % (c)2024 Standby.cloud NAME ==== **vip-management** - (BASH Script) Add or delete secondary private IP (Virtual IP) SYNOPSIS ======== | **vip-management** \[_options_] _action_ \[_ipv4_] DESCRIPTION =========== Add or delete secondary private IP (Virtual IP) Docs: https://docs.oracle.com/en-us/iaas/Content/Network/Tasks/managingIPaddresses.htm Options ------- -h, --help : Displays helptext. -v, \--version          : Displays the version of the script. Action ------- show         : Show current state (default). add         : Attach ipv4 to instance. delete         : Detach ipv4 from instance. route         : Add ipv4 to default gateway. ipv4 ------- A valid and unused IPv4         : A valid and unused IPv4 EXAMPLES ======== **vip-management** add 10.0.1.50 : Create a second interface using private IP (from primary VNIC). **vip-management** delete 10.0.1.50 : Delete the second interface. EXIT CODES ========== 01: Unknown or wrong parameter and only LINUX supported and script needs to be executed with ROOT privileges. 02: Unknown action. 03: No 'ifconfig' or 'ip' in PATH. 04: No suitable interface found in 'ifconfig'. 05: No IPv4 found in interface. 06: VIP already defined (add) or does not exists (delete) 99: User interrupt. SEE ALSO ======== **install-scripts**(1)