From owner-freebsd-net@freebsd.org Wed Sep 28 12:00:13 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 124B2C005DB for ; Wed, 28 Sep 2016 12:00:13 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-pf0-x22d.google.com (mail-pf0-x22d.google.com [IPv6:2607:f8b0:400e:c00::22d]) (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 DDE241D9E for ; Wed, 28 Sep 2016 12:00:12 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by mail-pf0-x22d.google.com with SMTP id s13so16927015pfd.2 for ; Wed, 28 Sep 2016 05:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=KcQsDcpCGKmp9/GBpUoL79fiTyKmJuYFvGt5eJdf2Bw=; b=CiS/2WOlfq1RiXhiLYsern5i/rFXtOKH+IIOVY+gVrHRlwsDp3Jzl27QV887Msk6Ap KEeb2sYpe3pVhSuz8n+47fV5cCVWv/mlyh0/uXg8y3H4Lxho8Yeb7XHrWBwpzR88a9UO 2PqdBSqdnegrmusjQwoKgTxIlfAFdYXQ+QjeBkEpK+UIN2Ophde6opPmbc9k5u4fsJJ5 atWEBkjHIMSSaKR/8vNXVj43zQ4wczLSJjkSoXLKAArl6qzyoJyWslCkEky3lAaOGQHq 6afGD74gkJR28vz3TBDspSLccLbUhF0sKEB8ueD9luodMvzCKNleycmFCLg49KnBwZcx uAoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=KcQsDcpCGKmp9/GBpUoL79fiTyKmJuYFvGt5eJdf2Bw=; b=eBvz5S7qKIUCl4YpNeTY/bH3k0skscbEobL2X42AnxgOj2Vzrt2pVbvWRmFh6mThGD aXuTIXBUjTQgTZm++lJG6WCIBUzjOcS5tuQk82ndoYzLmai+rZ7CEuOn5GMgSnrqycEc 2NIRkGkILlqz+cNu2uKaA/Xf45pcQ1lHfc5QaOUwBcX9lEODGv4zWlQcEh2oKO0B82E+ 8PjgF9/PNZK6yipah6GO09R4qHINJTsmHMKsrf1blIfniy0vFUT5ousLPTOWo6oNm3Ts e/GZ6vessBQ+Di9dAaK3TFelGPKKEYb0/CXAgH6OLSkyW0XQtbeJ40y+BOZ8CIITevF7 yqfg== X-Gm-Message-State: AE9vXwNlz5OveuvQGugBZxSKo9Q3Z7UX81hus0Cm6oWc8B6a5kw64uvP0I2nfqoZDSblsXpw X-Received: by 10.98.184.26 with SMTP id p26mr57352446pfe.71.1475064011656; Wed, 28 Sep 2016 05:00:11 -0700 (PDT) Received: from [10.10.1.58] ([185.97.61.26]) by smtp.gmail.com with ESMTPSA id e1sm12218715pap.11.2016.09.28.05.00.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Sep 2016 05:00:10 -0700 (PDT) Subject: Re: "igb" interfaces aren't picking up media on boot To: freebsd-net@freebsd.org References: From: Steven Hartland Message-ID: <653b4473-558b-5ef8-41b7-080ec6c5584d@multiplay.co.uk> Date: Wed, 28 Sep 2016 13:00:11 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit 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 12:00:13 -0000 Try assigning an IP to the interface or manually up it. On 28/09/2016 12:13, Andrew Savchenko wrote: > Dear All, > > I've moved my lovely server to the datacenter and now pulling my hair out > while trying to > understand why both of /dev/igb interfaces aren't picking up Ethernet > connection on boot. > Tested with both 10.3-REL and 11.0-REL. > On the other end it's connected into Dlink DES-1210-52 switch. > > When system is booted, running `ifconfig | grep status` over iKVM returns: > status: no carrier > status: no carrier > > However, after `/etc/rc.d/netif restart && /etc/rc.d/routing restart` it > picks up the cable > which is connected to one of the ports. Both interfaces are Intel I210AT > integrated in the MB. > > For the moment being, the only solution I see is to create a separate > script in /etc/rc.d > and restart netif/routing after boot is completed. > > Could this be a problem specific to onboard interfaces?.. I was using this > particular box > in other environment without any similar problems on 10.0-REL. > > Output from `ifconfig` when one of the interfaces is up: > igb0: flags=8c02 metric 0 mtu 1500 > > options=6403bb > ether 00:00:00:00:00:00 > nd6 options=29 > media: Ethernet autoselect > status: no carrier > igb1: flags=8843 metric 0 mtu 1500 > > options=6403bb > ether 00:00:00:00:00:00 > inet 111.111.111.111 netmask 0xffffff00 broadcast 111.111.111.255 > inet 111.111.111.112 netmask 0xffffff00 broadcast 111.111.111.255 > nd6 options=29 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=21 > groups: lo > > # uname -a > [FreeBSD 11.0-RELEASE #0 r306211: Thu Sep 22 21:43:30 UTC 2016 > root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64] > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"