Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

troubleshooting.md: add ethtool -K flannel.1 tx-checksum-ip-generic off for NAT #1929

Merged
merged 1 commit into from
Apr 24, 2024

Commits on Apr 23, 2024

  1. troubleshooting.md: add `ethtool -K flannel.1 tx-checksum-ip-generic …

    …off` for NAT
    
    When the public IP is behind NAT, the UDP checksum fields of the VXLAN packets can be corrupted.
    In that case, try running the following commands to avoid corrupted checksums:
    
    ```bash
    /usr/sbin/ethtool -K flannel.1 tx-checksum-ip-generic off
    ```
    
    To automate the command above via udev, create `/etc/udev/rules.d/90-flannel.rules` as follows:
    
    ```
    SUBSYSTEM=="net", ACTION=="add|change|move", ENV{INTERFACE}=="flannel.1", RUN+="/usr/sbin/ethtool -K flannel.1 tx-checksum-ip-generic off"
    ```
    
    ref:
    - flannel-io/flannel issue 1279
    - kubernetes/kops PR 9074
    - karmab/kcli@b1a8eff
    
    Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
    AkihiroSuda committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    5295a0f View commit details
    Browse the repository at this point in the history