SUMMARY: change IP address.

From: Frank Pardo (
Date: Thu Aug 22 1996 - 13:53:37 CDT

Thanks very much to all who responded, and to those whose replies are
still en route. Turns out my question was somewhat off the mark: I don't
really need to understand what's going on at boot time if all I want to
do is change the IP address.


I need to change the IP address of a Sparc Ultra running Solaris 2.5.
Somewhere or other in the "rc" scripts, there has to be a command that's
the moral equivalent of "ifconfig hme0", but I haven't
been able to find it. The Answerbook and the man pages seem to be silent
on this point. Can anyone advise please? Will summarize if successful.


1. Change /etc/hosts and /etc/hostname.le0 (or .hme0, or whatever)
2. Run /usr/sbin/sys-unconfig (but save /etc/hosts first!)
3. Look at /etc/init.d/rootusr
4. Look for "ifconfig -au netmask + broadcast +" in rc scripts, which
   get input from these files: /etc/hosts /etc/hostname.* /etc/nodename
   /etc/net/*/hosts (3 files) ...and maybe /etc/defaultrouter too
5. Don't bother with the files under /etc, they're too complex; just
   run sys-unconfig and reboot


From: (Stephen Harris)
From: (Alan Hill)
From: (Stephen Harris) ... in response to a followup query
From: (Tim Evans)
From: (Claude Roy)
From: Dave Zavatson <>
From: (Paul Ybarra)
From: Stuart Kendrick <>
From: (Shane Bouslough)
From: Alex Finkel <>
From: Benjamin Cline <>
From: (Dave McFerren)
From: james mularadelis <>
From: (Russ Poffenberger)
From: (Gregory M Polanski)
From: (Erik J. Tolido)
From: Jay Morgan <>
From: (Erik J. Tolido) ... with a correction
From: (Don Catey)

  Frank Pardo		<> 
  System Administrator 
  Transaction Information Systems
  New York City

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:08 CDT