diff options
author | Robert Göhler <github@ghlr.de> | 2022-01-17 12:47:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 12:47:31 +0100 |
commit | 09f087740844b447085be46a37728c896e6c1544 (patch) | |
tree | ca6d3a19ae67b2b0e20425f472c21e546a3d5cfe /docs/_include/interface-ip.txt | |
parent | 7ee5c8a55b56706a42a48ec00681c7992f7f1491 (diff) | |
parent | 83f983ceef5ff683ac25855d6dfae96a6af1d05d (diff) | |
download | vyos-documentation-09f087740844b447085be46a37728c896e6c1544.tar.gz vyos-documentation-09f087740844b447085be46a37728c896e6c1544.zip |
Merge pull request #697 from mrbuk/master
Fix description of 'adjust-mss' option
Diffstat (limited to 'docs/_include/interface-ip.txt')
-rw-r--r-- | docs/_include/interface-ip.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/_include/interface-ip.txt b/docs/_include/interface-ip.txt index abbed529..75441040 100644 --- a/docs/_include/interface-ip.txt +++ b/docs/_include/interface-ip.txt @@ -1,4 +1,21 @@ .. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }} + {{ var5 }} {{ var6 }} ip adjust-mss <mss | clamp-mss-to-pmtu> + + As Internet wide PMTU discovery rarely works, we sometimes need to clamp our + TCP MSS value to a specific value. This is a field in the TCP options part of + a SYN packet. By setting the MSS value, you are telling the remote side + unequivocally 'do not try to send me packets bigger than this value'. + + .. note:: This command was introduced in VyOS 1.4 - it was previously called: + ``set firewall options interface <name> adjust-mss <value>`` + + .. hint:: MSS value = MTU - 20 (IP header) - 20 (TCP header), resulting in + 1452 bytes on a 1492 byte MTU. + + Instead of a numerical MSS value `clamp-mss-to-pmtu` can be used to + automatically set the proper value. + +.. cfgcmd:: set interfaces {{ var0 }} <interface> {{ var2 }} {{ var3 }} {{ var5 }} {{ var6 }} ip arp-cache-timeout Once a neighbor has been found, the entry is considered to be valid for at |