1833758 Members
2697 Online
110063 Solutions
New Discussion

Set the PMTU

 
Sp4admin
Trusted Contributor

Set the PMTU

Hello,
I have read some of the threads on this but still I'm not sure. My network team has ask me to set the PMTU to 1460 on a specific IP. I check the MTU in lanadmin and it is set to 1500 for the NIC which is default. I need the correct syntax using route command to achieve this. I also need to know where in the nddconf file I can set this so on reboot the config will stay. When I issue the command below I get a " network not reachable" but I can ping both the IP and the Gateway.

route -p 1460 add host (IP) (gateway)

HPUX 11.23
ia64

Thanks in advance,
sp
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: Set the PMTU

Shalom,

I believe this network parameter is set by the command ndd

It can be edited in /etc/rc.config.d/nddconf

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sp4admin
Trusted Contributor

Re: Set the PMTU

Hi Steven,

When I do a man on route it shows a switch "-p" which can set the PMTU. I understand I will need to use the ndd command to make it stick. Also, Will I need to modify the nddconf file? I need the route syntax that I can test it before using the ndd command.

Thanks,
sp
Jeff_Traigle
Honored Contributor

Re: Set the PMTU

If it's an option on the route command, you need to add it to the appropriate ROUTE_ARGS in /etc/rc.config.d/netconf.
--
Jeff Traigle
Sp4admin
Trusted Contributor

Re: Set the PMTU

The answer is to first remove the route and then route add using the "-p size" option.

Thanks for the help!
sp,