Matheus,
I had a very similar problem, which led me to throw this together:
https://github.com/eborisch/ethname
I think the comments in it are fairly complete, let me know if anything
doesn't make sense.
Perhaps there is an easier way, but most discussions I found ended in "you
could rename them on boot" - which is what this rc.d script does. I use it
on my home router to great effect. (I rename the adapters to cable and priv
just to make firewall rules etc. even clearer.)
- Eric
On Thursday, September 1, 2016, Nenhum_de_Nos <matheus at
eternamente.info>
wrote:
> Hail,
>
> I am trying to make a RPI2 as a home router, and I am using two Linksys
> USB200M as two extra NIC's for two internet pipes. But I have an issue
> here, I turned off the board, and when I got it running the NIC's just
> swapped. This would render my home router useless, and I would like to know
> if there is a way to set it to a fixed index and have it be ue2 forever.
>
> Is this possible?
>
> running FreeBSD bee 11.0-RC2 FreeBSD 11.0-RC2 #0 r304923: Sun Aug 28
> 02:47:43 BRT 2016 RPI2-pf arm
>
> thanks,
>
> matheus
>
> --
> "We will call you Cygnus,
> the God of balance you shall be."
> _______________________________________________
> freebsd-stable at freebsd.org <javascript:;> mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at
freebsd.org
> <javascript:;>"
>