Computing.Net > Forums > Unix > IP address change

IP address change

Reply to Message Icon

Original Message
Name: Scott
Date: February 1, 2002 at 05:18:48 Pacific
Subject: IP address change
Comment:

I have not used Unix before. I have inherited a sco unix server and need to change the IP address on it. Is there a way I can do this without causing much dismay to the users?


Report Offensive Message For Removal


Response Number 1
Name: Beaker
Date: February 1, 2002 at 10:08:54 Pacific
Subject: IP address change
Reply: (edit)

type "man ipconfig" and read all about it.

Basic format is
ipconfig [interface protocol params addrs]

where
interface = typically the nic
protocol = defaults to tcp
parameters = see the man page
addresses = hostname


Report Offensive Follow Up For Removal

Response Number 2
Name: Wallace
Date: February 2, 2002 at 23:55:08 Pacific
Subject: IP address change
Reply: (edit)

2 Ways:

1. edit the /etc/hosts file to reflect the new IP address and reboot the system (with reboot or init 6)

2. ifconfig
I believe the 2nd method doesn't require a reboot, however make sure the new IP address is still present after reboot. (I think it is but not 100% sure)
eg. ifconfig hme0 192.0.0.1


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: IP address change

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




How often do you use Computing.Net?

Every Day
Once a Week
Once a Month
This Is My First Time!


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge