On Sun, Dec 22, 2019 at 1:09 AM John Lane wrote:
>
> On 21/12/2019 16:51, John Lane wrote:
>
> >
> > I can't do this:
> >
> > $ lxc config device set mycontainer eth0 ipv4.address 192.168.21.2/24
> >Error: Invalid devices:
> > Invalid value for
On 21/12/2019 16:51, John Lane wrote:
>
> I can't do this:
>
> $ lxc config device set mycontainer eth0 ipv4.address 192.168.21.2/24
>Error: Invalid devices:
> Invalid value for device option ipv4.address: Not an IPv4 address:
> 192.168.21.2/24
>
Greetings, John Lane!
> Looking at nictype=bridged, I can set up DHCP addresses, thanks, but am
> having difficulty with static configuration.
> Looking at that document there seems to be no equivalent of the
> following lxc configuration:
> lxc.net.0.ipv4.address = 192.168.21.2/24
>
On 20/12/2019 14:10, Fajar A. Nugraha wrote:
>
> https://linuxcontainers.org/lxd/docs/master/containers#type-nic
>
> So something like this for veth on a bridge (on "lxc config edit
> CONTAINER_NAME", in case you haven't figure it out):
>
> devices:
> eth0:
> name: eth0
> host_name:
On 20/12/2019 14:10, Fajar A. Nugraha wrote:
>
> You're looking in the wrong section
>
> https://linuxcontainers.org/lxd/docs/master/containers#type-nic
>
Thank you, don't know how I missed that :)
I have the first one working nicely with 3 interfaces, deployed using
terraform-provider-lxd.
On Fri, Dec 20, 2019 at 7:08 PM John Lane wrote:
> I'm struggling to find documentation explaining how to configure the
> "phys" network type I use to assign a physical interface to a container
> and the "veth" network type that I use to join a container to an
> existing bridge.
> I've looked at
Very important question.
On Fri, Dec 20, 2019 at 7:08 AM John Lane wrote:
> Hello,
>
> I have some lxc containers that I want to migrate to lxd. I'm using
> lxc/lxd v3 (3.1.8).
>
> I'm struggling to find documentation explaining how to configure the
> "phys" network type I use to assign a
Hello,
I have some lxc containers that I want to migrate to lxd. I'm using
lxc/lxd v3 (3.1.8).
I'm struggling to find documentation explaining how to configure the
"phys" network type I use to assign a physical interface to a container
and the "veth" network type that I use to join a container