[lxc-users] Q: Connecting a container to a static IP alias?

Andrey Repin anrdaemon at yandex.ru
Wed Sep 28 21:16:29 UTC 2016


Greetings, Michael Peek!

> On 09/27/2016 12:01 PM, Andrey Repin wrote:
>> Just remove alias from host and configure the address inside a VM. 

> Thanks, that gets me one step closer.  The VM has the right address on
> the inside.  But how do I get the *.117 address on the outside?

There's no inside or outside. It either have it or not.

> I tried creating the container with several variations of:

> lxc init images:ubuntu/xenial/amd64 my-ubuntu-1 --config
> lxc.network.type=[phys|maclan] --config lxc.network.link=enp0s10:testvm1

Same mistake.

> --config lxc.network.ipv4=X.X.X.117

> Thanks for any help you can give!

macvlan and ***enp0s10*** … Which is your real physical adapter.


-- 
With best regards,
Andrey Repin
Thursday, September 29, 2016 00:15:04

Sorry for my terrible english...


More information about the lxc-users mailing list