[SunHELP] Making IP addresses permanent

Jeff Kalusniak sunhelp at sunhelp.org
Mon Feb 12 13:09:45 CST 2001


1. Make sure you plumb the card(s) after a reconfiguration boot (following
physical install) first.  This step may not need to be done

2. create /etc/hostname.<NIC>[:i] - where NIC is the card (i.e. - hme0,
hme1)  and [:i] would be a virtual IP instance (:1, :2, :3 etc)  This file
should have one line in it...the hostname associated with this ip (for
instance newhost).

3. vi /etc/hosts - put that hostname/ip in the hosts file

4. ifconfig....to get it running this time....and then it will come up
automatically from now on.

ifconfig hme1 <ip address> netmask <netmask> broadcast <broadcast ip> up

or for example,

ifconfig hme1 192.168.4.123 netmask 255.255.255.0 broadcast 192.168.4.255 up


Hope this helps



-----Original Message-----
From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org]On
Behalf Of Big Endian
Sent: Monday, February 12, 2001 12:13 PM
To: sunhelp at sunhelp.org
Subject: [SunHELP] Making IP addresses permanent


I have an ultra 5 with two HME cards (one onbard one PCI).  I need to
make them configure automagically on boot.  However I don't know what
file to put this in.   Can anybody tell me?

Daniel Mayfield
_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp




More information about the SunHELP mailing list