1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/libnetwork/drivers
Arko Dasgupta 8c8a25d524 Support for com.docker.network.host_ipv4 driver label
This commit allows a user to specify a Host IP via the
com.docker.network.host_ipv4 label which is used as the
Source IP during SNAT for bridge networks .

The use case is for hosts with multiple interfaces and
this label can dictate which IP will be used as Source IP
for North-South traffic

In the absence of this label, MASQUERADE is used which picks the Source IP
based on Next Hop from the Route Table

Addresses: https://github.com/moby/moby/issues/30053

Signed-off-by: Arko Dasgupta <arko.dasgupta@docker.com>
2019-09-24 22:15:43 -07:00
..
bridge Support for com.docker.network.host_ipv4 driver label 2019-09-24 22:15:43 -07:00
host Add ConnectivityScope capability for network drivers along with scope network option 2017-05-12 17:16:34 -07:00
ipvlan Merge pull request #2415 from arkodg/ipvlan-docker-restart-issue 2019-07-26 13:04:34 -04:00
macvlan Merge pull request #2415 from arkodg/ipvlan-docker-restart-issue 2019-07-26 13:04:34 -04:00
null swarm mode network inspect should provide cluser-wide task details 2017-03-10 19:12:00 -08:00
overlay vet: Fix composite literal uses unkeyed fields warnings 2019-06-26 16:50:56 +01:00
remote Spelling fixes 2018-07-12 12:54:44 -07:00
windows Updating IPAM config with results from HNS create network call. 2019-08-23 09:58:29 -07:00