All of lore.kernel.org
 help / color / mirror / Atom feed
From: kristof@sigsegv.be (Kristof Provost)
To: kernelnewbies@lists.kernelnewbies.org
Subject: performance about use Linux as a router
Date: Wed, 6 Jul 2011 18:23:34 +0200	[thread overview]
Message-ID: <20110706162334.GG29988@nereid> (raw)
In-Reply-To: <201107062348163127260@gmail.com>

On 2011-07-06 23:48:18 (+0800), jiangtao.jit <jiangtao.jit@gmail.com> wrote:
> 5.brctl show         like 
> bridge name     bridge id               STP enabled     interfaces
> br0                                                no              eth0

You've got a loop in your Ethernet network and spanning tree is
disabled.
The surprising bit is that you manage to get any packets through at all.

Ethernet packets don't have a TTL field, so if they end up in a loop
(for example br0 -> eth0 -> LAN -> eth1 -> br0 -> ...) they just keep
getting repeated.

brctl br0 stp on should fix your network.

I suspect you're trying to do bonding though, which (as far as I know,
having never played with it myself) is configured completely differently 
and might require support from the switch.

Regards,
Kristof

  reply	other threads:[~2011-07-06 16:23 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
2011-07-06 16:23   ` Kristof Provost [this message]
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=20110706162334.GG29988@nereid \
    --to=kristof@sigsegv.be \
    --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.