From owner-freebsd-net@freebsd.org Wed Sep 28 15:12:08 2016 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 CBA3EC013F8 for ; Wed, 28 Sep 2016 15:12:08 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-qk0-x234.google.com (mail-qk0-x234.google.com [IPv6:2607:f8b0:400d:c09::234]) (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 7D35616B6 for ; Wed, 28 Sep 2016 15:12:08 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-qk0-x234.google.com with SMTP id z190so49907391qkc.3 for ; Wed, 28 Sep 2016 08:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fWs4s+IuI8exN38U5bWv8LYy8+lP+//dCxyxPeyF890=; b=r77FI6LQ+UhmLcurqPJYPjUvRVuv9KGCLDlRiVioC27h3DfJ00uEjRTg33EQBXPnA8 c4q481qJxNMSzPK5QbRiUPydZUKSHV8w2uyArJCk3w67KkxirqyPsCq4wwSf+Kef0Fiz 365mW0LM8635X14mv3bkMSmLxHmUT3Q1lzzkSfXXw9Z1+YyMJ7CZ2Rsk0qTZMEGckgN7 zTNPbSN4PszWeCio7FpWFDKrg5YI7ndF4rl5PPPSN9vXshm3abEOV9fX8WCQStXTDyFr eBQacGn6s3aOO8e2BQSieLN61RGU+SpvlNab83va249Tb1HfAAdI6b6WlQhRdf2jSJbZ SBbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fWs4s+IuI8exN38U5bWv8LYy8+lP+//dCxyxPeyF890=; b=Tn3Rlfxx69LRjU6pQZNA6vL/WO1++1iTyWZtTXLF5fgO9wO5njjySzCHboVR5+KjnZ mdhZG/FUboLYwL2dZ6YmqYwbZ7jJqag5NNGWinUsJTuC7uMeUpYvdVNPuOIFa6G+mUEl 7uFtbHcfDkKtlIbLzbVrxzSORU0gemTp0rCn12ZhaHXtEe1VsJpzyxmgU+2Ab8zrXWTo 5Z2+zBBkVL/9AuSbx0Ehs1PEOZHb2SBfMEDNgeygNkTZ6EkcsZgSRf/NCGPoF079DpHo jayPncPDH4dC3zitX4ykfez9ZyoNq5mecg0ovFGDy7gNB9idbbRXnJve1kSLhbedq2HM Kf2Q== X-Gm-Message-State: AA6/9RlhD5QjADx8jVN3/GwH0fphGoDIzon9IS7WpHjVrGnM91BFosxVDJkpT+/z5YkPs6+P1ZotQmtKWgsmZQ== X-Received: by 10.55.126.195 with SMTP id z186mr37334589qkc.76.1475075527496; Wed, 28 Sep 2016 08:12:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.129.239 with HTTP; Wed, 28 Sep 2016 08:12:06 -0700 (PDT) In-Reply-To: References: <653b4473-558b-5ef8-41b7-080ec6c5584d@multiplay.co.uk> <2A35EA60C3C77D438915767F458D65688394B821@ORSMSX111.amr.corp.intel.com> From: Freddie Cash Date: Wed, 28 Sep 2016 08:12:06 -0700 Message-ID: Subject: Re: "igb" interfaces aren't picking up media on boot To: Andrew Savchenko Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Wed, 28 Sep 2016 15:12:08 -0000 On Wed, Sep 28, 2016 at 8:02 AM, Andrew Savchenko wrote: > MAC's and IP's are abviously changed. > For the moment being I have "solved" this by a tiny script in /etc/rc.d/ > that restarts networking & routing after the system boot: > =E2=80=8BDo the NICs eventually pick up carrier status if you leave it afte= r boot? Could it just be slow picking up status changes? We had a couple em(4) or igb(4) (forget now) NICs that were like that. Took a good minute after boot before the NIC was finished initialising and detected the link. If that's the case, and you don't mind the wait (and want to make sure networking is working once the boot is complete), you can use the netwait_* options in /etc/rc.conf. That will pause the boot process until either the network link status changes to up, and/or you can ping the default gateway or any other IP on the network. Worked for us. Might work for you.=E2=80=8B --=20 Freddie Cash fjwcash@gmail.com