<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 21, 2015 at 3:31 PM, ScrumpyJack <span dir="ltr"><<a href="mailto:scrumpyjack@me.com" target="_blank">scrumpyjack@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Mon, 19 Jan 2015, ScrumpyJack wrote:<br>
<br>
> I'd like to connect a physical interface from a host to a LXC container<br>
> guest like so:<br>
><br>
> lxc.network.type=phys<br>
><br>
> And then assign a routable IP/32 address to the LXC container for it to<br>
> "just work".<br>
><br>
> The problem is that I don't have a spare "real" physical interface, so on<br>
> the host i create a "virtual" interface<br>
><br>
> ip link add link eth0 mac0 type macvlan<br>
</div></div></blockquote><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi again. I'm wondering if my setup is so silly that all as ignoring it :)<br></blockquote><div><br></div><div><br></div><div>It is, to be frank. lxc already supports macvlan, so there's no need to create it manually and use phys.</div><div><br></div><div>What is it that you're trying to achieve? If it's "just because I want to", then good luck.</div><div><br></div><div>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.</div><div><br></div><div>-- </div><div>Fajar</div></div></div></div>