mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ross Vandegrift <ross@kallisti.us>
To: Dan Stromberg <dstromberglists@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ifconfig changing a routing table?
Date: Sat, 1 Sep 2007 12:33:35 -0400	[thread overview]
Message-ID: <20070901163335.GB13190@kallisti.us> (raw)
In-Reply-To: <fb83g8$nac$1@sea.gmane.org>

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@kallisti.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

      parent reply	other threads:[~2007-09-01 16:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-31  3:55 Dan Stromberg
2007-08-31  4:41 ` David Miller
2007-09-01 16:33 ` Ross Vandegrift [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070901163335.GB13190@kallisti.us \
    --to=ross@kallisti.us \
    --cc=dstromberglists@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®