Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Feb 2008 14:06:38 +0300
From:      Dmitry Antipov <dmantipov@yandex.ru>
To:        freebsd-stable@freebsd.org
Subject:   7.0 - slow/unstable Internet access via Linux router
Message-ID:  <47C7E73E.5010701@yandex.ru>

next in thread | raw e-mail | index | archive | help
Hello,

recently I've installed 7.0 and now I'm observing strange thing with my Internet connection.
Access to some sites may be VERY slow or doesn't work at all with different kinds of timeout
messages or without messages at all (but other sites works fine). For example, firefox may say
"Transferring data from..." message and then "The connection to the server was reset while
the page was loading", lynx just says "HTTP/1.1 200 OK" and displays no data, etc.

I'm also using Linux and Windows XP on the same machine, and the same sites are loaded very
quickly. Note I'm not using a proxy.

My NIC is:

mskc0: <Marvell Yukon 88E8053 Gigabit Ethernet> port 0xc800-0xc8ff mem 0xcdefc000-0xcdefffff irq 17 at device 0.0 on pci2
msk0: <Marvell Technology Group Ltd. Yukon EC Id 0xb6 Rev 0x01> on mskc0
msk0: Ethernet address: 00:11:2f:37:d5:19
miibus0: <MII bus> on msk0
e1000phy0: <Marvell 88E1111 Gigabit PHY> PHY 0 on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
mskc0: [FILTER]

And network configuration is:

msk0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
         options=19a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4>
         ether 00:11:2f:37:d5:19
         inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
         media: Ethernet autoselect (100baseTX <full-duplex>)
         status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
         inet 127.0.0.1 netmask 0xff000000

msk0 is DHCP-configured from Linux router, which is connected to ISP via PPPoE:

eth0      Link encap:Ethernet  HWaddr 00:01:C0:02:F5:45
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           ... 	
eth1      Link encap:Ethernet  HWaddr 00:01:C0:03:0A:66
           inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           ...
ppp0      Link encap:Point-to-Point Protocol
           inet addr:X.X.X.X P-t-P:10.0.0.1  Mask:255.255.255.255
           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
           ...

Here eth0 is a "transport layer" for ppp0, which is connected to ISP, and eth1 is a local
network interface. The Linux router does a full NAT for all machines from 192.168.1.0.

I've tried to reduce MTU to match router's ppp0 setting with "ifconfig msk0 mtu 1492" and even
down it to 1480, but it doesn't help.

Any ideas ?

Dmitry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47C7E73E.5010701>