1753648 Members
6224 Online
108798 Solutions
New Discussion юеВ

Re: netconf on Hp 11.00

 
Federico_28
Occasional Contributor

netconf on Hp 11.00

Good evening, I have a problem with netconf on Hp 11.00. I have insert two route destination but at boot both of them are not read.
The permission are r-r-r and owner bin-bin.
This is what I wrote in netconf:

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

ROUTE_DESTINATION[1]="X.X.X.X"
ROUTE_MASK[1]="x.x.x.x"
ROUTE_GATEWAY[1]="x.x.x.x"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""

ROUTE_DESTINATION[2]="x.x.x.x"
ROUTE_MASK[2]="x.x.x.x"
ROUTE_GATEWAY[2]="x.x.x.x"
ROUTE_COUNT[2]="1"
ROUTE_ARGS[2]=""

"Default" route destination is read correctly and it's work, the other two routes no.

Can somebody help me?

Regards
3 REPLIES 3
Sridhar Bhaskarla
Honored Contributor

Re: netconf on Hp 11.00

Hi,

Do you see any errors?. You can try '/sbin/init.d/net start' and observe the errors if your system is not in production. It's most likely due to incorrect entries. For ex., if x.x.x.x is a subnet, then you would need to put 'net x.x.x.?'.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Steven E. Protter
Exalted Contributor

Re: netconf on Hp 11.00

Kind of need to see some error output to deal with this.

after boot, look at this command:

netstat -nr

It might help you work this out.

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
John Waller
Esteemed Contributor

Re: netconf on Hp 11.00

When adding a non default route you need to specify the word host or net in front of the address,
e.g.

ROUTE_DESTINATION[1]="net X.X.X.0"
ROUTE_MASK[1]="255.255.255.0"
ROUTE_GATEWAY[1]="x.x.x.x"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""

ROUTE_DESTINATION[2]="host x.x.x.x"
ROUTE_MASK[2]=
ROUTE_GATEWAY[2]="x.x.x.x"
ROUTE_COUNT[2]="1"
ROUTE_ARGS[2]=""

Also don't forget about the routers being local to the subnet of your machine.