Quoting Ajith Adapa (ajith.ad...@gmail.com): > Hi, > > Is it possible bind a physical NIC to a running container without stopping > it ? > > Currently based on the configuration in config file interfaces are created > inside a container
Technically no they are created on the host and passed into the container. > and linked to a physical nic in host machine. Let us say > my host machine has physical nics eth0 and eth1. When I started the > container it has configuration only for linking up with eth0 via bridge > mode. Now I want to bind the eth1(host machine) interface to the same > running container. Is it possible ? Yes. The simpler way is to use lxc-device to pass it in, using lxc-device -n container add eth1 eth1 Or you can always using 'ip'. Use lxc-info to get the init pid of the container, then do ip link set eth0 netns <initpid> ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users