The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
change wc -l francis_tom Shell Programming and Scripting 1 04-14-2008 10:02 AM
change 43% to 43.5 nortypig Shell Programming and Scripting 2 08-20-2006 12:55 AM
UID Change mcateriny AIX 4 10-06-2003 09:02 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-13-2005
Registered User
 

Join Date: Sep 2004
Location: The Hague, Netherlands
Posts: 24
Exclamation IP change

Have to change the IP of Solaris 8 on a Sun Enterprise 450 tomorrow.

Do know the ifconfig, but have to change some files as well to consolidate this.

Can't find/remember which files that are.

Anybody?


Kuultak
Reply With Quote
Forum Sponsor
  #2  
Old 07-13-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Try the search button next time - this comes up quite often. See IP change
Reply With Quote
  #3  
Old 07-13-2005
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
After you've ifconfig'd.....

/etc/hosts (the line corresponding to the appropriate hostname.interface file)
/etc/netmasks (this is a softlink to /etc/inet/netmasks)

Obviously this'll all need to be done from the console....

There are other files that'll need changing depending on your needs and the scale of changes made. There's a script here for a hostname change if you need to do that also.

It is always worth doing a
find /etc -type f -exec grep "old.ip.address.here" {} /dev/null \;
to see if the IP address appears anywhere else (hard coded into badly written start scripts, or whatever)....

Also; there may be application specific changes to be made, for example, Sybase would need changes to its interface file, etc, etc, etc....

Cheers
ZB
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:28 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0