noob question: multiple services/static ip's on one nic w/ linux?
So I have been attempting to create multiple lxd containers that willl each serve small services on my network:
yunohost, cups, pihole, whatever my heart desires...

This has been pretty easy - all of that is actually easy to get going. I just haven't been able to get them going together - on separate static ips.

The problem is that I cannot figure out how to staticly assign ips to each of the services.

What I want is for each service - inside its own lxc container - to be persistently static on my home LAN.


I have tried all the tutorials about lxc and have basically lost my mind.

I tried bridging - but I basically don't know what is going on with that

One of the most obvious solutions - which worked on Debian Jessie but I can't get to work on ubuntu is to create
fake ethernet interfaces - like eth0:0 and assign each staticly. (Unfortunately lxd hasn't worked for me on debian - so this isn't a soltion for me....)

I can't get persistent fake eth0:0 interfaces on ubuntu ... part of the problem is in xenial they somewhat changed their /etc/network/interfaces setup - now /etc/network/interfaces.d/ is where devices are configured... and I can't find good information on how to add entries - adding files in interfaces.d creates an interface - but it doesn't work for long....

Any help would be much appreciated.

Possibly Related Threads...
Thread Author Replies Views Last Post
  Howto run Linux with resolution other than 1080p longsleep 28 24,752 06-13-2019, 01:53 AM
Last Post: Nilda
  NEMS Linux for Pine A64 (+) Luke 1 530 05-09-2019, 05:42 PM
Last Post: pineadmin
  NEMS Linux 1.5 Released for A64/A64+, A64-LTS/SOPine, Rock64, RockPro64 (NAGIOS) Baldnerd 3 712 04-18-2019, 09:08 AM
Last Post: Baldnerd
  Pine Board using linux stuck during boot sequence ktaragorn 4 278 03-30-2019, 06:48 AM
Last Post: ktaragorn
  Gentoo Linux test image xalius 23 12,465 01-28-2019, 11:05 PM
Last Post: necrose99
  Real-time linux kernel Artyom 45 12,630 09-11-2018, 01:08 AM
Last Post: zzwpine
  linux distribution hazerty 3 728 04-01-2018, 02:48 PM
Last Post: dkryder
  Linux Web Server OS harcrow 2 1,028 01-30-2018, 10:26 AM
Last Post: Rustproof
  eta linux image?? firosiro 1 407 08-03-2017, 10:05 PM
Last Post: pfeerick
  Can I run Alpine Linux on Pine64? douglasmiranda 3 1,953 08-01-2017, 07:20 AM
Last Post: cztian

Forum Jump:

Users browsing this thread: 1 Guest(s)