Second IP on standard appliance

Hi Guys,

I am new to the nextcloud setup, we did use the owncloud appliance till now but we had a lot of issues with it.

Never mind, we are using the out of the box appliance and i want to add a second network card to it. Sorry not very common with ubuntu installations but i cannot manage to set the second network interface. The first one is used for external access with its own public ip. the second one is used to connect to internal network for external smb and ldap.

hope someone can give me a quick guide to set this up.


In Ubuntu there is a file called/etc/network/interfaces. In there you can specify the network configuration.
Below is an example of 2 interfaces (eth0 and eth1), which is a common setup. Please keep in mind there is also a local (lo) interface in there by default:

allow-hotplug eth0
iface eth0 inet static

allow-hotplug eth1
iface eth1 inet static

Keep in mind only one interface can have a (default) gateway set.

Thx! that did the trick!