How to Set Static IP Address in VA

The virtual machine has a DHCP configured IP address preinstalled. If you wish to change it to static IP follow these steps.

Ubuntu 16.04 LTS - Admin UI

In Web Safety 5.0+ you can configure network settings from Admin UI as indicated on the following screenshots.

../../_images/step1_static_ip113.png ../../_images/step1_static_ip213.png

After you click Save Settings, Admin UI will automatically generate the /etc/network/interfaces file.

Ubuntu 16.04 LTS - Console

If is also possible to manually set the static IP from root console. Open /etc/network/interfaces file and set the static IP, default gateway, network mask and DNS servers as indicated on the screenshot. Reboot your virtual appliance afterwards.

../../_images/ubuntu_static_ip9.png

CentOS 7

Run ip addr to find out the name of your network card. For example in the following screenshot the name is ens160.

../../_images/centos_nic_name9.png

Then run nmtui edit ens160 and fill in the desired IP address. Reboot your virtual appliance afterwards.

../../_images/centos_static_ip9.png