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 02:02 PM
change 43% to 43.5 nortypig Shell Programming and Scripting 2 08-20-2006 04:55 AM
UID Change mcateriny AIX 4 10-06-2003 01:02 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-13-2005
kuultak kuultak is offline
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
  #2 (permalink)  
Old 07-13-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
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
  #3 (permalink)  
Old 07-13-2005
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0