- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ndd tcp_mss_max
Operating System - HP-UX
1820882
Members
3569
Online
109628
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2003 02:40 PM
тАО09-16-2003 02:40 PM
ndd tcp_mss_max
I am being asked by my network guy, who recently implemented a Cisco VPN to one our of remote locations, to use the following command to correct sporadic socket errors:
ndd -set /dev/tcp tcp_mss_max 1460
When the VPN users get socket errors, they lose connection to the HP-UX server, however there session remains there and has to be aborted. The ndd command is in a document he obtained from Cisco for changing the MTU value on HP-UX 11.x. I see that tcp_mss_max is on the UNsupported list of ndd parameters and according to the man page, HP does not recommend modifications to these parameters. The network guy had asked me what the current MTU value was which I obtained with the lanadmin command and is 1500. However, if I do a ndd -get of tcp_mss_max, the value is currently set to 65495, not 1500. I'm concerned about the impact of this change on the frame users of our network and the unix users as well. I appreciate any information anyone has to offer, thanks.
ndd -set /dev/tcp tcp_mss_max 1460
When the VPN users get socket errors, they lose connection to the HP-UX server, however there session remains there and has to be aborted. The ndd command is in a document he obtained from Cisco for changing the MTU value on HP-UX 11.x. I see that tcp_mss_max is on the UNsupported list of ndd parameters and according to the man page, HP does not recommend modifications to these parameters. The network guy had asked me what the current MTU value was which I obtained with the lanadmin command and is 1500. However, if I do a ndd -get of tcp_mss_max, the value is currently set to 65495, not 1500. I'm concerned about the impact of this change on the frame users of our network and the unix users as well. I appreciate any information anyone has to offer, thanks.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2003 03:12 PM
тАО09-16-2003 03:12 PM
Re: ndd tcp_mss_max
Hi,
tcp_mss_max is normally, by default, MTU - 40
So if your MTU is 1500 then I suspect the tcp_mss_max is 1460 already.
I would still probably go ahead (Somebody may have changed it) & do the
ndd -set /dev/tcp tcp_mss_max 1460
and then try a
ndd -get /dev/tcp tcp_mss_max
to see if the get reports the change.
Remember to set this value in /etc/rc.config.d/nddconf so the change survives reboots
But I would also test turning off Path MTU Discovery
ndd -set /dev/ip ip_path_mtu_discovery 0
The problem you're seeing is essentially a net device in the path that's either unable, unwilling or unaware of the need to fragment large packets. The network guy is implying that the device is the NIC in your host, but I doubt that because he asking you to *limit* the max packet size you send. That tells me something else in the path is likely the actual culprit. This change will probably stop the hung connections, but runs the risk of limiting performance in some conditions where large packets would be very advantageous.
BTW - Here's the Cisco page he's probably referencing:
http://www.cisco.com/warp/public/105/38.shtml
HTH,
Jeff
tcp_mss_max is normally, by default, MTU - 40
So if your MTU is 1500 then I suspect the tcp_mss_max is 1460 already.
I would still probably go ahead (Somebody may have changed it) & do the
ndd -set /dev/tcp tcp_mss_max 1460
and then try a
ndd -get /dev/tcp tcp_mss_max
to see if the get reports the change.
Remember to set this value in /etc/rc.config.d/nddconf so the change survives reboots
But I would also test turning off Path MTU Discovery
ndd -set /dev/ip ip_path_mtu_discovery 0
The problem you're seeing is essentially a net device in the path that's either unable, unwilling or unaware of the need to fragment large packets. The network guy is implying that the device is the NIC in your host, but I doubt that because he asking you to *limit* the max packet size you send. That tells me something else in the path is likely the actual culprit. This change will probably stop the hung connections, but runs the risk of limiting performance in some conditions where large packets would be very advantageous.
BTW - Here's the Cisco page he's probably referencing:
http://www.cisco.com/warp/public/105/38.shtml
HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2003 06:07 PM
тАО09-16-2003 06:07 PM
Re: ndd tcp_mss_max
What Cisco forgets to tell you is that your changes will vanish with the first reboot. You need to edit /etc/rc.config.d/nddconf to make the changes stick after a reboot.
TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_pmtu_strategy
NDD_VALUE[0]=0
TRANSPORT_NAME[1]=tcp
NDD_NAME[1]=tcp_mss_max
NDD_VALUE[1]=1460
Use the next higher integers in the brackets if you already have entries.
There is another way to control the MTU. The route command offers the option to set the MTU with -p 1460 and you can also set it in /etc/rc.config.d/netconf with
ROUTE_ARGS[0]="-p 1460"
Ron
TRANSPORT_NAME[0]=ip
NDD_NAME[0]=ip_pmtu_strategy
NDD_VALUE[0]=0
TRANSPORT_NAME[1]=tcp
NDD_NAME[1]=tcp_mss_max
NDD_VALUE[1]=1460
Use the next higher integers in the brackets if you already have entries.
There is another way to control the MTU. The route command offers the option to set the MTU with -p 1460 and you can also set it in /etc/rc.config.d/netconf with
ROUTE_ARGS[0]="-p 1460"
Ron
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP