[Lxc-users] how to use routing with LXC?

2011-01-07 Thread Mike
The instructions that I've seen for LXC suggest creating a bridge in the host, placing its name in lxc.network.link. On a diskless system I have eth0 eth1, and create the bridge on eth1. I can't put eth0 in a bridge, because it's the port for the NFS root. But when I want traffic to go from

Re: [Lxc-users] how to use routing with LXC?

2011-01-11 Thread Mike
Nirmal Guhan wrote: Did you try macvlan instead of veth? No, it looked bleeding edge, and it didn't occur to me how I could use it. How would one? What is it? -- Protect Your Site and Customers from Malware Attacks

Re: [Lxc-users] appropriate architecture for two sets of containers on one host

2013-03-13 Thread Mike
Guido, thanks for the reply. Guido Jäkel wrote: if your separate networks are already organized with VLANs externally, then you might use it (like me) in the following way: -{vlan-trunk}--[eth0]--+--[vlaNNN]--{vlanNNN}--[brNNN]--+--[veth.c1|eth0] |

Re: [Lxc-users] appropriate architecture for two sets of containers on one host

2013-03-14 Thread Mike
iface eth1.17 inet static address 0.0.0.0 netmask 0.0.0.0 auto br1.17 iface br1.17 inet manual bridge_ports eth1.17 Doing that (on br1.18), the second gateway goes away: - host$ ip route show 192.168.17.0/24 dev br1.17

Re: [Lxc-users] garbled /var/log/kern.log

2013-03-19 Thread Mike
Dan Kegel wrote: /var/log/kern.log was amusingly garbled: Might see if this helps: http://sourceforge.net/mailarchive/message.php?msg_id=26877606 -- Everyone hates slow websites. So do we. Make your web apps faster

Re: [Lxc-users] Container remounts ro an host's mount

2010-12-03 Thread Mike Fedyk
On Sun, Nov 28, 2010 at 10:29 PM, Trent W. Buck t...@cybersource.com.au wrote: Alessandro Guido a...@alessandroguido.name writes: Whenever I shutdown a container /var/lib/lxc get remounted ro. This is because the reboot/halt jobs in /etc/rc[06].d/ try to mount the root filesystem read-only

[Lxc-users] lxc-execute: Input/output error - failed to read

2011-01-06 Thread Mike Ivanov
: Input/output error - failed to read So my question is what I'm doing wrong? If that's not me, is it something fixed in 0.7.3? Thanks, Mike -- Gaining the trust of online customers is vital for the success of any

Re: [Lxc-users] lxc-execute: Input/output error - failed to read

2011-01-06 Thread Mike Ivanov
On 11-01-06 6:02 PM, Mike Ivanov wrote: # lxc-execute -n xxx -f config /bin/bash r...@xxx:/# lxc-execute: Input/output error - failed to read BTW, exactly the same happens to containers created with the lxc-sshd template. Mike