Solved

Change IP on Ultra 5 workstation

Posted on 2004-09-26
2
544 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 20

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

What’s a web proxy server? A proxy server is a server that goes between clients and web servers, used in corporate to enforce corporate browsing policy and ensure security. Proxy servers are commonly used in three modes. A)    Forward proxy …
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now