From owner-freebsd-net@FreeBSD.ORG Sat Jun 22 01:11:36 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 153EEDD3 for ; Sat, 22 Jun 2013 01:11:36 +0000 (UTC) (envelope-from voxadam@gmail.com) Received: from mail-la0-x22b.google.com (mail-la0-x22b.google.com [IPv6:2a00:1450:4010:c03::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 967A91318 for ; Sat, 22 Jun 2013 01:11:35 +0000 (UTC) Received: by mail-la0-f43.google.com with SMTP id gw10so8133016lab.16 for ; Fri, 21 Jun 2013 18:11:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=no+aHrcUh9T1UGg+KF0D98KXchK+gWR1a9nzf9d7SeM=; b=0jZYZC3NNI8Ngc9VgBz0rP+8WgIdk+7PECZPRpv8P12CJf/QUGJAyX5pcdWTJ4Guge dAhFd70OXmDC+hhTMaGSHrPkpC/8PePzz1IPvf4sTzPX3Gnxx3kaytChfq5MqZ1J+xug ulksc9auA8/fqwiTwZc7V62WaYVLocH6KekGTg4GdjxGg0KvWHQA3rPtoVeU/RzYxBn4 NzhM8/ZnKiHf0WmE8i1/QuyTiTpb+o0Gf4Ny2P4KZFmp4KtOpZQjbp40wk3OhFbRs4Yo cSzabFCMBfueOpAX8T/QgrUL58mU+SXXNlhu5lXf5++Jf3dm/W3z6vLlGk+z1hC58eMq SMgA== X-Received: by 10.112.180.164 with SMTP id dp4mr2348686lbc.68.1371863494422; Fri, 21 Jun 2013 18:11:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.4.200 with HTTP; Fri, 21 Jun 2013 18:11:14 -0700 (PDT) From: Adam Hunt Date: Fri, 21 Jun 2013 18:11:14 -0700 Message-ID: Subject: Flapping WAN with axe interface To: freebsd-net@freebsd.org, wpaul@windriver.com Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 22 Jun 2013 01:11:36 -0000 I just replaced my old WRT54GS running DD-WRT at home with a proper pfSense firewall. The only real problem I've had is my WAN link to Comcast goes down at least every twelve hours. I used to think it was almost exactly every twelve hours (leading me to think Comcast's DHCP server hated me) but I have since noticed that the WAN flaps at less predictable intervals. I can't figure out if it's related to DHCP or not. I can say that nothing out of the ordinary was going on on my network when this happens. It happens whether or not anyone is actively using any of the systems on the network. It can happen when I'm working, browsing, and streaming Netflix or it can happen everyone in the house is asleep and most everything is down or idle. One thing that I have learned since I starting this adventure is that it's in some way related to my D-Link DUB-E100 rev B1 USB NIC. I know that USB isn't the preferred interface for networking but it's what I had. I'm currently using a 3.4 GHz P4 Prescott Dell OptiPlex GX620 "ultra small form factor" desktop for my firewall and it doesn't have any PCI/PCIe expansion so I'm left with USB. For some reason I had a D-Link DUB-E100 ver. B (AX88772) adapter laying in a box, since it was on the 8.3 HCL I decided to give it a try. Below you'll find the my system, dhcp, and gateway logs for the time that the link goes down. If you need any other logs or other information I'll be more than happy to provide it. system.log: http://pastebin.com/mxuXd55w dhcp.log: http://pastebin.com/tvAihELQ gateways.log: http://pastebin.com/2cZqjJBa So, after watching the logs, thinking, talking on IRC, checking with the pfSense forums I decided to perform a simple experiment. I swapped the interfaces, I connected my DOCSIS bridge to the bge0 onboard interface, and hung my LAN off the USB NIC. Ever since swapping the interfaces everything has been quiet. I haven't seen a single error in any of my logs. What are your thoughts? Is is a Comcast issue, an issue with the DOCSIS bridge, an axe bug, a USB bug, some combination of issues, or something different entirely? I realize I could just leave everything as is but I'd like to help solve this little mystery. Also, years ago I was taught it's bad form not to report potential bugs. Thanks for your help. --adam