[Lxc-users] Routing question

Barbara Nowak basiamnowak at yahoo.co.uk
Sun Jan 15 23:36:05 UTC 2012



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




More information about the lxc-users mailing list