[Sunhelp] Alias on the loopback interface...

Reagen Ward ward at zilla.nu
Wed Jun 21 13:43:11 CDT 2000


That's the case with all network interphases.  You have to plumb them first; the
startup scripts plumb them when there's a hostname.interface file. 

Reagen

On Wed, Jun 21, 2000 at 10:39:29AM -0700, Steven Levin wrote:
> The trouble is (sorry I wasn't more clear before) is that:
> 
> # ifconfig lo0:1 127.0.0.2 255.0.0.0 up
> ifconfig: SIOCGLIFNETMASK: lo0:1: no such interface
> 
> But the answer was to:
> 
> # ifconfig lo0:1 plumb 127.0.0.2 up
> 
> At least on 2.8/x86, with the hardware we have, I just realized that it's
> very unhappy with adding aliases to ANY interface without the 'plumb'
> command.
> 
> Thanks!
> 
> Steve
> 
> > -----Original Message-----
> > From: sunhelp-admin at sunhelp.org [mailto:sunhelp-admin at sunhelp.org]On
> > Behalf Of dhansen at zebra.net
> > Sent: Tuesday, June 20, 2000 4:58 PM
> > To: sunhelp at sunhelp.org
> > Subject: RE: [Sunhelp] Alias on the loopback interface...
> >
> >
> >
> >
> >
> >  You can configure logical interfaces to the loopback under
> > Solaris just as you do any other device.
> >      ifconfig lo0:1 aaa.aaa.aaa.aaa bbb.bbb.bbb.bbb up
> >      ifconfig lo0:1 cluster_address 127.0.0.1 up
> > or whatever suits your purposes.
> >
> >  If you state what you have tried then you can eliminate
> > people re-telling you advice that you have already tried and
> > you risk having a more clear answer that also explains what
> > you may have done wrong in your earlier attempts.
> >
> >  -david
> >
> > --- Original Message ---
> > "Steven Levin" <steven.levin at ipix.com> Wrote on
> > Tue, 20 Jun 2000 14:30:16 -0700
> >  ------------------
> > Is it possible to add an alias IP to the loopback interface?
> >  I know it is
> > under some other *IX systems.
> >
> > Why do I want to, you ask?
> >
> > Well, for a meshed environment, what I want to do is run dual
> > NICs, each one
> > with a private network address.  Then I want to alias the
> > internet-routable
> > address to the loopback, and have each server announce that it
> > has the route
> > to that Internet IP.  This will allow the servers to route around
> > a failed
> > switch, for example (each NIC being connected to a different
> > switch).
> >
> > but Solaris (at least, 2.8/x86) it doesn't seem to be working...
> >
> > Thanks!
> >
> > Steve
> >
> > _______________________________________________
> > SunHELP maillist  -  SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> >
> >
> > -----
> > Sent using MailStart.com ( http://MailStart.Com/welcome.html )
> > The FREE way to access your mailbox via any web browser, anywhere!
> >
> > _______________________________________________
> > SunHELP maillist  -  SunHELP at sunhelp.org
> > http://www.sunhelp.org/mailman/listinfo/sunhelp
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp





More information about the SunHELP mailing list