1838295 Members
4532 Online
110125 Solutions
New Discussion

Re: Changing IP address

 
SOLVED
Go to solution
Michael Allmer
Frequent Advisor

Changing IP address

I had to change an IP address on a system, running 11.11. Booted system to single user and mounted all file systems. Then I ran set_parms network.
Would this change the IP address for all the required files?
Is there a list of file that I can check through to verify?
5 REPLIES 5
Patrick Wallek
Honored Contributor
Solution

Re: Changing IP address

The 2 main files are /etc/rc.config.d/netconf and /etc/hosts.

I would also verify DNS if you are running a DNS server.
Pete Randall
Outstanding Contributor

Re: Changing IP address

That's the whole point of using set_parms - so you don't have to worry about missing some file somewhere. You can rest assure that your IP address has been changed everywhere necessary.


Pete

Pete
Calandrello
Trusted Contributor

Re: Changing IP address

friend
the file is /etc/rc.config.d/netconf
in it you obtain to place the IP of you scheme.
Michael Allmer
Frequent Advisor

Re: Changing IP address

I have check both files and DNS. It looks like DNS is not correct. I will get that changed.
DCE
Honored Contributor

Re: Changing IP address



Mike,


You do not have to bring the system down to single user mode to change the IP address. You can edit the files manually, or you can use SAM to change the address. SAM will modify all of the necessary files for you.

It would be a good idea though, to reboot the system after an IP address change, because some apps may retain the old address.

While some people do not trust sam to do this, I have used it to change ip addresses for a long time and have had no issues.