Skip to content

Network Configuration


Show Interfaces

The appliance network interface uses DHCP by default. If DHCP is enabled in your network, you can find the IP address running from the CLI:

show interfaces

Configure Interfaces

If you don't have DHCP in your network, then you can configure the network interfaces running.

configure interfaces

Here you can see an example:

auto eth0
allow-hotplug eth1

iface eth0 inet dhcp

iface eth0 inet6 auto

iface eth1 inet static
       address 192.168.1.2/24
       gateway 192.168.1.1

iface eth1 inet6 static
      address fec0:0:0:1::2/64
      gateway fec0:0:0:1::1

Remember to use the right interface name

Before you want to configure the network interfaces, run show interfaces to know the correct name of the network interface card (NIC) of the appliance.

For more information about how to configure the network interfaces, please visit: Ubuntu's Help. After you have configure the interface, for the appliance accept the changes you have two options.

  • Reboot the appliance with appliance reboot which will reboot the appliance immediately, which is not recommended. or
  • We recommend to run appliance network restart, the difference with this is that you won't need to reboot the appliance.

DNS Configuration


In order to receive the feed and software updates the Appliance requires a DNS server. The Appliance supports several DNS servers. At least one DNS server is required. These servers can be configured using either an IPv4 or an IPv6 address. To configure the DNS servers, from the CLI, enter the command:

configure resolv.conf

After that, a new screen with nano editor will appear where you can put your DNS servers.

If you need to know how to use nano, please visit: Nano Guide

Hostname Configuration


You can change the hostname of the virtual appliance running:

configure hostname

After that, a new screen with nano editor will appear where you set the hostname servers.

Reboot the appliance

After you have saved the change, you will have to reboot the appliance running appliance reboot to see the new hostname.

Timezone Configuration


Configure the timezone running:

configure timezone

A window will show up where you can change the timezone of the virtual appliance.

Proxy Configuration


Configure the proxy running:

configure proxy

A window will show up where you can set the proxy settings in a format of environment variables.

You can define the proxy configuration with this format:

http_proxy="http://<username>:<password>@<hostname>:<port>/"
https_proxy="http://<username>:<password>@<hostname>:<port>/"
ftp_proxy="http://<username>:<password>@<hostname>:<port>/"

Reboot the appliance

After you have saved the change, you will have to reboot the appliance running appliance reboot to see the changes applied.