Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Dec 2014 17:30:47 +0100
From:      Martin Hanson <greencoppermine@yandex.com>
To:        freebsd-net@freebsd.org
Subject:   NICs devices switches "pshycial" place on each boot
Message-ID:  <1511041417624247@web23g.yandex.ru>

next in thread | raw e-mail | index | archive | help
Hi

I got a small Intel Atom N280 box I wanted to use as a PF firewall.

It has one Intel NIC that gets registered as "bge0", then it has three
USB->NIC dongles with the ASIX AX88179 chipset which gets registered
as "ue0", "ue1" and "ue2".

I have set each device to a static IP during boot.

The problem is however that upon boot the devices gets switched.

So first boot:

| USB DONGLE 1 | UE0 | 192.168.1.1 |
| USB DONGLE 2 | UE1 | 192.168.2.1 |
| USB DONGLE 3 | UE2 | 192.168.3.1 |

Next boot:

| USB DONGLE 1 | UE1 | 192.168.2.1 |
| USB DONGLE 2 | UE2 | 192.168.3.1 |
| USB DONGLE 3 | UE0 | 192.168.1.1 |

Upon each boot the order changed, there is no fixed pattern.

This is a major problem as the device *still* has the right name and the
right IP, but it is as though it has been physically removed from the
slot and changed place.

Is it somehow possible to deal with this problem?

pciconf doesn't display those devices.

Kind regards

Martin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1511041417624247>