1832983 Members
2555 Online
110048 Solutions
New Discussion

Re: set_parms

 
SOLVED
Go to solution
HDgio
Regular Advisor

set_parms

In a 11i with the command set_parms initial
change hostname,ip address,netmask,gateway.
After a requested reboot the system go up with
a system name, netmask and gateway modified
but with the old ip address.
To the same way if I give the set_parms whith the param hostname and don't reboot, ip_address and don't reboot, addl_network and don't reboot because don't asked me, and give reboot manually, when the system give up the hostname is modified but not ip and gateway.
It would seem necessary a reboot after the change of every parameter.
WHY ?
Thanks to All
5 REPLIES 5
Bharat Katkar
Honored Contributor
Solution

Re: set_parms

Hi,
System will reboot for Hostname change but not for IP address change. You can use "ifconfig" command to change IP address, "route add default" command to define gateways and do necessary changes in /etc/rc.config.d/netconf file to make the changes permanent so that for next reboot values are retained.
Also if you do this from sam then you don't have to anything, systems take care of modifying these files.

Hope that helps,
Regards,
You need to know a lot to actually know how little you know
Marcel Boogert_1
Trusted Contributor

Re: set_parms

Hi there,

Use "set_parms initial" to keep reset and save your settings for good.

MB.
Franky_1
Respected Contributor

Re: set_parms

Hi,

use "ifconfig" to change ip address and make the appropriate changes in /etc/rc.config.d/netconf and finally adapt your default gateway entry (netstat -r) with route add if necessary

Regards

Franky
Don't worry be happy
Muthukumar_5
Honored Contributor

Re: set_parms

To make effect of changed ip-address permanently then reboot is needed there. It is not as like other parameters of hostname, etc.

man page set_parms for ip-address say's as

ip_address Allows the user to set or change the primary IP address
of the system. An IP address change will require a
system reboot to take effect. Edits the /etc/hosts
file to associate the new IP address with the current
hostname. First boot: also lets the user pick the lan
interface to set up for this and subsequent networking
functions. Non-first boot: In multiple lan systems, it
assumes that the IP address is being changed for the
lowest numbered IP address/Lan Interface Card data set
in the /etc/rc.config.d/netconf file.

------------

IF you want to make temporary then configure with ifconfig and to make effect then put entry /etc/rc.config.d/netconf file entries.


Else do it with system administration manager (sam) also.

- Muthu
Easy to suggest when don't know about the problem!
HDgio
Regular Advisor

Re: set_parms

If I make a make_restore from an image and to the first boot did I want to change in an only time all the interested parameters with a simple command and in an alone reboot, thing I should use, considering that set_parms initial seems not to correctly work?