jacobs
By:
jacobs

Problems creating a new virtual network. ie. eth0:1

November 5, 2015 480 views
Networking DigitalOcean Ubuntu

Hi,

I need a local non routable ip in the droplet because of a port conflict.
I have tried to add a new ip-address to the local interface eth0 as a static ip
auto eth0:1
iface eth0:1 inet static
address 192.168.0.1
gateway 192.168.0.254
netmask 255.255.255.0
This works when the droplet eventually starts-up but every any reboot takes forever.
Why is this?? The problem lies in pre-boot...

Thanks
Jacobs

Be the first one to answer this question.