[Lxc-users] LXC on ESXi (help)

David Touzeau david at touzeau.eu
Tue May 17 15:18:30 UTC 2011


Dear

According last discuss i have tried to change MAC address up to:
00:50:56:XX:YY:ZZ
Thread was here : 
http://sourceforge.net/mailarchive/message.php?msg_id=27400968

Using container veth+bridge

the host is a Virtual Machine stored on ESXi 4.0

The container can ping the host, the host can ping the container.
Issue is others computers network. cannot ping the container and the
container cannot ping the network.

Is there anybody encounter this issue


here it is the ifconfig of the host:

br5       Link encap:Ethernet  HWaddr 00:0C:29:AD:40:A7  
          inet adr:192.168.1.64  Bcast:192.168.1.255
Masque:255.255.255.0
          adr inet6: fe80::20c:29ff:fead:40a7/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:607044 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12087 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:54131332 (51.6 MiB)  TX bytes:6350221 (6.0 MiB)

eth1      Link encap:Ethernet  HWaddr 00:0C:29:AD:40:A7  
          adr inet6: fe80::20c:29ff:fead:40a7/64 Scope:Lien
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:611474 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13813 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          RX bytes:63127550 (60.2 MiB)  TX bytes:6638350 (6.3 MiB)
          Interruption:18 Adresse de base:0x2000 

vethZS6zKh Link encap:Ethernet  HWaddr 5E:AE:96:7C:4B:D7  
          adr inet6: fe80::5cae:96ff:fe7c:4bd7/64 Scope:Lien
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:56 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3875 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          RX bytes:3756 (3.6 KiB)  TX bytes:437097 (426.8 KiB)




container settings: 

lxc.tty = 4
lxc.pts = 1024
lxc.network.type = veth
lxc.network.link = br5
lxc.network.ipv4 = 192.168.1.72
lxc.network.hwaddr = 00:50:56:a5:af:30
lxc.network.name = eth0
lxc.network.flags = up
lxc.cgroup.memory.limit_in_bytes = 128M
lxc.cgroup.memory.memsw.limit_in_bytes = 512M
lxc.cgroup.cpu.shares = 1024
lxc.cgroup.cpuset.cpus = 0














More information about the lxc-users mailing list