Operating System - HP-UX
1833059 Members
2954 Online
110049 Solutions
New Discussion

change MTU size permanently

 
SOLVED
Go to solution
Mynor Aguilar
Valued Contributor

change MTU size permanently

Hello,
A couple of weeks ago, I modified the MTU size of my network adapters on hp-ux 11.23. I did it by stopping the APA service and then using lanadmin -M 9000 [interface_number] on every nic, then, started APA again and it worked fine. However I found out that this change was not preserved upon reboot. Therefore, I needed to use SAM or to edit the hpietherconf file in order to make it permanent. First I tried SAM, but it wasn't possible cause SAM forced me to assign an IP address to my APA NICS in order to change the MTU size. I decided to edit the etc/rc.config.d/hpietherconf file; however, the changes that I made on this file seemed to be override upon reboot.

Does anybody know the right way to edit my hpietherconf in order to enable MTU size 9000 on lan1 and lan2?

regards

4 REPLIES 4
Hemmetter
Esteemed Contributor
Solution

Re: change MTU size permanently

Hello

you can set MTU size in the
/etc/rc.config.d/*conf file of your card drivers.
e.g.
/etc/rc.config.d/hpigelanconf:
HP_IGELAN_INTERFACE_NAME[0]=lan1
HP_IGELAN_MTU[0]=1500


rgds
HGH
Mynor Aguilar
Valued Contributor

Re: change MTU size permanently

Hello,
Last time I just modified the hpietherconf file and not the hpigelan.

according to this link:
http://docs.hp.com/en/AB545-90001/ch01s08.html
all i had to do is to modified the hpietherconf file, I added the following lines to modify the MTU size:
HP_IETHER_INTERFACE_NAME[1]=lan1
HP_IETHER_MTU[1]=9000
HP_IETHER_INTERFACE_NAME[2]=lan2
HP_IETHER_MTU[2]=9000
I rebooted the server, but the changes were override.

by looking at the documentation of the link, they say that the file has to be modified on the following way:

edit the following configuration file using an editor such as 'vi':
/etc/rc.config.d/hpietherconf.
Set the mtusize by editing HP_IETHER_MTU[i]=mtusize,
and insert the proper interface name: HP_IETHER_MTU[i]=HP_IETHER_INTERFACE_NAME.

however, I dont think that this is correct... am I wrong?

cause if it were the case, I would have had to modified my file with something like this:

HP_IETHER_MTU[1]=9000
HP_IETHER_MTU[1]=lan1

HP_IETHER_MTU[2]=9000
HP_IETHER_MTU[2]=lan2

does this make any sense?

I will try to modify the hpigelan as you said to see if it works.
thanks for your help.

regards,
Mynor Aguilar



Hemmetter
Esteemed Contributor

Re: change MTU size permanently

Holla

do a
$ ioscan -fnkClan

to see the drivertype(s) of your interfaces, column "Driver".


rgds
HGH

Mynor Aguilar
Valued Contributor

Re: change MTU size permanently

from the ioscan output:
lan 0 -> iether
lan 1 -> iether
lan 2 -> igelan
lan 3 -> igelan

I haven't noticed that the device driver were different, I just modified hpietherconf, but since I wanted to modified lan 1 and lan 2 I had to modify hpietherconf (for lan1) and hpigelanconf (for lan2) files.