* left 1 interface after rebooting..(sun platform)
@ 2003-01-23 8:16 Simon shaw
2003-01-23 16:55 ` Robert N Wood
0 siblings, 1 reply; 2+ messages in thread
From: Simon shaw @ 2003-01-23 8:16 UTC (permalink / raw)
To: linux-admin
Hi.. I tried to configure 3 interfaces on my sun servers, originally, the
first interface (eri0) is our LAN IP. Second interface is with 0.0.0.0 IP,
and third interface (eri1) doesn't show up. as shown below
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
eri0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 50.100.165.55 netmask fffffc00 broadcast 50.100.167.255
ether 0:3:ba:27:52:97
qfe0: flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 0.0.0.0 netmask 0
ether 0:3:ba:27:52:97
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.
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: left 1 interface after rebooting..(sun platform)
2003-01-23 8:16 left 1 interface after rebooting..(sun platform) Simon shaw
@ 2003-01-23 16:55 ` Robert N Wood
0 siblings, 0 replies; 2+ messages in thread
From: Robert N Wood @ 2003-01-23 16:55 UTC (permalink / raw)
To: Simon shaw; +Cc: linux-admin
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-23 16:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-23 8:16 left 1 interface after rebooting..(sun platform) Simon shaw
2003-01-23 16:55 ` Robert N Wood
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).