Hi,

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.

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.

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)?

Thanks in advance,
Kind regards.
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to