Hello bridge users,

please be patient, long message, sorry.

Wednesday, April 2, 2003, 9:07:52 PM, you wrote:

>> I`ve built a bridge on Debian with kernel 24.18 (then on 2.4.19) +
>> appropriate patch (exactly like in mini-HOWTO with and without
>> firewalling). I have every time enormous pacekt loss (80 to 90%).
>> I`ve looked at the list archive and think that`s a problem with my
>> NIC`s, because i use rtl8139.  Is there any possibility to make
>> them work corectly??? Or maybe there`s another problem??
>> Please help me.

BDS> I use rtl8139 too and have no problem. Did you use tcpdump (or the like) to 
BDS> find out what is going on?

1)
I`ve used tcpdump, to check the traffic on my bridge interfaces.
It look`s like this (where my_workstation_ip and
 local_network_computer_ip are in the same class C network,):

[eth2]
12:31:36.934990 truncated-ip - 128 bytes missing!my_workstation_ip >  
local_network_computer_ip : icmp: echo request
12:31:37.936296  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:37.936484  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:38.937593  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:38.937786  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:39.938911  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:39.939093  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:40.940178  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:40.940367  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:42.942785  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:43.944082  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:43.944270  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:44.944988 truncated-ip - 128 bytes missing! my_workstation_ip  >  
local_network_computer_ip : icmp: echo request
12:31:45.946732  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:45.946940  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:46.947974  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:46.948156  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:47.949286  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:47.949482  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:48.950209  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:48.950398  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:50.953219  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:51.954507  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:51.954702  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply

[eth1]
12:31:38.937557  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:38.937825  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:39.938875  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:39.939130  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:40.940139  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:40.940403  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:42.942751  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:43.944049  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:43.944303  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:44.944955 truncated-ip - 128 bytes missing! my_workstation_ip  >  
local_network_computer_ip : icmp: echo request
12:31:45.946698  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:45.946979  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:46.947940  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:46.948189  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:47.949253  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:47.949517  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:48.950174  my_workstation_ip  >  local_network_computer_ip : icmp: echo request
12:31:48.950433  local_network_computer_ip  >  my_workstation_ip : icmp: echo reply
12:31:50.953183  my_workstation_ip >  local_network_computer_ip : icmp: echo reques

What i see, there are more echo request than replay, but the traffic
on both NIC looks the same. And another
thing: truncated-ip - i`ve read something about it on google, but i`m
still not sure what does it realy mean??

2)
My bridge configuration look`s like this (mojmost means mybridge in
polish):

brctl show
bridge name     bridge id               STP enabled     interfaces
mojmost         8000.000244269151       yes             eth1
                                                        eth2

brctl showstp mojmost
mojmost
 bridge id              8000.000244269151
 designated root        8000.00019665179f
 root port                 2                    path cost                127
 max age                  20.00                 bridge max age             4.00
 hello time                2.00                 bridge hello time          1.00
 forward delay            15.00                 bridge forward delay       4.00
 ageing time             300.00                 gc interval                4.00
 hello timer               0.00                 tcn timer                  0.00
 topology change timer     0.00                 gc timer                   1.30
 flags                  TOPOLOGY_CHANGE


eth1 (1)
 port id                8001                    state                   forwarding
 designated root        8000.00019665179f       path cost                100
 designated bridge      8000.000244269151       message age timer          0.00
 designated port        8001                    forward delay timer        0.00
 designated cost         127                    hold timer                 0.00
 flags

eth2 (2)
 port id                8002                    state                   forwarding
 designated root        8000.00019665179f       path cost                100
 designated bridge      8000.00051a0504e0       message age timer          4.79
 designated port        8009                    forward delay timer        0.00
 designated cost          27                    hold timer                 0.00
 flags

Is there any error?? I don`t see any....



3) But i offen gets on local bridge console message like this:

mojmost: topology change detected , propagating
mojmost: retransmitting tcn bpdu
mojmost: neighbour 8000.00:05:1a:05:04:e0 lost on port 2(eth2)
mojmost: retransmitting tcn bpdu
mojmost: retransmitting tcn bpdu
mojmost: retransmitting tcn bpdu



4) and my my interface configuration:

eth0      Link encap:Ethernet  HWaddr 00:C0:DF:E1:CB:FC
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:631 errors:0 dropped:0 overruns:0 frame:0
          TX packets:636 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:61170 (59.7 KiB)  TX bytes:61324 (59.8 KiB)
          Interrupt:10 Base address:0xff80

eth1      Link encap:Ethernet  HWaddr 00:50:FC:34:2A:E1
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:2033 errors:1 dropped:0 overruns:0 frame:0
          TX packets:78706 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:165942 (162.0 KiB)  TX bytes:7377108 (7.0 MiB)
          Interrupt:9 Base address:0xfc00

eth2      Link encap:Ethernet  HWaddr 00:02:44:26:91:51
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:78990 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2298 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:7401155 (7.0 MiB)  TX bytes:181842 (177.5 KiB)
          Interrupt:3 Base address:0xf800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2264 (2.2 KiB)  TX bytes:2264 (2.2 KiB)

mojmost   Link encap:Ethernet  HWaddr 00:02:44:26:91:51
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:80160 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6386070 (6.0 MiB)  TX bytes:0 (0.0 b)

Where:
eth0: is for secure login into bridge machine from my
      workstation thru patch-cable
eth1: bridge iface1 is connected to my workstation thru patch-cable
eth2: bridge iface2 is connected to local network thru cheap fast ethernet switch


Without my bridge everything works fine withoout any packet loss.

Anyone can help me please??!


-- 
Best regards,
 Krzysztof                            mailto:[EMAIL PROTECTED]

 PS.
 Once again, sorry for so long message.


_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to