[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070901163335.GB13190@kallisti.us>
Date: Sat, 1 Sep 2007 12:33:35 -0400
From: Ross Vandegrift <ross@...listi.us>
To: Dan Stromberg <dstromberglists@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: ifconfig changing a routing table?
On Fri, Aug 31, 2007 at 03:55:53AM +0000, Dan Stromberg wrote:
> Is anyone on the list familiar with ifconfig up and/or ip link up
> changing a routing table? How does the kernel decide what route to add
> in such a circumstance?
By the parameteres you supplied for the interface configuration.
So, if you're getting a connected route for 10.3.0.0/16 out of dev
eth0, it's because you assigned some IP in that subnet to that device,
with a netmask of 255.255.0.0
Check that your netmask is correct.
--
Ross Vandegrift
ross@...listi.us
"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37
-
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