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!

ip address

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
how do you change ip address on a working system in solaris 6.1?
 
You have a couple of options. If you don't mind rebooting you can do edit /etc/hosts, and under your hostname put the new IP address. If you don't want to reboot then issue the following commands:

ifconfig hme0 down

In place of hme0 you will want to put your network interface. Then issue this command:

ifconfig hme0 IP-address netmask yournetmask up

This should get you up and running without any other problems. Do a man on ifconfig if you have further questions.

Hope this is helpful,
Blaine
 
If using a naming service you will weant to update that as well. Also check the new address is covered in your netmasks file.
Ged Jones

Top man
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top