Re: [Lxc-users] local routing

2011-05-10 Thread C Anthony Risinger
On May 9, 2011 5:25 PM, "Ulli Horlacher" wrote: > > On Mon 2011-05-09 (22:52), Daniel Lezcano wrote: > > On 05/09/2011 03:10 PM, Ulli Horlacher wrote: > > > > > > > > I have a lxc host (zoo 129.69.1.68) with a container (vmtest8 129.69.8.6). > > > > > > I want all host/container communication to b

Re: [Lxc-users] Making LXC accept an already open network interface—or other options

2011-05-10 Thread David Serrano
On Tue, May 10, 2011 at 16:36, Serge Hallyn wrote: > > 1. tell it to give you a normal network interface > > lxc.network.type=veth > lxc.network.link=br0 > lxc.network.flags=down > > 2. bring up the container > 3. bring down the normal interface > 4. Continue here with passing veth1 into the co

Re: [Lxc-users] Making LXC accept an already open network interface—or other options

2011-05-10 Thread Serge Hallyn
Quoting David Serrano (dserra...@gmail.com): > On Mon, May 9, 2011 at 14:52, Serge Hallyn wrote: > > > > Thanks for your response. Before scripting it, let's try manually first: > > > > devs=`ls /sys/class/net/veth*` > > ip link add type veth > > newdevs=`ls /sys/class/net/veth*` > > # Get the

Re: [Lxc-users] Making LXC accept an already open network interface—or other options

2011-05-10 Thread David Serrano
On Mon, May 9, 2011 at 14:52, Serge Hallyn wrote: > Thanks for your response. Before scripting it, let's try manually first: > devs=`ls /sys/class/net/veth*` > ip link add type veth > newdevs=`ls /sys/class/net/veth*` > # Get the intersection of $devs and $newdevs I assume you mean "difference