Operating System - HP-UX
1834391 Members
1777 Online
110066 Solutions
New Discussion

The OS can not save the "default gateway" setting why?

 
timber
Occasional Advisor

The OS can not save the "default gateway" setting why?

A new os Ver 11.23 0712, when i add the default gateway by SAM ,SAM show me it is working .But after i reboot the OS ,"netstat -rn" show me the default gateway was lost!! even use the netconf file to recongfig the GW is still do not work after reboot:( .PLS help me
May Force be with you !
4 REPLIES 4
Steven Schweda
Honored Contributor

Re: The OS can not save the "default gateway" setting why?

> PLS help me

You first.

> even use the netconf file [...]

What's in your /etc/rc.config.d/netconf file
for the default route?

Around here (11.11), I have:

[...]
ROUTE_GATEWAY[0]=10.0.0.1
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[0]=default
[...]

And my "netstat -rn" output includes this:

default 10.0.0.1 UG 0 lan0 0


As usual, it might help to see what you can
see, instead of getting only a vague
description of the situation.
Jeeshan
Honored Contributor

Re: The OS can not save the "default gateway" setting why?

Hi

What do u do while configuring the GW manually in /etc/rc.config.d/netconf file?
You can add an entry like this way

ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=""
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""

and also check the permission of netconf file.
a warrior never quits
timber
Occasional Advisor

Re: The OS can not save the "default gateway" setting why?

Yes ,I edit /etc/rc.config.d/netconf manually,but do not work yet and i get a info that is a issue about the 11iv2 in special Version 11.23.07.12
May Force be with you !
Steven Schweda
Honored Contributor

Re: The OS can not save the "default gateway" setting why?

> As usual, it might help to see what you can
> see, instead of getting only a vague
> description of the situation.

This remains true.

> I edit /etc/rc.config.d/netconf manually,
> but do not work yet [...]

My psychic powers are too weak to let me see
what's in your /etc/rc.config.d/netconf, so I
can't advise you on that. And "do not work"
tells me only that you're not happy yet, not
what the system start-up scripts are doing
with your /etc/rc.config.d/netconf file.

> [...] i get a info that is a issue about
> the 11iv2 in special Version 11.23.07.12

Were you thinking about sharing this "info"
with the rest of us, or should we all seek
advice from our personal spirit guides?


My car isn't running well. PLS help me.