From: "Wlodzimierz Lipert" Date: Mon, 10 Sep 2007 09:26:38 +0000 Subject: [LARTC] Connection freeze when downloading Message-Id: <3a33c03b0709100226p461d3d29i8aee7751f3319dca@mail.gmail.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============0929493879==" List-Id: To: lartc@vger.kernel.org --===============0929493879== Content-Type: multipart/alternative; boundary="----=_Part_11119_31900510.1189416398463" ------=_Part_11119_31900510.1189416398463 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi. I have problem in following scenario: 3 routers A, B, C: router A: eth0--> DSL ( public IP ) eth1 --> 192.168.0.1 ( local network ) routing table A: 83.x.x.x/29 dev eth0 proto kernel scope link src 83.x.x.x 192.168.5.0/24 via 192.168.0.8 dev eth1 192.168.4.0/24 via 192.168.0.8 dev eth1 192.168.3.0/24 via 192.168.0.8 dev eth1 192.168.2.0/24 via 192.168.0.8 dev eth1 192.168.1.0/24 via 192.168.0.8 dev eth1 192.168.0.0/24 dev eth1 proto kernel scope link src 192.168.0.1 127.0.0.0/8 dev lo scope link default via 83.x.x.x dev eth0 router B: eth0 --> 192.168.0.8 ( direct RJ45 connection to router A ) ath0 --> 192.168.3.1 ( wireless AP -- only for bridging with router C ). ath1 --> 192.168.1.1 ( wireless AP, for clients ) ath2 --> 192.168.2.1 ( wireless AP, for clients ) routing table B: 192.168.5.0/24 via 192.168.3.2 dev ath0 192.168.4.0/24 via 192.168.3.2 dev ath0 192.168.3.0/24 dev ath0 proto kernel scope link src 192.168.3.1 192.168.2.0/24 dev ath1 proto kernel scope link src 192.168.2.1 192.168.1.0/24 dev ath2 proto kernel scope link src 192.168.1.1 192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.8 127.0.0.0/8 dev lo scope link default via 192.168.0.1 dev eth0 router C: eth0 --> 192.168.5.1 ( RJ45 connection for clients ) ath0 --> 192.168.3.2 ( wireless STATION -- bridges with router B ) ath1 --> 192.168.4.1 ( wireless AP, for clients ) routing table C: 192.168.5.0/24 dev eth0 proto kernel scope link src 192.168.5.1 192.168.4.0/24 dev ath1 proto kernel scope link src 192.168.4.1 192.168.3.0/24 dev ath0 proto kernel scope link src 192.168.3.2 192.168.0.0/24 via 192.168.3.1 dev ath0 127.0.0.0/8 dev lo scope link default via 192.168.3.1 dev ath0 THE PROBLEM: On first look all is fine but when I try to download http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe on router C, connection freezes after receiving some kilobytes ( random ). The same file is downloadble on router A and B with no problems. This link http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.22.6.tar.bz2 and many others are downloadble on on all routers A, B,C with no problem. It seems that some files freeze connection when sources by router C, but on A and B cause no problems. Example of conn. freeze: baator ~ # wget http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe --11:25:32-- http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe => `putty.exe' Resolving the.earth.li... 193.201.200.66 Connecting to the.earth.li|193.201.200.66|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://the.earth.li/~sgtatham/putty/0.60/x86/putty.exe [following] --11:25:32-- http://the.earth.li/~sgtatham/putty/0.60/x86/putty.exe => `putty.exe' Reusing existing connection to the.earth.li:80. HTTP request sent, awaiting response... 200 OK Length: 454,656 (444K) [application/x-msdos-program] 20% [=================> ] 93,775 --.--K/s ETA 00:47 Any Ideas? Thanks. -- Pozdrawiam. Wlodzimierz Lipert ------=_Part_11119_31900510.1189416398463 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi.

I have problem in following scenario:

3 routers A, B, C:

router A:

eth0--> DSL ( public IP )
eth1 --> 192.168.0.1 ( local network )

routing table A:

83.x.x.x/29 dev eth0  proto kernel  scope link  src 83.x.x.x
192.168.5.0/24 via 192.168.0.8 dev eth1
192.168.4.0/24 via 192.168.0.8 dev eth1
192.168.3.0/24 via 192.168.0.8 dev eth1
192.168.2.0/24 via 192.168.0.8 dev eth1
192.168.1.0/24 via 192.168.0.8 dev eth1
192.168.0.0/24 dev eth1  proto kernel  scope link  src 192.168.0.1
127.0.0.0/8 dev lo  scope link
default via 83.x.x.x dev eth0

router B:

eth0 --> 192.168.0.8 ( direct RJ45 connection to router A )
ath0 --> 192.168.3.1 ( wireless AP -- only for bridging with router C ).
ath1 --> 192.168.1.1 ( wireless AP, for clients )
ath2 --> 192.168.2.1 ( wireless AP, for clients )

routing table B:

192.168.5.0/24 via 192.168.3.2 dev ath0
192.168.4.0/24 via 192.168.3.2 dev ath0
192.168.3.0/24 dev ath0  proto kernel  scope link  src 192.168.3.1
192.168.2.0/24 dev ath1  proto kernel  scope link  src 192.168.2.1
192.168.1.0/24 dev ath2  proto kernel  scope link  src 192.168.1.1
192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.8
127.0.0.0/8 dev lo  scope link
default via 192.168.0.1 dev eth0


router C:

eth0 --> 192.168.5.1 ( RJ45 connection for clients )
ath0 --> 192.168.3.2 ( wireless STATION -- bridges with router B )
ath1 --> 192.168.4.1 ( wireless AP, for clients )

routing table C:

192.168.5.0/24 dev eth0  proto kernel  scope link  src 192.168.5.1
192.168.4.0/24 dev ath1  proto kernel  scope link  src 192.168.4.1
192.168.3.0/24 dev ath0  proto kernel  scope link  src 192.168.3.2
192.168.0.0/24 via 192.168.3.1 dev ath0
127.0.0.0/8 dev lo  scope link
default via 192.168.3.1 dev ath0


THE PROBLEM:

On first look all is fine but when I try to download http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
on router C, connection freezes after receiving some kilobytes ( random ). The same file is downloadble
on router A and B with no problems.
This link http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.22.6.tar.bz2 and many others
are downloadble on on all routers A, B,C with no problem.
It seems that some files freeze connection when sources by router C, but on A and B
cause no problems.

Example of conn. freeze:

baator ~ # wget http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
--11:25:32--  http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
           => `putty.exe'
Resolving the.earth.li... 193.201.200.66
Connecting to the.earth.li|193.201.200.66|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://the.earth.li/~sgtatham/putty/0.60/x86/putty.exe [following]
--11:25:32--  http://the.earth.li/~sgtatham/putty/0.60/x86/putty.exe
           => `putty.exe'
Reusing existing connection to the.earth.li:80.
HTTP request sent, awaiting response... 200 OK
Length: 454,656 (444K) [application/x-msdos-program]

20% [=================>                                                                       ] 93,775        --.--K/s    ETA 00:47


Any Ideas?
Thanks.

--
Pozdrawiam. Wlodzimierz Lipert ------=_Part_11119_31900510.1189416398463-- --===============0929493879== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============0929493879==--