cancel
Showing results for 
Search instead for 
Did you mean: 

incorrect netconf file

SOLVED
Go to solution
rustam_2
Super Advisor

incorrect netconf file

Hi all,
My server is rx6600 and OS is HP-US 11.3. Server rebooted and after this IP configuration lost. No clients could connect.
I connected via iLO. During running net start got error:
# /sbin/init.d/net start
/sbin/init.d/net[135]: 1500: not found.
ERROR: Incorrect data in the file /etc/rc.config.d/netconf.

First i didnt know what is worng. After several researches found out that this parameter has wrong value in netconf file:
...
ROUTE_COUNT[0]=1
ROUTE_MASK[0]=
ROUTE_ARGS[0]=-p 1500

and i changed ROUTE_ARGS[0]= "-p 1500" then restart net start. Since put in quoted ROUTE_ARGS value everything works.
So question, for what is ROUTE_ARGS and what's differ between values -p -f and -n?
Where missed quoted then? i didnt changed netconf, so what could be the reason on changing netconf after reboot?

regards and thanks,
rustam
9 REPLIES
g3jza
Esteemed Contributor

Re: incorrect netconf file

Hi,

excerpt from netconf:

# ROUTE_ARGS: Route command arguments and options. This variable
# may contain a combination of the following arguments:
# "-f", "-n" and "-p pmtu".

'-p' is for setting the MTU for the given route. What others mean you can read in:
#man route
rustam_2
Super Advisor

Re: incorrect netconf file

thanks q3jza, i understood answer for first question. So what could be the reason of changing netconf?

Zinky
Honored Contributor
Solution

Re: incorrect netconf file

what kind of Network Card do you have on your RX6600? Maybe the intent was to change the MTU (max transmit unit)?

Please submit:

ioscan -kfnC lan

Are you the only admin on this machine??
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
James R. Ferguson
Acclaimed Contributor

Re: incorrect netconf file

Hi Rustam:

> ROUTE_ARGS[0]=-p 1500

...is illegal shell syntax. You must quote (using single or double quotes) any variable assignment that contains whitespace:

# ROUTE_ARGS[0]="-p 1500"

or:

# ROUTE_ARGS[0]='-p 1500'

Regards!

...JRF...
rustam_2
Super Advisor

Re: incorrect netconf file

Thanks Alzhy and JRF,

But i dont know who\what could change MTU value. The ioscan result is:
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
lan 0 0/4/2/0 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan 1 0/4/2/1 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan 2 0/6/0/0/0/0/4/0/0/0 iether CLAIMED INTERFACE HP AD337-60001 PCIe 1000Base-T Dual-port Adapter
lan 3 0/6/0/0/0/0/4/0/0/1 iether CLAIMED INTERFACE HP AD337-60001 PCIe 1000Base-T Dual-port Adapter

I wasnt a long time in office, and 2 guys also had access. But they say we didnt change anything.
Bob_Vance
Esteemed Contributor

Re: incorrect netconf file

Did you check the modification date on netconf before changing it?
It would seem that someone must have changed the file.

You shouldn't need to use the -p MTU on the route anyway, Dynamic Path MTU Discovery is on by default .
And if you don't know why it was changed, and you're the admin, then I'd take it back out.

There could be times you'd need to change the pMTU, though. E.g, if the default route is the actual router to your ISP and is using ADSL or something, you might need to drop it to prevent framentation if the discovery is not getting an appropriate value.


## ndd -get /dev/ip ip_pmtu_strategy
1

1 means dynamic discovery is on


## netstat -rvn

last column will show the pMTU for all routes.



bv

"The lyf so short, the craft so long to lerne." - Chaucer
rustam_2
Super Advisor

Re: incorrect netconf file

Hi bv,
i didnt notice modification and remembered about after changed file. Does there any function\utilities which shows previous modification?

so you think that i have to change this parameter to default (zero)?

regards,
rustam
Bob_Vance
Esteemed Contributor

Re: incorrect netconf file

You're the Admin.
You didn't make the change.
Whoever/whatever made the change didn't make it correctly.
The change is not necessary.

So, yes, I'd remove the change:

just remove the "-p 1500" and leave it at:

ROUTE_ARGS[0]=


bv
"The lyf so short, the craft so long to lerne." - Chaucer
rustam_2
Super Advisor

Re: incorrect netconf file

Ok, thanks bv. I think i have to to leave and look, what will happen after next reboot.

regards,
rustam