Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

Host Name and IP address change on TRU64 ver. 4.0F

SOLVED
Go to solution
patrick_119
Advisor

Host Name and IP address change on TRU64 ver. 4.0F

Hi,

I need to change the hostname and ip address of a tru64 unix server running version 4.0F.

how can i do this. this server is a production machine.

Another question :

Does inetd stop/start drop all user sessions

Thanks

Patrick
5 REPLIES
Robert-Jan Goossens
Honored Contributor

Re: Host Name and IP address change on TRU64 ver. 4.0F

Pippo_9
Frequent Advisor
Solution

Re: Host Name and IP address change on TRU64 ver. 4.0F

Hi Patrick,

- NETWORK CONFIGURATION:
In order to change the network configuration all you have to do is launching

# netsetup

It will ask you the new configuration with new IP address and subnet mask.
Only pay attention to this thing: after changing network configuration you should umount/mount all filesystems in /etc/fstab or execute a reboot:

# /usr/sbin/shutdown -r now

Besides: if you want to change the domain (if it is needed) you can launch

# bindsetup

Anyway man of both commands could give you other useful informations.

- CHANGE HOSTNAME:
About change of hostname, you can change it by vi on file /etc/rc.config.
This change should be immediately recognized on system. You can try by command after the change into file above:

# hostname

- INETD QUESTION:
stop/start of inetd will not drop users sessions, but you should know that when inetd is stopped, other connections on system will not be possible.

Best regards,
Ettore
Pippo_9
Frequent Advisor

Re: Host Name and IP address change on TRU64 ver. 4.0F

Just last note on my post: of course you should restart network services:

# /usr/sbin/rcinet restart

In this instance you should warn users, this could drop down user sessions.

Bets regards,
Ettore
patrick_119
Advisor

Re: Host Name and IP address change on TRU64 ver. 4.0F

thanks to both of you. this advice is very helpfull.

rgds

pat
Ralf Puchner
Honored Contributor

Re: Host Name and IP address change on TRU64 ver. 4.0F

If you won't interrupt server activity and new ip is within the same network range you can use the "alias" parameter for ifconfig to configure a second IP-adress:

# ifconfig tu0 alias 10.0.0.2

to make it permanent use

# vi /etc/rc.config
IFCONFIG_1="alias 10.0.0.2"
NETDEV_1="tu0"
NUM_NETCONFIG="2"

Help() { FirstReadManual(urgently); Go_to_it;; }