From: jiangtao.jit@gmail.com (jiangtao.jit)
To: kernelnewbies@lists.kernelnewbies.org
Subject: performance about use Linux as a router
Date: Wed, 6 Jul 2011 23:48:18 +0800 [thread overview]
Message-ID: <201107062348163127260@gmail.com> (raw)
In-Reply-To: 201107062259493909801@gmail.com
>On Wed, Jul 6, 2011 at 3:59 PM, jiangtao.jit <jiangtao.jit@gmail.com> wrote:
>> dear all:
>>
>> i have a x86 PC and i use it as a router
>> the kernel is 2.6.38
>>
>> there are two NICs: eth0 and eth1
>>
>Can you show the interface configs for both the NICS and the Bridge?
dear Sunny:
these are the commands i used
1.i use ifconfig eth0 0.0.0.0 cleared the eth0's ip
2.brctl addbr br0
3.brctl addif br0 eth0
4.ifconfig br0 10.1.0.1
5.brctl show like
bridge name bridge id STP enabled interfaces
br0 no eth0
6.route like
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.0.0.0 U 0 0 0 br0
11.0.0.0 * 255.0.0.0 U 0 0 0 eth1
default 11.1.0.2 0.0.0.0 UG 0 0 0 eth1
are these info useful?
thanks
---------------------
2011-07-06
jiangtao.jit
next prev parent reply other threads:[~2011-07-06 15:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-06 14:59 performance about use Linux as a router jiangtao.jit
2011-07-06 15:48 ` jiangtao.jit [this message]
2011-07-06 16:23 ` Kristof Provost
2011-07-07 2:44 ` Tharindu Rukshan Bamunuarachchi
2011-07-07 11:47 ` tao jiang
-- strict thread matches above, loose matches on Subject: below --
2011-07-06 11:17 jiangtao.jit
2011-07-06 12:09 ` Calvin Johnson
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=201107062348163127260@gmail.com \
--to=jiangtao.jit@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.