[systemd-devel] systemd-nspawn network-interface doesn't return interface on container reboot

2017-07-17 Thread Dmitry Kulida
Hi Everyone. I have below trouble. I start my container with --network-interface option as below: ExecStart=/usr/bin/systemd-nspawn -M %i.%H --quiet --keep-unit --boot --link-journal=auto --network-veth *--network-interface=dummy6* --capability=CAP_NET_RAW --directory=/var/lib/container/%i Every

Re: [systemd-devel] systemd-nspawn network-interface

2017-04-18 Thread poma
On 17.04.2017 11:59, Lennart Poettering wrote: > On Thu, 13.04.17 16:08, poma ([email protected]) wrote: > >> Hello >> >> Regaining of the network-interface, as is stated in the manual, ain't >> happening; >> man 1 systemd-nspawn >> ... >> OPTIONS >> ... >> --network-interface= >> Assi

Re: [systemd-devel] systemd-nspawn network-interface

2017-04-17 Thread Lennart Poettering
On Thu, 13.04.17 16:08, poma ([email protected]) wrote: > Hello > > Regaining of the network-interface, as is stated in the manual, ain't > happening; > man 1 systemd-nspawn > ... > OPTIONS > ... > --network-interface= > Assign the specified network interface to the container. > Thi

[systemd-devel] systemd-nspawn network-interface

2017-04-13 Thread poma
Hello Regaining of the network-interface, as is stated in the manual, ain't happening; man 1 systemd-nspawn ... OPTIONS ... --network-interface= Assign the specified network interface to the container. This will remove the specified interface from the calling namespace and place it in the co

Re: [systemd-devel] systemd-nspawn network interface name collisions

2015-06-18 Thread Lennart Poettering
On Thu, 18.06.15 18:27, Florian Koch ([email protected]) wrote: > Hi, > > if i understnd this correct, the network interface names (veth and > macvlan) are created with the frist 11 Caracters from the > Containername (Machinename). IFNAMSIZ emposed by the Linux kernel is 16, and we need

[systemd-devel] systemd-nspawn network interface name collisions

2015-06-18 Thread Florian Koch
Hi, if i understnd this correct, the network interface names (veth and macvlan) are created with the frist 11 Caracters from the Containername (Machinename). Now if you use similar names for conatiners, like com.$company.$devision.$name1 com.$company.$devision.$name2 com.$company.$devision.$name