Red Hat Bugzilla – Bug 680837
route command option mss sets MTU
Last modified: 2011-12-06 07:00:00 EST
Created attachment 481308 [details]
man patch against RHEL6
Description of problem:
This is same as BZ671321, but this addresses RHEL6.
mss option of route command sets MTU value. Looking in the code the value is
passed to inet_ioctl() of kernel, which only accepts setting MTU. I have a
patch to address this issue HOWEVER. Since this may affect the change in
behavior significantly, I'd like to propose man page change, so users are aware
that setting mss would mean setting MTU (although they are actually not the
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. # route del default
2. # route add default gw 192.168.122.1 mtu 1500
Above the action shows the below:
[root@olive-kvm164 ~]# cat /proc/net/route
Iface Destination Gateway Flags RefCnt Use Metric Mask
MTU Window IRTT
eth0 007AA8C0 00000000 0001 0 0 0
00FFFFFF 0 0 0
eth0 0000FEA9 00000000 0001 0 0 0
0000FFFF 0 0 0
eth0 00000000 017AA8C0 0003 0 0 0
00000000 1500 0 0
Man page is not clear that mss sets MTU.
Should be clear that mss sets MTU.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
The route(8) manual page now includes an explicit description of the "mss M" option.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.