It is a common practice to trust the DHCP server to keep track of free IPs in a large network, like /21, and once the DHCP assigns an IP address, we adopt it as static and flag it a such in the router. Otherwise, you need to scan the whole network every time.
On Wed, Mar 25, 2020 at 3:20 PM Andrey Repin <anrdae...@yandex.ru> wrote: > Greetings, Saint Michael! > > > I use L2. Can somebody clarify what advantage/disadvantage is there for > L2,L3,L3S? > > I need also to be able to use DHCP inside the container. In a first boot > I > > get an IP from DHCP, and set the interface down and turn that IP into > static. > > This seems to be overengineered. > Why do you need DHCP, if you are going to use static IP anyway? > Can't you do it differently? > > > -- > With best regards, > Andrey Repin > Wednesday, March 25, 2020 22:09:45 > > Sorry for my terrible english... > > _______________________________________________ > lxc-users mailing list > lxc-users@lists.linuxcontainers.org > http://lists.linuxcontainers.org/listinfo/lxc-users >
_______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users