From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert N Wood Subject: Re: left 1 interface after rebooting..(sun platform) Date: Thu, 23 Jan 2003 16:55:41 +0000 Sender: linux-admin-owner@vger.kernel.org Message-ID: <3E301E8D.20606@rnwood.co.uk> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Simon shaw Cc: linux-admin@vger.kernel.org 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/