linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert N Wood <rob@rnwood.co.uk>
To: Simon shaw <linuxask@hotmail.com>
Cc: linux-admin@vger.kernel.org
Subject: Re: left 1 interface after rebooting..(sun platform)
Date: Thu, 23 Jan 2003 16:55:41 +0000	[thread overview]
Message-ID: <3E301E8D.20606@rnwood.co.uk> (raw)
In-Reply-To: <F31PJFZkKQ5E0aXEuK50000c483@hotmail.com>

Simon

Sun boxes generally run Solaris which I'm assuming is what your using 
from what you've said. I guess this is sort of OT but I've answered your 
question anyhow. For the best Solaris information check out 
http://docs.sun.com/

Simon shaw wrote:
>> >
> After that I configured qfe0 (second interface) with ifconfig for a IP 
> and used ifconfig eri1 plump to make it third interface show up and 
> configure a IP.
> But after rebooting, everything goes back to original. Second interface 
> with 0.0.0.0 IP and third interface missing as shown above. Why?? What 
> should I do to make it stay.

You need to create /etc/hostname.qfe1 (or whatever) containing the 
hostname the interface should be brought up with. Put hostname to ip 
mapping in /etc/hosts and netmask in /etc/netmasks

eg:
/etc/hostname.qfe1
mybox-30

/etc/hostname.qfe2
mybox-56

/etc/hosts
192.168.56.2	mybox-56
192.168.30.6	mybox-30

/etc/netmasks
192.168.0.0 255.255.255.0

Regards
Rob

-- 
Robert Wood
rob@rnwood.co.uk
http://www.rnwood.co.uk/



      reply	other threads:[~2003-01-23 16:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-23  8:16 left 1 interface after rebooting..(sun platform) Simon shaw
2003-01-23 16:55 ` Robert N Wood [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E301E8D.20606@rnwood.co.uk \
    --to=rob@rnwood.co.uk \
    --cc=linux-admin@vger.kernel.org \
    --cc=linuxask@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).