<p dir="ltr"><br>
Hi,</p>
<p dir="ltr">I am trying to add two physical network adapters in one container, one wired, always present, and one wireless, removable as USB dongle to some embedded device with linux.</p>
<p dir="ltr">I have done it successfully and it works when the dongle is inserted, but if containers are started with the dongle unplugged, creating network will fail because of if_nametoindex (eth1 is not present) in create_network function.</p>

<p dir="ltr">Does anyone have any idea how to configure network adapter that is not present at initial time, and to work when usb dongle is plugged in? Is it possible to link container adapter to some dummy interface and to relink it to physical adapter in runtime when it becomes available (when the dongle is inserted)?</p>

<p dir="ltr">Thanks in advance,<br>
Kind regards.</p>