[Lxc-users] Containers are all getting same IP address

Jay Taylor jay at jaytaylor.com
Fri Aug 9 19:36:49 UTC 2013


My reply is inline below.


On Fri, Aug 9, 2013 at 12:10 PM, Serge Hallyn <serge.hallyn at ubuntu.com>wrote:

> Quoting Jay Taylor (jay at jaytaylor.com):
> > lxc.network.hwaddr = 00:16:3e:07:7b:8f
>
> Can you show the result of 'grep lxc.network.hwaddr /var/lib/lxc/*/config'?
>

ubuntu at ip-10-34-249-56:~$ grep lxc.network.hwaddr /var/lib/lxc/*/config
/var/lib/lxc/analytics/config:lxc.network.hwaddr = 00:16:3e:72:a3:43
/var/lib/lxc/analytics_scheduler_v5_10001/config:lxc.network.hwaddr =
00:16:3e:92:8c:a9
/var/lib/lxc/base/config:lxc.network.hwaddr = 00:16:3e:5f:dd:91
/var/lib/lxc/base-playframework2/config:lxc.network.hwaddr =
00:16:3e:5b:64:bf
/var/lib/lxc/base-python/config:lxc.network.hwaddr = 00:16:3e:3e:59:1f
/var/lib/lxc/inbound-sms/config:lxc.network.hwaddr = 00:16:3e:ac:16:ca
/var/lib/lxc/inbound-sms_web_v5_10002/config:lxc.network.hwaddr =
00:16:3e:b0:f1:3b
/var/lib/lxc/s1/config:lxc.network.hwaddr = 00:16:3e:71:53:b4
/var/lib/lxc/s1_web_v72_10018/config:lxc.network.hwaddr = 00:16:3e:fc:c5:d9
/var/lib/lxc/s1_web_v72_10049/config:lxc.network.hwaddr = 00:16:3e:c7:6a:68
/var/lib/lxc/sendhub/config:lxc.network.hwaddr = 00:16:3e:00:ac:f5
/var/lib/lxc/sendhub_important_v7_10002/config:lxc.network.hwaddr =
00:16:3e:0b:95:26
/var/lib/lxc/sendhub_important_v7_10014/config:lxc.network.hwaddr =
00:16:3e:9a:29:71
/var/lib/lxc/sendhub_important_v7_10021/config:lxc.network.hwaddr =
00:16:3e:05:f8:9a
/var/lib/lxc/sendhub_important_v7_10056/config:lxc.network.hwaddr =
00:16:3e:ca:ec:8e
/var/lib/lxc/sendhub_important_v7_10061/config:lxc.network.hwaddr =
00:16:3e:36:5d:e6
/var/lib/lxc/sendhub_important_v7_10076/config:lxc.network.hwaddr =
00:16:3e:5d:63:ea
/var/lib/lxc/sendhub_important_v7_10091/config:lxc.network.hwaddr =
00:16:3e:6d:f5:38
/var/lib/lxc/sendhub_important_v7_10106/config:lxc.network.hwaddr =
00:16:3e:e0:2e:58
/var/lib/lxc/sendhub_important_v7_10121/config:lxc.network.hwaddr =
00:16:3e:36:24:33
/var/lib/lxc/sendhub_important_v7_10126/config:lxc.network.hwaddr =
00:16:3e:18:20:84
/var/lib/lxc/sendhub_important_v7_10131/config:lxc.network.hwaddr =
00:16:3e:05:15:f9
/var/lib/lxc/sendhub_important_v7_10156/config:lxc.network.hwaddr =
00:16:3e:e7:b3:36
/var/lib/lxc/sendhub_important_v7_10166/config:lxc.network.hwaddr =
00:16:3e:a5:a4:da
/var/lib/lxc/sendhub_important_v7_10171/config:lxc.network.hwaddr =
00:16:3e:20:02:43
/var/lib/lxc/sendhub_important_v7_10181/config:lxc.network.hwaddr =
00:16:3e:a8:f1:e3
/var/lib/lxc/sendhub_important_v7_10191/config:lxc.network.hwaddr =
00:16:3e:08:84:f8
/var/lib/lxc/sendhub_scheduler_v7_10026/config:lxc.network.hwaddr =
00:16:3e:63:44:6e
/var/lib/lxc/sendhub_scheduler_v7_10086/config:lxc.network.hwaddr =
00:16:3e:a3:f7:df
/var/lib/lxc/sendhub_scheduler_v7_10196/config:lxc.network.hwaddr =
00:16:3e:d8:4b:52
/var/lib/lxc/sendhub_web_v7_10031/config:lxc.network.hwaddr =
00:16:3e:2d:95:9f
/var/lib/lxc/sendhub_web_v7_10036/config:lxc.network.hwaddr =
00:16:3e:61:d1:d7
/var/lib/lxc/sendhub_web_v7_10066/config:lxc.network.hwaddr =
00:16:3e:17:3e:97
/var/lib/lxc/sendhub_web_v7_10071/config:lxc.network.hwaddr =
00:16:3e:9e:95:69
/var/lib/lxc/sendhub_web_v7_10081/config:lxc.network.hwaddr =
00:16:3e:c4:79:05
/var/lib/lxc/sendhub_web_v7_10096/config:lxc.network.hwaddr =
00:16:3e:9d:92:a4
/var/lib/lxc/sendhub_web_v7_10101/config:lxc.network.hwaddr =
00:16:3e:12:69:93
/var/lib/lxc/sendhub_web_v7_10111/config:lxc.network.hwaddr =
00:16:3e:d1:47:2b
/var/lib/lxc/sendhub_web_v7_10116/config:lxc.network.hwaddr =
00:16:3e:0d:8a:71
/var/lib/lxc/sendhub_web_v7_10136/config:lxc.network.hwaddr =
00:16:3e:77:8a:12
/var/lib/lxc/sendhub_web_v7_10141/config:lxc.network.hwaddr =
00:16:3e:12:c1:5c
/var/lib/lxc/sendhub_web_v7_10146/config:lxc.network.hwaddr =
00:16:3e:07:7b:8f
/var/lib/lxc/sendhub_web_v7_10151/config:lxc.network.hwaddr =
00:16:3e:4b:d3:d4
/var/lib/lxc/sendhub_web_v7_10176/config:lxc.network.hwaddr =
00:16:3e:90:e1:66
/var/lib/lxc/sendhub_web_v7_10186/config:lxc.network.hwaddr =
00:16:3e:ac:80:28
/var/lib/lxc/sendhub_worker_v7_10041/config:lxc.network.hwaddr =
00:16:3e:4a:b9:35
/var/lib/lxc/sendhub_worker_v7_10051/config:lxc.network.hwaddr =
00:16:3e:17:a7:5a
/var/lib/lxc/sendhub_worker_v7_10161/config:lxc.network.hwaddr =
00:16:3e:f9:ab:68
/var/lib/lxc/voice-api/config:lxc.network.hwaddr = 00:16:3e:2c:1f:e2
/var/lib/lxc/voice-api_web_v3_10000/config:lxc.network.hwaddr =
00:16:3e:53:dc:b7


>
> Which version of lxc are you using again?
>

ubuntu at ip-10-34-249-56:~$ lxc-version
lxc version: 0.9.0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130809/c1bfaa6a/attachment.html>


More information about the lxc-users mailing list