Re: Solaris and lack of loopback routes

From: Jon (
Date: 08/10/02

Date: Fri, 9 Aug 2002 22:23:33 -0400
From: Jon <>
To: Darren Moffat <Darren.Moffat@Sun.COM>


> I'm willing to log a bug or rfe on this for Solaris but before I do
> I need someone to re-state clearly what the problem is that adding a
> route to the network rather than the host is. In
> addition to that why we should change the existing behaviour of Solaris
> from what it is today.

Crist already did a great job explaining what and why, but I just want to
add a bit as to why I think the Solaris behavior should change.

Traffic destined for the loopback network ( should go out over
the loopback device, and as a result never leave the local machine. Not
only this logically the desired behavior, the RFC says so.

So why is Solaris' default behavior problematic? To be honest, I can't
think of all that many situations where sending loopback traffic over a
device other than the loopback device would be problematic. Combined with
poor and/or incorrect DNS records, mail is obviously a problem. Other
services like http, ssh and telnet aren't so bad because the connection
will quickly timeout and die. DNS is probably in a similar boat. Its more
of annoyance than anything.

When traffic destined to a host on the loopback network (excluding
localhost) is sent from a Solaris/SunOS box, the default behavior is
problematic and in some cases misleading. Thats why I think it should

Even with no route for the loopback network, on all the non-Solaris systems
I've seen, traffic destined for the loopback network will still go out over
the loopback device as long as the netmask allows it. Thats not to say
that Solaris should change its bevahior, but I have yet to hear reasons why
Solaris acts this way or why it shouldn't change.



Relevant Pages

  • Solaris and lack of loopback routes
    ... I'm curious why Solaris doesn't have a route for the loopback ... This has recently become a problem when dealing with spam. ... MX resolve to something on the loopback network. ...
  • Re: Solaris and lack of loopback routes
    ... All of the Linux and *BSD boxen I've dealt with have a route ... > for the loopback network, but Solaris seems to lack this. ... What's ironic is I have several Linux boxes I run on a home network that ...
  • Re: Mounting dd images question
    ... > this image on another Sun for read-only analysis? ... In Solaris 8, Sun introduced the "lofi" loopback file driver. ... manipulate filesystem images via /dev/lofi and /dev/rlofi just as you ... analogous to what you can with the loopback device under Linux. ...
  • Re: Need Help - SS20 Solaris 9 - SX (cg14) Graphics
    ... Alternatively, what about fvwm? ... Dude, if actually wanted to get some work done, I'd used my quad core ... The idea that all the "new" stuff thats come out since 1993 only ... Solaris 9 is actually faster than Solaris 8, ...
  • Re: Nice Ultra w/SUN Pci, large HDD, clean
    ... > 80 GB IDE INTERNAL HDD, SOLARIS 8, KEYBOARD and MOUSE ... > Thats not a typo its got a big hard disks, you can't do much with 8 gb? ...