Operating System - HP-UX
1847108 Members
5662 Online
110263 Solutions
New Discussion

Multiple Route entries on HP-Ux 11.00

 
Naveen Shetty
Frequent Advisor

Multiple Route entries on HP-Ux 11.00

Hi All ,

If I can get few suggestions on the below topic :

I have 20 No.Of HP 9000 Servers with HP-Ux 11.0 with 64Bit Working on it in one Site.I have somewhere arround 8-10 enteries for " ROUTE ADD " in /sbin/rc .

Since the enteries are likely to increase in nos , it would be a time consuming job to do it all the servers .

I would have liked it do be done in such a way like , if I can use one server & update all the route entries in that server , is there any way other servers can take the reference of route entreis from that single server .

I am told fundas on IP_FORWARDING should help me in overcoming this .

Can anyone suggest me a solution for this .


Thanks in Advance .....
Queries
3 REPLIES 3
John Waller
Esteemed Contributor

Re: Multiple Route entries on HP-Ux 11.00

Don't take this as gospel as it is only a theory and I can not fully test it myself, but I believe if you add all your routing enteries on one server then on all other servers just have 1 routing entry for a default router giving the address of the server with all the idividual enteries added. This will only work if all 20 servers are part of the same network and subnet.
Naveen Shetty
Frequent Advisor

Re: Multiple Route entries on HP-Ux 11.00

Thank You for your quick reply .

I will try it out .

Kindly let me know more solutions also on this .


Thanks again for your reply...
Queries
Shannon Petry
Honored Contributor

Re: Multiple Route entries on HP-Ux 11.00

Another idea is to make a file which can be appended to /etc/rc.config.d/netconf containing your routing information. If all of your systems are HP keep a separate ASCII text file containing your routes. I.E.
> cat hp-routers.txt
ROUTE_DESTINATION[1]="default"
ROUTE_MASK[1]=""
ROUTE_GATEWAY="1.2.3.4"
ROUTE_COUNT[1]=1
ROUTE_ARGS=""

ROUTE_DESTINATION[2]="net 198.208.148.0"
ROUTE_MASK[2]="255.255.255.0"
ROUTE_GATEWAY[2]=8.95.100.119
ROUTE_COUNT[2]=1
ROUTE_ARGS[2]=""

ROUTE_DESTINATION[3]="net 134.46.82.0"
ROUTE_MASK[3]="255.255.255.0"
ROUTE_GATEWAY[3]=8.95.100.119
ROUTE_COUNT[3]=1
ROUTE_ARGS[3]=""

Once this is built at each HP system simply
> cat router-nfo.txt >> /etc/rc.config.d/netconf.
NOTE: Make sure that the bracketed number does not overlap on any seat, and should start with"0".

This alleviates the dependancy on 1 server for all routing for each server!


Regards,
Shannon
Microsoft. When do you want a virus today?