Setting Up a Static IP with the Virtual Appliance(OVA) ITmanager.net Enterprise Server

Home Support ITmanager.net Enterprise Server Setting Up a Static IP with the Virtual Appliance(OVA) ITmanager.net Enterprise Server
  1. Login to the VM and give it a static IP
  2. The username is “itmanager” and password is “itmanager”, the user has sudo privileges

To change to static IP instead of DHCP follow the below 5 steps:

1. If you follow the instructions in the Debian wiki to set a static IP you will break your network until you reboot. For some odd reason you have to run ifup <interfaceName> when you’re done. Here are all the steps:

 # Log in as root or su to root then
nano /etc/network/interfaces# Should look like this:source /etc/network/interfaces.d/*# The loopback network interface
auto lo
iface lo inet loopback# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

2. Now edit it so the bottom looks like this but with your network configuration:

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.202
netmask 255.255.255.0
gateway 192.0.1.1

3. Now run:

service networking restart

4. Here is the important part. If you check your ip address it will not have updated to the static one you just configured and the network will be unreachable.

ip addr
# …
inet 192.168.1.84/24 brd 192.168.1.255 global eth0
# …
ping 8.8.8.8
connect: Network is unreachable

5. One command saves the day!

ifup eth0

Now if you check your address with ip addr you will see your static IP and be able to reach the network!

Just in case her is a link to the above 5 Steps:

https://medium.com/@cpt_midnight/static-ip-in-debian-9-stretch-acb4e5cb7dc1

Still have questions?

Send us an email: support@itmanager.net