
So you’re in a situation where you need to update the Omnissa UAG IP Configuration via Shell or Console.
Your Omnissa UAG (Unified Access Gateway) network configuration usually takes place on deployment, or can be modified via the Web Admin interface running on port 9443.
In some scenarios you may lose access, or have to change the networking configuration when you don’t have access to the web administration GUI. This could be because of firewall rules, network changes, or troubleshooting.
PLEASE NOTE: Normally it is considered best practice to deploy new UAGs if an IP change is required. UAG deployment should be automated (using the powershell scripts from Omnissa). This post is for informational purposes only for special situations, troubleshooting, or in scenarios where deploying a new UAG, isn’t possible.
Updating your UAG IP Network Configuration
If you need to update or change your network configuration on your UAG, via console or SSH, you can run the following command:
/opt/omnissa/root/scripts/scripts/configureNetwork.sh
After executing this command, you’ll be presented with these options:
You can note numerous options for network configuration of the UAG appliance.
You can then select option “1” to view your configuration, or option “6” to configure your IP, subnet, gateway, etc.
I have used this shell script to change network settings on a new UAG i was building (manually, i know). And i struggled with it and even had to ask support for help as it requires a very specific names at some steps and there is not hints or help provided. Even searching internet was not providing anything helpful.
Specifically, when setting up eth0 when it asks for a type of IP and you need IPV4, you must specify it exactly “STATICV4” (upper case also). Maybe it is a given for those working with VMware that this is how they describe IPV4, but a hint in the script with all the options would be very helpful. Next, when asked for IP, mask and gateway, must provide them separated by comma and a space (easy to not notice there is a space in the hint).