disable offloading on weave bridge
since w/o it the kernel just ignores the PMTU when the host talks to weave via 'weave expose' Fixes #52
This commit is contained in:
1 parent
b4791be4f4
commit
6eb7e1aa43
1 file changed
+2
@@ -54,6 +54,8 @@ create_bridge() {
|
||||
ip link add name v${CONTAINER_IFNAME}du mtu $MTU type dummy
|
||||
ip link set dev v${CONTAINER_IFNAME}du master $BRIDGE
|
||||
ip link del dev v${CONTAINER_IFNAME}du
|
||||
# disable offloading
|
||||
check_command_and_run ethtool ethtool -K $BRIDGE tx off >/dev/null
|
||||
}
|
||||
ip link set dev $BRIDGE up
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user