Challenge
If DHCP is not available or if you want to assign a static IP address to the on premises VeeamPN appliance.Cause
If DHCP is not available you will need to manually assign a IP Address. Setting this with ifconfig will lose its configuration on reboot of the applianceSolution
First, you will need to edit the “interfaces” fileLog on to the network hub appliance using the root (the default password is “VeeamPN”, but you may have changed this)
#vi /etc/network/interfaces
Add the following to the configuration file:
auto ens160 iface ens160 inet static address xxx.xxx.xxx.xxx netmask xxx.xxx.xxx.xxx gateway xxx.xxx.xxx.xxx dns-nameservers xxx.xxx.xxx.xxx dns-nameservers xxx.xxx.xxx.xxx
Replcaing “xxx.xxx.xxx.xxx” with the ip addresses. If the section for “auto ens160” already, clear that and replace it with the format above.
Hit “esc” then “:wq” to save the file.
Then edit the resolve.conf file:
#vi /etc/resolv.conf
And add your dns servers:
nameserver xxx.xxx.xxx.xxx # Replace with your nameserver ip nameserver xxx.xxx.xxx.xxx # Replace with your nameserver ip
Hit “esc” then “:wq” to save the file.
Restart the networking on your system with:
# systemctl restart networking
Now the IP address should remain through rebooting the appliance.