From owner-freebsd-net@freebsd.org Sun Oct 1 01:19:32 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1EB2AE33881 for ; Sun, 1 Oct 2017 01:19:32 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC50E2440 for ; Sun, 1 Oct 2017 01:19:31 +0000 (UTC) (envelope-from leeb@ratnaling.org) Received: by mail-it0-x231.google.com with SMTP id x15so3727254itb.0 for ; Sat, 30 Sep 2017 18:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ratnaling-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=6Zjm3/a7Ho3EgbpS1JJSM3gnrLd9VyNh8XjvS6sxbl8=; b=qfUYnef4U/vxf+EZ01SX87xT80TGmvFI8BblUEWPbjB4mCZngRP2rXtrViCP8dqi1j kkRIqGadn5pFeqB91ZzNjI9mqbk4p8Hk2bFyGtQVYgXR/11VLsy8vVhOpyD8gNNCV87G i6ihatsvq/Gzx5PNfVUkbKJA7oNb8P1jzmpjl8Sa4sd9+vXVPizHjvORhQBlhfpkB1Cs FxA+be/fyI4T/h7cTtsxy/esR/ry4v9yfi8Pf9npYs7wE07ab5REoY+kBhbrV/JzClZi 7nEygMpAP2CyigKVN1niLpe7Q8GL3YM2UB5pm0cunctuCKYOv/Z1DNeBXU1CSmWw9g4/ cBwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=6Zjm3/a7Ho3EgbpS1JJSM3gnrLd9VyNh8XjvS6sxbl8=; b=GlQp05cCzcxVpJ3yxEvkVgU5UBQOkLKVP66CU4/vEd2VYj9bY1sHaqFEGRmfbPq9No UU0zUMa1okcrbg6Meit7VGAKjJkbNCtJ/Z/A0Rfkc/k4TBLUrvZ3ytqa3lc2NvoEFUgW k1hDheP+bQBLNRcJCyMlyqErdqIPyBN9HK6FXAbqD4J57mHHXcRPahxwb3lhcuW0oMP3 7FQlJ8SATHZCVIjyKTA5qWf3AWzC2hUeKJU97F8Sq3oCbRWFFQl1C1Cwc9KN3opp9ufK lAIn4iLYRJ/M7caZMho3gQnt4qHkZWu5McthWvSnFhFgYHRAwNLLVKX6Xi+UgTP+48Os lbWA== X-Gm-Message-State: AMCzsaU2IGx0gTXAb/3qeTMUFsQYsMmik2L8pJ5Tqu2vv7SGoKkN67Nw zbDKOWodY92vX9h9gV4BoEYyrK+SqG/Jj4UcLYfT8069 X-Google-Smtp-Source: AOwi7QDpAyE1b5m/rlpUU6FZxHQnTpssWCsdXiBBPKKRVCpiwD6OZkWITKrqZSx66HCo/I9O2EPHtf5ViHK2XPHqwmY= X-Received: by 10.36.167.5 with SMTP id a5mr13224817itf.69.1506820770875; Sat, 30 Sep 2017 18:19:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.126.74 with HTTP; Sat, 30 Sep 2017 18:19:30 -0700 (PDT) In-Reply-To: <100a8795-8b3c-e1b4-5fab-e79565761f6a@FreeBSD.org> References: <100a8795-8b3c-e1b4-5fab-e79565761f6a@FreeBSD.org> From: Lee Brown Date: Sat, 30 Sep 2017 18:19:30 -0700 Message-ID: Subject: Re: Problem with igb NIC on fresh 11 Install To: freebsd-net Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 01:19:32 -0000 OCR conversion is why the text is garbled. It appears if the parent NIC has no address assigned to it, it remains in the DOWN state. Manually UP-ing the igb0 interface got the VLAN's working. Adding VLANs to an interface doesn't UP the NIC and it took me a long time to realize that. Apparently I've never configured a pure trunk on FreeBSD before! The one-way traffic without VLAN (igb0 got an ip address so it went UP) was because the switch's port configuration was intentionally blocking VLAN1 (aka untagged packets), which apparently means block egress but allow ingress. Thanks for the feedback Matt. On Sat, Sep 30, 2017 at 5:41 PM, Matt Joras wrote: > On 09/30/2017 11:36, Lee Brown wrote: > > It looks like the driver is not passing packets from the VLAN layer to > the > > NIC. Switch counters verify this and netstat seems to indicate the same. > > ... > > root@rtr-net-r1: - # ifconfig igb0 > > igb0: flags=8c02 metric 0 mtu 1500 > > igb0 looks to be OACTIVE, (though I'm not sure why all your A's are > swapped with R's). When it's OACTIVE it will drop packets and generally > behave as if the link is down. Does igb0 stay in OACTIVE indefinitely, > or does it go back to a normal state at any point? > > Matt > >