From: chenweilong <chenweilong@huawei.com>
To: <netdev@vger.kernel.org>
Subject: BUG: Didn't modify route table when change interface's second address
Date: Tue, 17 Dec 2013 11:06:50 +0800 [thread overview]
Message-ID: <52AFBFCA.4060401@huawei.com> (raw)
Hi,
The bug came out by this:
1.ifconfig eth0:1 192.168.0.1
2.route add default gw 192.168.0.1
3.ifconfig eth0:1 172.168.0.1
4.route table is:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
default 128.5.130.254 0.0.0.0 UG 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
128.5.130.0 * 255.255.255.0 U 0 0 0 eth0
link-local * 255.255.0.0 U 0 0 0 eth0
172.168.0.0 * 255.255.0.0 U 0 0 0 eth0
Notice that,192.168.0.1 should be deleted because eth0:1's IP had been changed.
This bug seems to be long time exist.I test on kernel version 2.6.32 and 3.0.13,they both have the question.
https://bugzilla.kernel.org/show_bug.cgi?id=67171
reply other threads:[~2013-12-17 3:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=52AFBFCA.4060401@huawei.com \
--to=chenweilong@huawei.com \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).