Ver Fonte

Merge pull request #1231 from mrjana/overlay

Allow maximum possible VNI
Alessandro Boch há 9 anos atrás
pai
commit
faf290f69e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      libnetwork/drivers/overlay/overlay.go

+ 1 - 1
libnetwork/drivers/overlay/overlay.go

@@ -22,7 +22,7 @@ const (
 	vethPrefix   = "veth"
 	vethLen      = 7
 	vxlanIDStart = 256
-	vxlanIDEnd   = 1000
+	vxlanIDEnd   = (1 << 24) - 1
 	vxlanPort    = 4789
 	vxlanVethMTU = 1450
 )