From owner-freebsd-net@FreeBSD.ORG Tue Nov 28 10:12:55 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8D91216A49E for ; Tue, 28 Nov 2006 10:12:55 +0000 (UTC) (envelope-from weiwu@sdf.lonestar.org) Received: from bossdog.realss.com (bossdog.realss.com [211.157.108.128]) by mx1.FreeBSD.org (Postfix) with ESMTP id 369F043DD4 for ; Tue, 28 Nov 2006 10:10:08 +0000 (GMT) (envelope-from weiwu@sdf.lonestar.org) Received: from localhost (unknown [127.0.0.1]) by bossdog.realss.com (Postfix) with ESMTP id E4DF41C00A0 for ; Tue, 28 Nov 2006 18:10:19 +0800 (CST) Received: from bossdog.realss.com ([127.0.0.1]) by localhost (bossdog.realss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28084-15 for ; Tue, 28 Nov 2006 18:10:19 +0800 (CST) Received: from [192.168.0.17] (sappho.realss.com [218.85.101.243]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by bossdog.realss.com (Postfix) with ESMTP id BDD561C0093 for ; Tue, 28 Nov 2006 18:10:18 +0800 (CST) From: =?UTF-8?Q?=E5=BC=A0=E9=9F=A1=E6=AD=A6?= To: freebsd-net@freebsd.org In-Reply-To: <1164708313.11743.19.camel@joe.realss> References: <1164708313.11743.19.camel@joe.realss> Content-Type: text/plain; charset=utf-8 Date: Tue, 28 Nov 2006 18:09:48 +0800 Message-Id: <1164708588.11743.23.camel@joe.realss> Mime-Version: 1.0 X-Mailer: Evolution 2.6.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at bossdog.realss.com Subject: Re: wired PPP problem: ppp connection fail, slow down on FreeBSD but fine on Windows X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Nov 2006 10:12:55 -0000 在 2006-11-28二的 18:05 +0800,张韡武写道: > The FreeBSD gateway machine has one end connect to ADSL modem through > pppoe, the other connects to LAN and act as NAT gateway. > > PPP connection can be established correctly, then after 5 hour or 10 > hour, connection speed become very slow or (more frequently) simply > cannot connect (a.k.a. browsing web pages time out). Then, ping from LAN > client hosts to external network would simply timeout, ping from NAT > gateway to 10.10.10.5 (that's the other end of the PPPOE connection) > keep getting this message: > ping: send to: No buffer space available > At the same time, top(1) shows 80~95 CPU resource is taken by > 'interrupt'. > > stop ppp by "/etc/rc.d/ppp stop" and re-start this process usually will > not get re-connected (/var/log/ppp.log is like 'carrier -> stop -> > redial', that is we don't reach the step of login). Reboot computer > usually also do not help. After fighting the problem for an hour or so, > suddenly it (pppoe) become working again. I forgot to mention in such case (connection is slow but not completely broken), top(1) often shows aroudn 20% to 30% CPU resource is taken by 'interrupt', 20% to 30% by ppp and around 50% free. Such situation won't last long before connection become completely useless.