-
- Novice
- Posts: 9
- Liked: never
- Joined: Jul 22, 2018 1:50 pm
- Full Name: syed
- Contact:
How to assign Static IP address to veeam PN appliance
I have recently deployed Veeam PN ova into our Network. However, it shows no IP address taken as I have no dhcp enabled. I need to assign a static IP to the appliance. Kindly guide me how to do it using the terminal console.
-
- Product Manager
- Posts: 20004
- Liked: 2186 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: How to assign Static IP address to veeam PN appliance
It requires DHCP presence for initial configuration. Once the initial setup is over (connection is established), you can change IP address to static one. Thanks.
-
- Influencer
- Posts: 16
- Liked: 2 times
- Joined: Oct 11, 2012 8:42 am
- Full Name: Jack
- Contact:
Re: How to assign Static IP address to veeam PN appliance
Forgive my ignorance, but how do I assign a static IP? I cannot find a section in the UI for this?
-
- Veeam Software
- Posts: 71
- Liked: 15 times
- Joined: Jan 01, 2006 1:01 am
- Contact:
Re: How to assign Static IP address to veeam PN appliance
Using WebUI please navigate to Settings -> System -> IP Settings.
If your network doesn't have DHCP please deploy it to one which has DHCP enabled, change the IP settings as described above and then you can re-join your VM to the original network.
In next version we will add configuration of static IP.
If your network doesn't have DHCP please deploy it to one which has DHCP enabled, change the IP settings as described above and then you can re-join your VM to the original network.
In next version we will add configuration of static IP.
-
- Novice
- Posts: 9
- Liked: never
- Joined: Jul 22, 2018 1:50 pm
- Full Name: syed
- Contact:
Re: How to assign Static IP address to veeam PN appliance
There is no such setting as IP Settings under your " Settings -> System ->" showing in WebUI. When I check commandline, ifconfig it shows "ens160" and not the eth0 . Will highly appreciate if you can provide step by step procedure how to assign a static IP in this case.
-
- Novice
- Posts: 9
- Liked: never
- Joined: Jul 22, 2018 1:50 pm
- Full Name: syed
- Contact:
Re: How to assign Static IP address to veeam PN appliance
any idea why this settings shows missing !!!
-
- Product Manager
- Posts: 20004
- Liked: 2186 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: How to assign Static IP address to veeam PN appliance
The screenshots from WebUI would be helpful. Thanks.
-
- Novice
- Posts: 9
- Liked: never
- Joined: Jul 22, 2018 1:50 pm
- Full Name: syed
- Contact:
Re: How to assign Static IP address to veeam PN appliance
http://alfilrpub1.almabani.com.sa/ssf/s ... 0webui.JPGv.Eremin wrote:The screenshots from WebUI would be helpful. Thanks.
please find screenshot for the same
-
- Novice
- Posts: 9
- Liked: never
- Joined: Jul 22, 2018 1:50 pm
- Full Name: syed
- Contact:
Re: How to assign Static IP address to veeam PN appliance
Found this article...but not so helpful.. https://help.ubuntu.com/16.04/servergui ... ation.html
I do not see any eth0 but ens160 !!
I do not see any eth0 but ens160 !!
-
- Veeam Software
- Posts: 71
- Liked: 15 times
- Joined: Jan 01, 2006 1:01 am
- Contact:
Re: How to assign Static IP address to veeam PN appliance
Sorry it turns out the static IP setting screen was cut off from central HUB appliance. It exists only for appliance is running in "Site Gateway" mode
So to switch to static IP address please login to the appliance by SSH and follow the following procedure:
the following commands should be run with root privileges, to switch to one you can run: sudo su -
1) to find out the name of the adapter you can use the following command: /sbin/ip -o l | grep -E \"UP.*link/ether\" | grep -vE \"NO-CARRIER\" | awk -F \": \" '{print $2}'
2) please save current DHCP config to some folder e.g.: cp /etc/network/interfaces.d/primary.conf /root
3) copy template config file to a temporary location: cp /etc/veeampn/config_templates/net_int_static.template /root
4) edit template file: nano /root/net_int_static.template
6) (note: after the following command old IP address will stop responding) to switch to the static address please run (replace %ADAPTER_NAME% with adapter name from step 1): ip a flush %ADAPTER_NAME% && ifdown -a && ifup -a
7) if your SSH session hungs - please press <enter>~. to quit from the host
Thank you,
Alexey
So to switch to static IP address please login to the appliance by SSH and follow the following procedure:
the following commands should be run with root privileges, to switch to one you can run: sudo su -
1) to find out the name of the adapter you can use the following command: /sbin/ip -o l | grep -E \"UP.*link/ether\" | grep -vE \"NO-CARRIER\" | awk -F \": \" '{print $2}'
2) please save current DHCP config to some folder e.g.: cp /etc/network/interfaces.d/primary.conf /root
3) copy template config file to a temporary location: cp /etc/veeampn/config_templates/net_int_static.template /root
4) edit template file: nano /root/net_int_static.template
- replace %ADAPTER_NAME% with adapter name discovered in step 1
%IP_ADDRESS% - desired IP address
%IP_MASK% - desired IP mask in x.x.x.x format
%GATEWAY_IP% - correct gateway IP address
%DNS_IP% - IP address of DNS server in local network
6) (note: after the following command old IP address will stop responding) to switch to the static address please run (replace %ADAPTER_NAME% with adapter name from step 1): ip a flush %ADAPTER_NAME% && ifdown -a && ifup -a
7) if your SSH session hungs - please press <enter>~. to quit from the host
Thank you,
Alexey
-
- Novice
- Posts: 9
- Liked: never
- Joined: Jul 22, 2018 1:50 pm
- Full Name: syed
- Contact:
Re: How to assign Static IP address to veeam PN appliance
Thanks for the reponse but when I try point number one , it shows unterminated string . Please find attached screenshot
http://alfilrpub1.almabani.com.sa/ssf/s ... nk/ssh.jpg
http://alfilrpub1.almabani.com.sa/ssf/s ... nk/ssh.jpg
-
- Veeam Software
- Posts: 71
- Liked: 15 times
- Joined: Jan 01, 2006 1:01 am
- Contact:
Re: How to assign Static IP address to veeam PN appliance
Sorry - the step 1 was copied with an error in the format
Here is the correct one: /sbin/ip -o l | grep -E "UP.*link/ether" | grep -vE "NO-CARRIER" | awk -F ": " '{print $2}'
Here is the correct one: /sbin/ip -o l | grep -E "UP.*link/ether" | grep -vE "NO-CARRIER" | awk -F ": " '{print $2}'
-
- Enthusiast
- Posts: 38
- Liked: 17 times
- Joined: Mar 21, 2017 11:25 pm
- Full Name: Jon Rhoades
- Contact:
Re: How to assign Static IP address to veeam PN appliance
The KB for setting static IP addresses is pretty out of date - https://www.veeam.com/kb2708 - since the OVA provided is Ubuntu 18.04 and it now uses netplan, also the provided OVA doesn't have vi or nano installed!
I changed the IP by doing:
- Enabling SSH (On the Web Settings->System->SSH start)
- SSH root@veeam-pn IP address
- apt update; apt install vim -y
- vim /etc/netplan/01-netcfg.yaml
- Set DHCP to No and add:[/list]
- netplan apply
I changed the IP by doing:
- Enabling SSH (On the Web Settings->System->SSH start)
- SSH root@veeam-pn IP address
- apt update; apt install vim -y
- vim /etc/netplan/01-netcfg.yaml
- Set DHCP to No and add:[/list]
Code: Select all
ens160:
dhcp4: no
addresses: [xxx.xxx.xxx.xxx/26]
gateway4: xxx.xxx.xxx.xxx
nameservers:
addresses: [8.8.8.8,1.1.1.1]
-
- Enthusiast
- Posts: 95
- Liked: 5 times
- Joined: Sep 05, 2016 5:08 am
- Full Name: Nathan Oldfield
- Contact:
Re: How to assign Static IP address to veeam PN appliance
Thanks JonJR, exactly what I was looking for 

Who is online
Users browsing this forum: No registered users and 2 guests