From owner-freebsd-net@FreeBSD.ORG Sat Jul 12 02:32:37 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE230E95 for ; Sat, 12 Jul 2014 02:32:37 +0000 (UTC) Received: from mail.bsdinfo.com.br (mail.bsdinfo.com.br [67.212.89.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ACEB62203 for ; Sat, 12 Jul 2014 02:32:37 +0000 (UTC) Received: from mail.bsdinfo.com.br (mail.bsdinfo.com.br [127.0.0.1]) by mail.bsdinfo.com.br (Postfix) with ESMTP id 1634D139CA for ; Fri, 11 Jul 2014 23:32:34 -0300 (BRT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bsdinfo.com.br; h=content-transfer-encoding:content-type:content-type :in-reply-to:references:subject:subject:to:mime-version :user-agent:from:from:date:date:message-id; s=dkim; t= 1405132353; x=1405996354; bh=+yjLHaQ36GqD+/Wg9eMCJNMJtxpxZX+uPvk sJVrEeqo=; b=UGS2x790AVayAhJ18vAtTnpdkPHhwYnrlYl5gIWT7FHwIKQ+pgQ K91L9CptVkCTwYSa8CIC7n1mOq2Y0xsDgWJEeOjpgyhA3GghZlbWbu4gFOnQV33m TyLBEDpsOXnDayWO8ENyAkOgFyDh9YESM2hPdx0VKX8j3InnKpBJUMVU= X-Virus-Scanned: amavisd-new at mail.bsdinfo.com.br Received: from mail.bsdinfo.com.br ([127.0.0.1]) by mail.bsdinfo.com.br (mail.bsdinfo.com.br [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x6yaGL1BXiaY for ; Fri, 11 Jul 2014 23:32:33 -0300 (BRT) Received: from [192.168.10.208] (unknown [186.193.54.69]) by mail.bsdinfo.com.br (Postfix) with ESMTPSA id E2004139C9; Fri, 11 Jul 2014 23:32:32 -0300 (BRT) Message-ID: <53C09E38.1020909@bsdinfo.com.br> Date: Fri, 11 Jul 2014 23:32:24 -0300 From: Marcelo Gondim User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: John Jasem , FreeBSD Net Subject: Re: Network Intel X520-SR2 stopping References: <53C0225D.7060608@gmail.com> In-Reply-To: <53C0225D.7060608@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2014 02:32:37 -0000 Em 11/07/2014 14:43, John Jasem escreveu: > Marcelo; > > I recently had a case where an Intel card was flapping, but using LR > transceivers. Turns out, the cable ends needed to be re-polished, as not > enough light was making it through to register transmit power. > > You and the networking people may want to spend a few moments exploring > that path. > > -- John Jasen (jjasen@gmail.com) Hi John, In my case I had to create a script for ping test and if ping not respond then to do a down and up in interface. #!/bin/sh while true ; do if ! ping -n -c 1 186.xxx.48.2; then if ! ping -n -c 1 186.xxx.61.2; then if ! ping -n -c 1 186.xxx.54.2; then if ! ping -n -c 1 177.xxx.240.253; then /sbin/ifconfig ix0 down /sbin/ifconfig ix0 up echo "`date`" >> /root/ix.log echo "`netstat -in|grep ix0|grep 1500`" >> /root/ix.log fi fi fi fi sleep 10 done