Solved

Change IP on Ultra 5 workstation

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

New! My Passport Wireless Pro Wi-Fi Mobile Storage

Portable wireless storage to offload, edit, and stream anywhere.

High-capacity, wireless mobile storage designed to accompany professional photographers and videographers in the field to easily offload, edit and stream captured photos and high-definition videos.

Question has a verified solution.

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

Some time ago I was asked to set up a web portal PC to put at our entrance. When customers arrive, they could see a webpage 'promoting' our company. So I tried to set up a windows 7 PC as a kiosk PC.......... I will spare you all the annoyances I…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

920 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