Re: [Bridge] how to block STP bpdus on a particular port?

2008-04-18 Thread Stephen Hemminger
On Fri, 18 Apr 2008 09:21:21 + saurav barik [EMAIL PROTECTED] wrote: Hi, Can I refrain a particular port/interface on my linux bridge, to send and receive STP BPDUs? Is there any filter available for the same or should I customize linux bridge code? I googled and browsed through the

Re: [Bridge] default values

2008-04-14 Thread Stephen Hemminger
On Mon, 14 Apr 2008 14:43:38 +1000 Leigh Sharpe [EMAIL PROTECTED] wrote: Hi all, Can anybody tell me what the default values for setageingtimer and setgcint are? Regards, Leigh Leigh Sharpe Network Systems Engineer Pacific Wireless Ph +61 3 9584 8966 Mob 0408 009

Re: [Bridge] RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git; a=summary problems

2008-04-01 Thread Stephen Hemminger
Joakim Tjernlund wrote: On Tue, 2008-04-01 at 15:27 +0530, Srinivas M.A. wrote: Curious, why is RSTP in user space? Lots of protocols are in the kernel, why not RSTP too? For one thing it is easier from a development standpoint. The kernel just needs to provide hooks for

Re: [Bridge] RSTP in http://git.kernel.org/?p=linux/kernel/git/shemminger/rstp.git; a=summary problems

2008-04-01 Thread Stephen Hemminger
On Mon, 31 Mar 2008 19:06:14 +0200 Joakim Tjernlund [EMAIL PROTECTED] wrote: On Mon, 2008-03-31 at 09:06 -0700, Stephen Hemminger wrote: On Sat, 29 Mar 2008 18:10:24 +0100 Joakim Tjernlund [EMAIL PROTECTED] wrote: -Original Message- From: Joakim Tjernlund [mailto:[EMAIL

Re: [Bridge] Bridge sysfs port_no overflow

2008-03-31 Thread Stephen Hemminger
On Mon, 31 Mar 2008 09:11:31 +0200 Osama Abu Elsorour [EMAIL PROTECTED] wrote: All We are running a setup with a large number of bridge ports that reaches the 900 ports. After switching to recent kernel and brctl- utils that uses the sysfs interface, we started noticing that the port

Re: [Bridge] [PATCH] Add vlan id to bridge forward database

2008-03-17 Thread Stephen Hemminger
On Mon, 28 Jan 2008 16:39:14 +0100 Jaime Medrano [EMAIL PROTECTED] wrote: I'm resending this mail since I got no answer. Is there any major problem in this? Stephen Hemminger wrote: What about the nested vlan case? Below is a new patch that handles the double-tagging case. I'm

Re: [Bridge] Question about using brctl and changing MAC addresses

2008-03-11 Thread Stephen Hemminger
On Mon, 10 Mar 2008 11:05:53 -0700 Philip Prindeville [EMAIL PROTECTED] wrote: I'm using Linux 2.6.20 (yes, I'll be upgrading to 2.6.24 as soon as it's stable). I have 4 VIA rhine ethernet controllers on my Soekris net5501, plus an ADSL PCI card (a Sangoma S-518) that runs in AAL5-SNAP

Re: [Bridge] bridge-utils and ppp

2008-03-10 Thread Stephen Hemminger
On Sun, 09 Mar 2008 09:58:57 -0400 Lou Steinberg [EMAIL PROTECTED] wrote: Hi Richard- [snip] Does a bridge test exist? What is the output of brctl show? [snip] Yes, the bridge exists. brctl shows: [EMAIL PROTECTED]:~$ brctl addif test ppp0 can't add ppp0 to bridge test:

Re: [Bridge] span/monitor port

2008-03-07 Thread Stephen Hemminger
On Fri, 7 Mar 2008 20:10:46 -0500 Gabriel Somlo [EMAIL PROTECTED] wrote: Hi, I was wondering if there's an established way to set up one or more ports of a bridge as 'span' or 'monitor' ports. I.e., once a port is in this state, it discards any packets it receives, and gets a copy of any

Re: [Bridge] Bridging troubles

2008-02-27 Thread Stephen Hemminger
On Wed, 27 Feb 2008 19:07:37 + George - [EMAIL PROTECTED] wrote: Hallo. I am trying to establish a bridge on my debian linux box between an ethernet and a wireless interface, in order to be able to connect to the bridge via my laptop's wireless. My laptop has WinXP. Well, i have a

Re: [Bridge] bridge-utils-1.4 unknown symbols

2008-02-22 Thread Stephen Hemminger
On Fri, 22 Feb 2008 15:31:30 -0500 [EMAIL PROTECTED] wrote: Greetings, I'm on a Gentoo vanilla-sources-2.6.24.2 kernel, with bridge-utils-1.4installed. When I try to modprobe bridge dmesg shows: Feb 22 15:22:51 indigo bridge: Unknown symbol br_handle_frame_hook Feb 22 15:22:51 indigo

[Bridge] Re: unidirectional traffic and flooding

2008-02-07 Thread Stephen Hemminger
to encounter this problem. Any ideas ? You should check the 802.1d standard. -- Stephen Hemminger [EMAIL PROTECTED] ___ Bridge mailing list Bridge@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/bridge

Re: [Bridge] Bridge not functional after disconnect / connect

2008-01-31 Thread Stephen Hemminger
There were some fixes to carrier handling that went into 2.6.24. commit 21d7f67700ad7a4523d35d43ce95755e40eae5b7 Author: Stephen Hemminger [EMAIL PROTECTED] Date: Mon Nov 26 11:54:51 2007 -0800 skge: fiber link up/down fix The driver would not work over fibre if other end when

Re: [Bridge] Learning BPDU source MACs in BLOCKING state = loss of IP connectivity

2008-01-26 Thread Stephen Hemminger
in 2.6.23. commit df1c0b8468b34628ed12b103804a4576cd9af8bb Author: Stephen Hemminger [EMAIL PROTECTED] Date: Thu Aug 30 22:15:35 2007 -0700 [BRIDGE]: Packets leaking out of disabled/blocked ports. This patch fixes some packet leakage in bridge. The bridging code was allowing forward

Re: [Bridge] trying to bridge eth0 usb0 but arp requests go to the wrong network

2008-01-19 Thread Stephen Hemminger
192.168.13.1 0.0.0.0 UG0 0 0 br0 Please reproduce without the interference of the proprietary VMware network. Since VM networking does it's own bridging, I suspect interference. Or go bug SUSE support -- Stephen Hemminger [EMAIL PROTECTED

Re: [Bridge] MAC addresses on ports

2008-01-16 Thread Stephen Hemminger
On Wed, 16 Jan 2008 15:09:48 +0100 Marian Jancar [EMAIL PROTECTED] wrote: Hi, I need some explanation/help with a probably bit uncommon bridge setup. I have devices that come with their manufacturer MAC addresses, and I need to create a bridge that uses my MAC address instead and has to

Re: [Bridge] Conflict between net/if.h and linux/if.h

2007-11-26 Thread Stephen Hemminger
I fixed the problem differently because I don't want more conditional compilation. The ideal fix would be to get glibc to the headers fixed to be compatible. Use linux/if.h rather than net/if.h for compatiablity with other headers. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED

Re: [Bridge] NFS over bridged interface

2007-11-14 Thread Stephen Hemminger
-- Stephen Hemminger [EMAIL PROTECTED] ___ Bridge mailing list Bridge@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/bridge

Re: [Bridge] Rx Buffer sizes on e1000

2007-11-13 Thread Stephen Hemminger
it, I'll dig it up. -- Stephen Hemminger [EMAIL PROTECTED] ___ Bridge mailing list Bridge@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/bridge

Re: [Bridge] Lowering CPU utilisation

2007-11-06 Thread Stephen Hemminger
before I need to worry too much. Did you remember to configure NAPI for the e1000 driver (it is optional). -- Stephen Hemminger [EMAIL PROTECTED] ___ Bridge mailing list Bridge@lists.linux-foundation.org https://lists.linux-foundation.org/mailman

Re: [Bridge] Lowering CPU utilisation

2007-10-31 Thread Stephen Hemminger
is going. You might be getting hit by the choice of network interface. -- Stephen Hemminger [EMAIL PROTECTED] ___ Bridge mailing list Bridge@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/bridge

Re: [Bridge] [PATCH 2.6.23.1] Kill STP hello timer if STP is not enabled

2007-10-16 Thread Stephen Hemminger
be moved up the call chain. -- Stephen Hemminger [EMAIL PROTECTED] ___ Bridge mailing list Bridge@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/bridge

Re: [Bridge] Simple bridge, something's wrong

2007-10-08 Thread Stephen Hemminger
to both 1 and 0; /proc/sys/net/bridge/bridge-nf-* all set to 0 or all set to 1. That doesn't seem to make any difference. Have you setup filter rules?? or just plan to in future. -- Stephen Hemminger [EMAIL PROTECTED] ___ Bridge mailing list Bridge

Re: [Bridge] bridge-utils-1.2 doesn't include configure?

2007-10-05 Thread Stephen Hemminger
, and this https://lists.linux-foundation.org/pipermail/bridge/2006-December/005187.html post seems to suggest someone else may have encountered the problem. ___ You need to run autoconf. -- Stephen Hemminger [EMAIL PROTECTED

Re: [Bridge] Arp Bridge

2007-09-19 Thread Stephen Hemminger
the request! Is there any mean to solve that? If you need to limit arp responses checkout arp_filter sysctl and stop doing the wierdness with IP addresses. If you are trying to do some form of security (or ISP workarounds) investigate using filtering (ebtables) to do it. -- Stephen Hemminger [EMAIL

Re: [Bridge] Jumbo frames support?

2007-08-01 Thread Stephen Hemminger
On Wed, 1 Aug 2007 14:09:45 +0200 Luca Lesinigo [EMAIL PROTECTED] wrote: The documentation says the bridge will work as far as all interfaces have the same MTU, but I also read on this and other mailing lists people having problems when using jumbo frames. What is the current status of

Re: [Bridge] My bridge is broken

2007-05-25 Thread Stephen Hemminger
: Yahoo!Go puts the Internet in your pocket: mail, news, photos more. -- Stephen Hemminger [EMAIL PROTECTED] ___ Bridge mailing list Bridge@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/bridge

Re: [Bridge] Performance and limitations of virtual bridges

2007-05-14 Thread Stephen Hemminger
___ Bridge mailing list Bridge@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/bridge -- Stephen Hemminger [EMAIL PROTECTED] ___ Bridge mailing list Bridge@lists.linux-foundation.org https://lists.linux-foundation.org/mailman

Re: [Bridge] Linux Bridge + NAT + firewall

2007-04-30 Thread Stephen Hemminger
On Mon, 30 Apr 2007 06:23:03 -0700 (PDT) Sebastian Tabarce [EMAIL PROTECTED] wrote: Hello everybody! I'm trying to setup at home a linux router for me and my 3 friends. Basically I had some spare network cards around and that is why I have not bought a switch or a router. Also all of us

Re: [Bridge] PVST

2007-04-26 Thread Stephen Hemminger
On Fri, 27 Apr 2007 10:47:42 +1000 Leigh Sharpe [EMAIL PROTECTED] wrote: Hi All, Does the current bridging code handle PVST properly, or just ordinary STP? Ordinary, STP. The 2.6.22 kernel will have all the bits to run STP in user mode, and there is a version of RSTP in userspace see:

[Bridge] [PATCH 3/4] bridge: if no STP then forward all BPDUs

2007-04-25 Thread Stephen Hemminger
-by: Stephen Hemminger [EMAIL PROTECTED] --- net/bridge/br_input.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) --- bridge-2.6.22.orig/net/bridge/br_input.c +++ bridge-2.6.22/net/bridge/br_input.c @@ -136,8 +136,14 @@ struct sk_buff *br_handle_frame(struct n if (skb

Re: [Bridge] linux bridge does not bridge bpdu packets

2007-04-23 Thread Stephen Hemminger
loop. Therefore, I suggest the following (probably not until 2.6.22) change: From 6188ced799c07054c64b0e15a645c674b0d256b8 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger [EMAIL PROTECTED] Date: Mon, 23 Apr 2007 16:54:20 -0700 Subject: [PATCH] bridge: forward STP BPDU's if not doing spanning tree

Re: [Bridge] linux bridge does not bridge bpdu packets

2007-04-22 Thread Stephen Hemminger
Roman Glebov wrote: Hallo, i have here transparent linux based bridge. The problem is : all stp packets which come to one side of the Bridge are not forwarded to the other side. Which distrubs stp when this device is put inbetween of two stp capable devices. It forwards all traffik through it.

Re: [Bridge] [BRIDGE] Unaligned access on IA64 when comparing ethernet addresses

2007-04-17 Thread Stephen Hemminger
David Miller wrote: From: Pavel Emelianov [EMAIL PROTECTED] Date: Tue, 17 Apr 2007 15:49:30 +0400 From: Evgeny Kravtsunov [EMAIL PROTECTED] compare_ether_addr() implicitly requires that the addresses passed are 2-bytes aligned in memory. This is not true for br_stp_change_bridge_id()

Re: [Bridge] [BRIDGE] Unaligned access on IA64 when comparing ethernet addresses

2007-04-17 Thread Stephen Hemminger
() and br_stp_recalculate_bridge_id() in which one of the addresses is unsigned char *, and thus may not be 2-bytes aligned. Signed-off-by: Evgeny Kravtsunov [EMAIL PROTECTED] Signed-off-by: Kirill Korotaev [EMAIL PROTECTED] Signed-off-by: Pavel Emelianov [EMAIL PROTECTED] Signed-off-by: Stephen Hemminger [EMAIL

Re: [Bridge] Bridging over a bonded interface?

2007-04-16 Thread Stephen Hemminger
On Mon, 16 Apr 2007 17:10:37 -0400 Ravi Ramamirtham [EMAIL PROTECTED] wrote: Hi, This may sound crazy but I will go ahead anyway. Here's my scenario: ifconfig bond0 10.10.10.1 netmask 255.0.0.0 ifenslave bond0 eth0 ifenslave bond0 eth1 brctl addbr stp0 brctl addif stp0 bond0 brctl

Re: [Bridge] UDP Framgment

2007-04-16 Thread Stephen Hemminger
On Mon, 16 Apr 2007 18:54:04 -0500 Fernando Rodriguez [EMAIL PROTECTED] wrote: Hello, I currently run a bridge with mastershaper but I im having somme issues regarding the udp packets that are fragmented is seems that they are unable to cross the bridge as they should they reach the

Re: [Bridge] RSTP implementation

2007-04-11 Thread Stephen Hemminger
/kernel/git/shemminger/rstp.git IT DOESN'T WORK YET. -- Stephen Hemminger [EMAIL PROTECTED] ___ Bridge mailing list Bridge@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/bridge

<    1   2   3   4   5