"igb" interfaces aren't picking up media on boot

Andrew Savchenko gradiometric at gmail.com
Wed Sep 28 16:03:31 UTC 2016


Nope, unfortunately they stay dead (aka "no carrier") until `netif restart`.

On Wed, Sep 28, 2016 at 6:12 PM, Freddie Cash <fjwcash at gmail.com> wrote:

> On Wed, Sep 28, 2016 at 8:02 AM, Andrew Savchenko <gradiometric at gmail.com>
> 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:
>>
>
> ​Do the NICs eventually pick up carrier status if you leave it after
> 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.​
>
>
> --
> Freddie Cash
> fjwcash at gmail.com
>


More information about the freebsd-net mailing list