Configure the VeeamPN appliance with a static IP address

KB ID: 2708
Product: Veeam PN for Microsoft Azure
Version: 1.0.0.380
Published:
Last Modified: 2018-08-20

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 appliance

Solution

First, you will need to edit the “interfaces” file

Log 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.  
 

Rate the quality of this KB article: 
5 out of 5 based on 1 ratings

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.

Request new content