All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bridge] Bridge suddenly only passes traffic if in promiscuous mode
@ 2011-02-08 19:29 Jeff Mitchell
  2011-02-08 19:47 ` Ben Greear
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Mitchell @ 2011-02-08 19:29 UTC (permalink / raw)
  To: bridge

Hello,

I have a bridge to various interfaces. There is an IP address on the 
bridge, and hosts on the interfaces connected to the bridge use the 
bridge's IP address as a gateway. STP is off and the forwarding delay is 
set to 0.

This has been working fine, however, today I needed to change around 
some IPv6 addresses on the connected hosts. I made the IPv6 changes and 
rebooted those boxes, only to find that suddenly no traffic -- IPv4 *or* 
IPv6 -- was passing through the bridge.

When I pulled up tshark to see what was going on, traffic suddenly 
started flowing again. And even as I type this, as long as tshark is 
running on that interface (no matter what the capture filter is), 
traffic is flowing. The moment I stop tshark from running, traffic 
stops. IOW, the bridge is only passing traffic while in promiscuous mode.

I didn't change the IP address on the bridge itself. As far as I can 
tell I didn't do anything odd whatsoever. But I have no idea what's 
causing this and I'd really like to not reboot the box if at all possible.

Does anyone have any idea what might be causing this and/or how to 
troubleshoot this?

Thanks,
Jeff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bridge] Bridge suddenly only passes traffic if in promiscuous mode
  2011-02-08 19:29 [Bridge] Bridge suddenly only passes traffic if in promiscuous mode Jeff Mitchell
@ 2011-02-08 19:47 ` Ben Greear
  2011-02-08 19:50   ` Jeff Mitchell
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Greear @ 2011-02-08 19:47 UTC (permalink / raw)
  To: Jeff Mitchell; +Cc: bridge

On 02/08/2011 11:29 AM, Jeff Mitchell wrote:
> Hello,
>
> I have a bridge to various interfaces. There is an IP address on the
> bridge, and hosts on the interfaces connected to the bridge use the
> bridge's IP address as a gateway. STP is off and the forwarding delay is
> set to 0.
>
> This has been working fine, however, today I needed to change around
> some IPv6 addresses on the connected hosts. I made the IPv6 changes and
> rebooted those boxes, only to find that suddenly no traffic -- IPv4 *or*
> IPv6 -- was passing through the bridge.
>
> When I pulled up tshark to see what was going on, traffic suddenly
> started flowing again. And even as I type this, as long as tshark is
> running on that interface (no matter what the capture filter is),
> traffic is flowing. The moment I stop tshark from running, traffic
> stops. IOW, the bridge is only passing traffic while in promiscuous mode.
>
> I didn't change the IP address on the bridge itself. As far as I can
> tell I didn't do anything odd whatsoever. But I have no idea what's
> causing this and I'd really like to not reboot the box if at all possible.
>
> Does anyone have any idea what might be causing this and/or how to
> troubleshoot this?

What kernel version?

And, you are sniffing the physical interface, or the bridge?

Maybe send us output of brctl show, and ifconfig -a?

Promisc bit is sometimes hard to detect properly, so if you can, please
post /sys/class/net/[iface-name]/flags
If bit 0x100 is set, the NIC is actually promisc, regardless of what
ifconfig -a shows.

Thanks,
Ben

>
> Thanks,
> Jeff
> _______________________________________________
> Bridge mailing list
> Bridge@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/bridge


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Bridge] Bridge suddenly only passes traffic if in promiscuous mode
  2011-02-08 19:47 ` Ben Greear
@ 2011-02-08 19:50   ` Jeff Mitchell
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Mitchell @ 2011-02-08 19:50 UTC (permalink / raw)
  To: Ben Greear; +Cc: bridge@lists.linux-foundation.org

On 02/08/2011 02:47 PM, Ben Greear wrote:
> On 02/08/2011 11:29 AM, Jeff Mitchell wrote:
>> Hello,
>>
>> I have a bridge to various interfaces. There is an IP address on the
>> bridge, and hosts on the interfaces connected to the bridge use the
>> bridge's IP address as a gateway. STP is off and the forwarding delay is
>> set to 0.
>>
>> This has been working fine, however, today I needed to change around
>> some IPv6 addresses on the connected hosts. I made the IPv6 changes and
>> rebooted those boxes, only to find that suddenly no traffic -- IPv4 *or*
>> IPv6 -- was passing through the bridge.
>>
>> When I pulled up tshark to see what was going on, traffic suddenly
>> started flowing again. And even as I type this, as long as tshark is
>> running on that interface (no matter what the capture filter is),
>> traffic is flowing. The moment I stop tshark from running, traffic
>> stops. IOW, the bridge is only passing traffic while in promiscuous mode.
>>
>> I didn't change the IP address on the bridge itself. As far as I can
>> tell I didn't do anything odd whatsoever. But I have no idea what's
>> causing this and I'd really like to not reboot the box if at all possible.
>>
>> Does anyone have any idea what might be causing this and/or how to
>> troubleshoot this?
>
> What kernel version?
>
> And, you are sniffing the physical interface, or the bridge?
>
> Maybe send us output of brctl show, and ifconfig -a?
>
> Promisc bit is sometimes hard to detect properly, so if you can, please
> post /sys/class/net/[iface-name]/flags
> If bit 0x100 is set, the NIC is actually promisc, regardless of what
> ifconfig -a shows.

I found other funky behavior (sendmsg denied when trying to ping via 
IPv6) and users had trouble accessing services on the box, so I already 
initiated a reboot of the box -- I need those services up. :-|

If it happens again I'll be sure to get you that info.

However, here's what I *can* provide:
2.6.36 kernel, and sniffing the bridge. (There's actually no physical 
interface on the bridge -- this is on purpose, to prevent any problems 
on the bridge from affecting the one physical interface on the box, and 
thus my ability to get in and fix things.)

--Jeff

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-02-08 19:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-08 19:29 [Bridge] Bridge suddenly only passes traffic if in promiscuous mode Jeff Mitchell
2011-02-08 19:47 ` Ben Greear
2011-02-08 19:50   ` Jeff Mitchell

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.