Skip to content

Commit

Permalink
fix: wrong mtu
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Jun 6, 2019
1 parent db1da87 commit a27f833
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/util/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ const (
GWNat = "ovn.kubernetes.io/gateway_nat"

// Refer to http://www.openvswitch.org/support/dist-docs/ovn-architecture.7.html "Tunnel Encapsulations"
GeneveHeaderLength = 55
// outer IP header + outer UDP header + Geneve header + OVN header + inner eth header
GeneveHeaderLength = 20 + 8 + 8 + 8 + 14
)

0 comments on commit a27f833

Please sign in to comment.