[Lxc-users] Routing question

Derek Simkowiak derek at simkowiak.net
Mon Jan 16 05:58:54 UTC 2012


 > /lxc.network.ipv4=x.x.x.x/24/

     'da hell?


On 01/15/2012 03:36 PM, Barbara Nowak wrote:
>
> Hi,
>
> I want to try configure couple VM on 2 hosts.
> I need to had access from LAN and WAN port (eth1 and eth0).
>
> My config each VM is:
>
> lxc.network.type=macvlan
> lxc.network.link=eth0
> lxc.network.flags=up
> lxc.network.ipv4=x.x.x.x/24
> lxc.network.hwaddr = d0:67:e5:e7:d8:a3
> lxc.network.name=veth0
>
> lxc.network.type=macvlan
> lxc.network.link=eth1
> lxc.network.flags=up
> lxc.network.ipv4=192.168.1.2/24
> lxc.network.hwaddr = d0:67:e5:e7:d8:a4
> lxc.network.name=veth1
>
>
> A same networks are set up on eth0 and eth1 on HOST.
> All works fine, when I try to access from/to host from the internet.
>
> But when I try to access from some VM to HOST or HOST to VM then I had "no route to host".
> A same message I had when I try access from one VM to other VM on same host.
>
> Ofcourse the MAC addresses are diffrent on each configs.
>
>
>
> Barbara
>
>
>
>
> BB
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Mar 27 - Feb 2
> Save $400 by Jan. 27
> Register now!
> http://p.sf.net/sfu/rsa-sfdev2dev2
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users

    *


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120115/8a1a5978/attachment.html>


More information about the lxc-users mailing list