Solved

Change IP on Ultra 5 workstation

Posted on 2004-09-26
2
548 Views
Last Modified: 2013-12-23
What's the easiest way to change an IP address of an existing Ultra 5 workstation with Solaris 7?  All other params should stay the same, gateway, netmask etc...

Should this work by itself?

ifconfig hme0 XXX.XXX.XXX.XXX broadcast ZZZ.ZZZ.ZZZ.ZZZ netmask YYY.YYY.YYY.YYY

Does ifconfig update /etc/hosts?  Is there any manual intervention?
0
Comment
Question by:nsome
2 Comments
 
LVL 21

Accepted Solution

by:
tfewster earned 500 total points
ID: 12156555
See yuzh's answer in http://www.experts-exchange.com/Operating_Systems/Solaris/Q_21141856.html

(ifconfig does _not_ update /etc/hostname.hme0 or /etc/hosts)
0
 
LVL 3

Expert Comment

by:cagri
ID: 12168223
Please only update the existing IP address on /etc/hosts file.

ifconfig updates the IP address however, /etc/hosts is checked upon rebooting the system to find the IP address, thus IP config can be used for momentary updates (for example, after updating /etc/hosts, you may use ipconfig to make the new IP effective without rebooting)

Hope this helps.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question