cancel
Showing results for 
Search instead for 
Did you mean: 

SMH internal network command

david_974
Contributor

SMH internal network command

Hi,
Some body can help me; i need to know what is the internal network command on SMH to change the ip address on hpux 11.31??
I need this because if i use set_parms to change the ip address is necessary reboot the server, but with smh not. I need to know if smh use ifconfig or another command.

Please help.
3 REPLIES
Yarema A. Mikhajliv
Frequent Advisor

Re: SMH internal network command

Delete current IP address:

# ifconfig [your_interface] 0.0.0.0

Delete default route (if needed):

# route delete default [your_gw_ip]

Edit /etc/rc.config.d/netconf and change old IP to new one (and GW if needed)

Restart networking:

# /sbin/init.d/net start

Edit /etc/hosts and change old IP to new one
Restart swagentd servise:

# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start
Yarema A. Mikhajliv
Frequent Advisor

Re: SMH internal network command

Just a remark - you should do these operations from management console, of course
Ismail Azad
Esteemed Contributor

Re: SMH internal network command

Hi,

This depends on which operating system release you are using of 11iv3 because SMH behaves a little differently on these updated releases.It's all about updating the necessary databases when you are executing a task on SMH . Remember ifconfig only temp changes IP address. Everything depends on the variables in the netconf file if reboot is considered. Strangely there are docs that say that SMH updates all the databases!! Who vouches for this?? If someone has more info about this it would be the perfect answer for you david.

Regards
Read, read and read... Then read again until you read "between the lines".....