Re: [lxc-users] Fun with lxc.network.type=phys

2015-01-21 Thread ScrumpyJack
On Wed, 21 Jan 2015, Fajar A. Nugraha wrote: > On Wed, Jan 21, 2015 at 7:09 PM, scrumpyjack wrote: > > > Yes, i want to give a /32 to a container. > This is on ubuntu server. The host has 100.0.0.10/24, router is on > 100.0.0.1, the container is on 100.0.0.11 (fake IPs, of c

Re: [lxc-users] Fun with lxc.network.type=phys

2015-01-21 Thread scrumpyjack
On Wed, 21 Jan 2015, Fajar A. Nugraha wrote: > > It is, to be frank. lxc already supports macvlan, so there's no need to > create it manually and use phys. I have been reading more in macvlan support and it is now clearer. > If it's "I want to to have /32 in the container", then there are other

Re: [lxc-users] Fun with lxc.network.type=phys

2015-01-21 Thread ScrumpyJack
On Mon, 19 Jan 2015, ScrumpyJack wrote: > I'd like to connect a physical interface from a host to a LXC container > guest like so: > > lxc.network.type=phys > > And then assign a routable IP/32 address to the LXC container for it to > "just work". >

[lxc-users] Fun with lxc.network.type=phys

2015-01-19 Thread ScrumpyJack
I'd like to connect a physical interface from a host to a LXC container guest like so: lxc.network.type=phys And then assign a routable IP/32 address to the LXC container for it to "just work". The problem is that I don't have a spare "real" physical interface, so on the host i create a "vir