[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070830.214126.95059798.davem@davemloft.net>
Date: Thu, 30 Aug 2007 21:41:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dstromberglists@...il.com
Cc: linux-kernel@...r.kernel.org
Subject: Re: ifconfig changing a routing table?
From: Dan Stromberg <dstromberglists@...il.com>
Date: Fri, 31 Aug 2007 03:55:53 +0000 (UTC)
> I'm not accustomed to ifconfig changing the routing table. Is this
> normal?
Every time you enable an IP address on an interface, the
kernel creates a route to that subnet which gets likewise
deleted when you remove that IP address.
This is why you can ping hosts on your local subnet even
before you add any explicit routes.
It's been like this since ancient times and it's correct.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists