Re: netstat -r and /proc/net/route differences depending on kernel version

From: Jeff Vian (jvian10_at_charter.net)
Date: 04/28/05

  • Next message: Kenneth Geddings Jr.: "security options (re) brute force attack"
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    Date: Wed, 27 Apr 2005 20:54:42 -0500
    
    

    On Wed, 2005-04-27 at 10:18 -0500, Aleksandar Milivojevic wrote:
    > Coleuge of mine just noticed one difference between 2.4 and 2.6 kernels.
    > cat /proc/net/route (and output of netstat -r) does not have info for
    > 127.0.0.1/8 network on 2.6 kernels (used to have it on 2.4 kernels).
    >
    > Bug? Omission? Cosmetic change? Feature?
    >

    I have no idea why the change. But IMHO, worrying about that is a lot
    of wasted worries.

    127.0.0.0/8 is by definition a non-routable subnet on the internet.

    Any subnets you route within that address range must be explicitly
    routed anyway unless it is used on the LAN network and the loopback
    address does not need routing so I see no reason to expect it to have a
    default route.

    There is also another consideration. Having 2 addresses on the same
    subnet on the same machine can easily cause routing problems. The
    loopback address is 127.0.0.1/8. Another address on the same subnet on
    the same machine on a different interface can cause a problem. Ergo,
    why hassle with it. Leave it out of the routing table totally and forget
    it exists.

    > --
    > Aleksandar Milivojevic <amilivojevic@pbl.ca> Pollard Banknote Limited
    > Systems Administrator 1499 Buffalo Place
    > Tel: (204) 474-2323 ext 276 Winnipeg, MB R3T 1L7
    >

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Kenneth Geddings Jr.: "security options (re) brute force attack"

    Relevant Pages

    • Re: Routing Problem
      ... Subject: Routing Problem ... each with a different subnet. ... it should use the second default gateway. ... > routers configured on multiple interfaces connected to two or more ...
      (freebsd-questions)
    • Re: MultiHomed Workstation - Which NIC is being used?
      ... Regardless of which interface received ... the same routing rules apply for return traffic. ... >> the subnet mask. ... >> load balancing of multiple NICs and default gateways. ...
      (microsoft.public.win2000.networking)
    • Re: Could an ICMP Redirect have disconnected my server?
      ... yes - but you seem to have a strange network ... does a routing table entry from an ICMP Redirect time out? ... systems with the same subnet number. ...
      (comp.os.linux.networking)
    • Re: VPN connection works, lan access fails
      ... "real" routing going on because they are all in the same IP subnet. ... the LAN to pick up replies for the remotes. ... through the VPN server. ...
      (microsoft.public.win2000.ras_routing)
    • Re: please advise - problem with routing
      ... > Sorry for the confusion, again, ther is cisco router which connects ... > "Dana Brash" wrote in message ... >> This configuration can be accomplished by changing the subnet mask on ... >> routing anything and just using a different subnet mask, ...
      (microsoft.public.windows.server.networking)