From: Arun Sharma <asharma@fb.com>
To: Julian Anastasov <ja@ssi.bg>
Cc: <netdev@vger.kernel.org>, LKML <linux-kernel@vger.kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Stephen Hemminger <shemminger@vyatta.com>
Subject: Re: route add default fails with ESRCH?
Date: Wed, 22 Feb 2012 15:03:11 -0800 [thread overview]
Message-ID: <4F45742F.1070605@fb.com> (raw)
In-Reply-To: <4F45638B.30305@fb.com>
On 2/22/12 1:52 PM, Arun Sharma wrote:
> I'll try to figure out why my RT_TABLE_MAIN was empty after my network
> startup scripts finished. But given my experience with 2.6.38, fib_hash
> handled this case just fine and fib_trie broke it :(
>
Turns out that we had a /sbin/ifup-local that deleted all the routes
including default gw and populated the route afresh.
route del default gw ...
ip route | grep -v scope | awk '{print $1}' | while read route; do ip
route flush $route; done
This worked fine with fib_hash, but breaks with fib_trie. I'll
investigate why this was done and look for a workaround if possible.
-Arun
next prev parent reply other threads:[~2012-02-22 23:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4F3F0158.2020406@fb.com>
2012-02-22 19:28 ` route add default fails with ESRCH? Arun Sharma
2012-02-22 21:27 ` Julian Anastasov
2012-02-22 21:52 ` Arun Sharma
2012-02-22 23:03 ` Arun Sharma [this message]
2012-02-22 23:56 ` David Miller
2012-02-23 1:26 ` Arun Sharma
2012-02-23 0:02 ` Julian Anastasov
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=4F45742F.1070605@fb.com \
--to=asharma@fb.com \
--cc=davem@davemloft.net \
--cc=ja@ssi.bg \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=shemminger@vyatta.com \
/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