Operating System - HP-UX
1837168 Members
3205 Online
110113 Solutions
New Discussion

Configureing Gateway in HP_UX 11.00

 
SOLVED
Go to solution
SANTOSH S. MHASKAR
Trusted Contributor

Configureing Gateway in HP_UX 11.00

Can somebody tell me hoe to reconfigure/change gateway IP in HP_UX 11.00 ?

I tried from SAM but there is no option to change gw settings.

Thanks in advance.

-Santosh
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: Configureing Gateway in HP_UX 11.00

Hi Santosh,

You can change the gateway in the file /etc/rc.config.d/netconf. You need a reboot after you change the file. An other option is to use below command.

# set_parms addl_netwrk

Hope this helps,
Robert-Jan
Naveej.K.A
Honored Contributor
Solution

Re: Configureing Gateway in HP_UX 11.00

hi santosh,

sam --> Networking and Communications --> Hosts --> Local host files --> Actions Configure default gateway.

you can also use the route delete and then the route add command to modify the gateway. Butthe changes will not get through after the reboot

with best wishes
naveej
practice makes a man perfect!!!
Fabio Ettore
Honored Contributor

Re: Configureing Gateway in HP_UX 11.00

Hi Santosh,

2 ways to do it:

1. change the following lines in /etc/rc.config.d/netconf:

ROUTE_DESTINATION[0]="YY.YY.YY.YY"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="XX.XX.XX.XX"
ROUTE_COUNT[0]="0"
ROUTE_ARGS[0]=""

and substitute a YY.YY.YY.YY the IP address of network of destination and put in XX.XX.XX.XX the gateway's IP address.

From command line launch

# route add default

2. just launch

# set_parms addl_netwrk

I hope this helps you.

Best regards,
Ettore
WISH? IMPROVEMENT!
Sanjiv Sharma_1
Honored Contributor

Re: Configureing Gateway in HP_UX 11.00

Hi Santosh,

Please check this link:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=458409

hth.
Everything is possible