lkml.org 
[lkml]   [2007]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: ifconfig changing a routing table?
From
From: Dan Stromberg <dstromberglists@gmail.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-08-31 06:43    [W:0.030 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site