Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing IP address

Status
Not open for further replies.

tbalazs

IS-IT--Management
Dec 18, 2000
158
GB
On a 5.0.5 machine how would I change the IP address of its NIC to 192.168.0.xx and the subnet mask to 255.255.255.0?
Thanks.
Tony.
 
If you run "netconfig" from the hash prompt then select "SCO TCP/IP" (This would be under the entry corrosponding to your network card)

From the menu options at the top go to "protocol" and then "Modify Protocol configuration"

You can change the IP and subnet mask in here...
Andy
++
 
tbalazs

Alternate Manual way (i dont like scoadmin):

- edit /etc/tcp
search for the ifconfig line for your nic card.
change ip and netmask on that line.
- edit /etc/hosts
change ip from old to new
- edit /etc/default/tcp
change netmask and broadcast

reboot machine (not really necessary but easier)

stan
 
Thank you Andy and Stan!
If doing things manually, what would broadcast need to change to? It's currently 1.255.255.255?
Would "pref" stay the same?
In hosts, would ppp-computername stay the same?

Thanks again.

Tony.
 
Trying to think it throught here, if the nodes' IP addresses will be 192.168.0.1-254 would broadcast need to be set to 192.168.0.255?
Thanks.
Tony.
 
Just to check:
If I back up /etc/hosts, etc/tcp and etc/default/tcp by renaming them, make my changes, try them out, and then rename the backups to their orginals, all will be as before.
Is that right? I.e. no behind-the-scenes changes that I can't undo will have been made?
Tony.
 
not that i know of..... you will need to restart tcp or system after changing the files.
How are your client machines resolving your server?
If DNS then it needs to be updated...
if HOSTS then each client needs to be updated for the new ip address.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top