[lxc-devel] [PATCH] Set high byte of mac addresses for host veth devices to 0xfe

Christian Seiler christian at iwakd.de
Wed Nov 16 16:49:50 UTC 2011


Hi,

I've run into the same problem as was discussed in BUG #3411497 [1] and on
the users mailing list [2]. To solve this, I've decided to implement the
patch that was proposed on the mailing list [3].

The attached patch is against current trunk. Since trunk currently doesn't
compile for me, I tested the patch against the current Debian package for
LXC version 0.7.2. There, it still applies and works as expected for me,
the bridge interface still keeps its mac address and the high byte of the
mac address of the host veth interface is correctly set to 0xfe.

It would be great if this patch or a slightly modified version could be
applied to LXC.

Thanks,

Christian

[1]
http://sourceforge.net/tracker/index.php?func=detail&aid=3411497&group_id=163076&atid=826303
[2] http://thread.gmane.org/gmane.linux.kernel.containers.lxc.general/2709
[3]
http://article.gmane.org/gmane.linux.kernel.containers.lxc.general/2796
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Set-high-byte-of-mac-addresses-for-host-veth-devices.patch
Type: text/x-diff
Size: 2688 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20111116/c9e50834/attachment.patch>


More information about the lxc-devel mailing list