Operating System - HP-UX
1833046 Members
2582 Online
110049 Solutions
New Discussion

routing between PC and HPUX

 
Marc Bohnert
Advisor

routing between PC and HPUX

Hello,

Here is what I have:

Windows PC using Dial Up Networking configured for PPP and the server assign the IP address.

I dial into a RAS server and get connected and thus the PPP connection is established. The RAS server assigned me an IP address.

Now this lets me log into A HPUX 10.20 box which is on the remote network (I guess the same network as the RAS server). I can ping the HP box from my PC.

There is another HPUX box on the same network as the other HPUX box. I cannot ping that one from my PC.

Is it possible to be able to ping this second HP box (routing thru the first one) and if so what do I have to do?


Thanks

Marc
2 REPLIES 2
Vincenzo Restuccia
Honored Contributor

Re: routing between PC and HPUX

Edit /etc/rc.config.d/netconf and add:ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=x.x.x.x
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""

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


Kevin Wright
Honored Contributor

Re: routing between PC and HPUX

you need to make the hp-ux box a router by turning on ip_forwarding...see the ndd or nettune 10.20 man pages. I think this may help.
nettune -s ip_forwarding 1

but if both boxes are on the same network as the RAS, it does not make sense, can you ping other boxes on that same network? Are you sure they have the same netmask.