1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/execdriver/native
Andrea Luzzardi 88e21c6a75 Support for consistent MAC address.
Right now, MAC addresses are randomly generated by the kernel when
creating the veth interfaces.

This causes different issues related to ARP, such as #4581, #5737 and #8269.

This change adds support for consistent MAC addresses, guaranteeing that
an IP address will always end up with the same MAC address, no matter
what.

Since IP addresses are already guaranteed to be unique by the
IPAllocator, MAC addresses will inherit this property as well for free.

Consistent mac addresses is also a requirement for stable networking (#8297)
since re-using the same IP address on a different MAC address triggers the ARP
issue.

Finally, this change makes the MAC address accessible through docker
inspect, which fixes #4033.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2014-10-03 13:22:38 -07:00
..
template Add AUDIT_WRITE cap 2014-07-23 09:57:41 +04:00
create.go Support for consistent MAC address. 2014-10-03 13:22:38 -07:00
driver.go Update native driver to set RootFs 2014-09-29 21:35:25 +00:00
driver_unsupported.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
driver_unsupported_nocgo.go update go import path and libcontainer 2014-07-24 22:19:50 +00:00
exec.go Address review comments. 2014-09-15 17:00:00 +00:00
info.go Fix cross compile non cgo and linux systems 2014-07-16 16:57:49 -07:00
init.go Fix go vet warnings 2014-08-13 11:37:30 +04:00
utils.go Address review comments. 2014-09-15 17:00:00 +00:00