1837097 Members
2066 Online
110112 Solutions
New Discussion

CHanging Ip address???

 
SOLVED
Go to solution
Rob Wallner
Advisor

CHanging Ip address???

My company is moving 6 unix servers from one building to another.

other than the /etc/resolv.conf file, is there anywhere I need to change the ip adddress?

Where is the file for the default gateway and subnet mask?

I know this is a very basic question. Thanks for the help in advance.
13 REPLIES 13
Patrick Wallek
Honored Contributor
Solution

Re: CHanging Ip address???

IP Address, gateway, subnet mask and a few other things are set in the /etc/rc.config.d/netconf file.

Don't forget to change the IP address in the /etc/hosts file.

If you want the system to make the changes for you have a look at the man page for 'set_parms'. There are several different options you can use.
Tiziano Contorno _
Valued Contributor

Re: CHanging Ip address???

You just need to edit /etc/rc.config.f/netconf
Tiziano Contorno _
Valued Contributor

Re: CHanging Ip address???

You just need to edit /etc/rc.config.d/netconf
Tiziano Contorno _
Valued Contributor

Re: CHanging Ip address???

Hi Rob,
You just need to edit /etc/rc.config.d/netconf
Regards.
Rob Wallner
Advisor

Re: CHanging Ip address???

Thanks So much!!!!!!!!!!

Thanks for tolerating such a simple question!
Tiziano Contorno _
Valued Contributor

Re: CHanging Ip address???

Sorry, I'm having hard time with my proxy :(
Pete Randall
Outstanding Contributor

Re: CHanging Ip address???

Rob,

You can also change ip address (and other things) using /sbin/set_parms. For just ip address it would be "/sbin/set_parms ip_address", possibly followed up with "/sbin/set_parms addl_netwrk" to change routing, etc.

You can just enter /sbin/set_parms with no operands to see the options available to you.


Pete

Pete
DCE
Honored Contributor

Re: CHanging Ip address???


You can use set_parms to change the IP address. SAM will also do the change.

If you use DNS make sure you make the IP address change in the DNS server as well.

Peter Godron
Honored Contributor

Re: CHanging Ip address???

Rob,
or you could use
/etc/set_parms ip_address
and
/etc/set_parms addl_netwrk
to configure
Victor BERRIDGE
Honored Contributor

Re: CHanging Ip address???

Hi Vanadio,
I dont think its your proxy, I just managed to get through now...
So from the time I tried to reply (0 replies at the time) and now there are 6 (new) and many more before I post...

There is obviously a bottleneck quite regularly...


All the best
Victor

For Rob
You can change location and still have the same network...
But if you have to change them then dont forget once changed location to boot single user and use set_parms or you might end with boxes that try for ever to find their names/addresses on a bad network...

Good luck
Rob Wallner
Advisor

Re: CHanging Ip address???

I have to change the ip address to match the new network schema.

THanks everyone for your patience with such a minor question.
Victor BERRIDGE
Honored Contributor

Re: CHanging Ip address???

Wow!
almost 10 minutes and 5 attempts (begin at 15:13 for the previous...)
to get through...
Time now 15:33
Rob Wallner
Advisor

Re: CHanging Ip address???

Thanks Again!