On Wed, Jan 21, 2015 at 3:31 PM, ScrumpyJack <scrumpyj...@me.com> wrote:

> 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".
> >
> > The problem is that I don't have a spare "real" physical interface, so on
> > the host i create a "virtual" interface
> >
> >  ip link add link eth0 mac0 type macvlan
>




> hi again. I'm wondering if my setup is so silly that all as ignoring it :)
>


It is, to be frank. lxc already supports macvlan, so there's no need to
create it manually and use phys.

What is it that you're trying to achieve? If it's "just because I want to",
then good luck.

If it's "I want to to have /32 in the container", then there are other ways
to do that. I deploy just that with veth and bridge.

-- 
Fajar
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to