Re: Solaris and lack of loopback routes

From: Jon (warchild@spoofed.org)
Date: 08/06/02


Date: Tue, 6 Aug 2002 12:13:04 -0400
From: Jon <warchild@spoofed.org>
To: "Brett W. McCoy" <bmccoy@chapelperilous.net>


> Not sure what you think may be missing, but every Sun box we have in my
> shop has a loopback route, even freshly jumpstarted ones:
>
> $ netstat -r
>
> Routing Table: IPv4
> Destination Gateway Flags Ref Use Interface
> -------------------- -------------------- ----- ----- ------ ---------
> 192.168.5.0 appserver U 1 15 dmfe0
> 224.0.0.0 appserver U 1 0 dmfe0
> default 192.168.5.1 UG 1 26
> localhost localhost UH 19 1531 lo0
>
> What's ironic is I have several Linux boxes I run on a home network that
> *don't* have loopback routes. :-)

(Reposted)

As I read it, your routing table still doesn't have a route for the entire
loopback network, but does have a route for a single host on the loopback
network, namely localhost (aka 127.0.0.1). All loopback traffic except
stuff that is destined for 127.0.0.1 should go out to your default gateway
192.168.5.1.
                                                                                                                                 
Here's my routing table on my laptop (Slackware linux 8.1):
                                                                                                                                 
$ /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0
                                                                                                                                 
                                                                                                                                 
-jon



Relevant Pages

  • Re: yet another vpn/routing question
    ... Route and that is the way it is supposed to look. ... RRAS and the problem has nothing to do with the Routing table. ... network is a single subnet private network, ... > with a internal network Nic and a Nic with Internet? ...
    (microsoft.public.windows.server.networking)
  • Re: AIX 1.3 Failures and Fables
    ... DESTINATION GATEWAY FLGS REFCNT USE INTERFACE ... Is my interpretation of the AIX 1.3 #man route correct? ... Manually manipulates the routing tables. ... Is the destination host or network. ...
    (comp.sys.ibm.ps2.hardware)
  • Re: Routing table problem
    ... I'm facing some routing table problem with XP O.S. ... server leg, 24.0 for published server leg, and XP clients have 16.0 leg. ... Moved my xp terminal to 24.0 network by adding ... timeout i didn't test that yet) and power back, the route table ...
    (microsoft.public.windows.server.networking)
  • Re: AIX 1.3 Failures and Fables
    ... I don't know if 1.3 has SMIT or its equivalent but there should be some way to add a default gateway which is your router. ... Is my interpretation of the AIX 1.3 #man route correct? ... Manually manipulates the routing tables. ... Is the destination host or network. ...
    (comp.sys.ibm.ps2.hardware)
  • Re: Solaris and lack of loopback routes
    ... > I'm curious why Solaris doesn't have a route for the loopback ... On all the Solaris systems I could get my hands on ... > have routes for traffic destined for the loopback network. ...
    (Focus-SUN)