Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Rename network interface because the the physical order is not good
« previous
next »
Print
Pages: [
1
]
Author
Topic: Rename network interface because the the physical order is not good (Read 807 times)
Flogm
Newbie
Posts: 3
Karma: 0
Rename network interface because the the physical order is not good
«
on:
February 06, 2024, 10:57:52 am »
hello has anyone tested this script to rename interfaces using their mac addresses? on my router the order and name of the igb is not practical:
port 1 : igb0
port 2 : igb3
port 3 : igb1
port 4 : igb2
port 5 : igb5
port 6 : igb4
https://github.com/eborisch/ethname
thanks in advance
Logged
bartjsmit
Hero Member
Posts: 2018
Karma: 194
Re: Rename network interface because the the physical order is not good
«
Reply #1 on:
February 06, 2024, 11:49:41 am »
You can assign the interfaces to network adapters from the console (option 1). You will need to re-arrange the cables to follow suit.
Logged
Flogm
Newbie
Posts: 3
Karma: 0
Re: Rename network interface because the the physical order is not good
«
Reply #2 on:
February 07, 2024, 10:23:59 am »
i know that but it is not user friendly...
Logged
Flogm
Newbie
Posts: 3
Karma: 0
Re: Rename network interface because the the physical order is not good
«
Reply #3 on:
February 13, 2024, 04:06:06 pm »
do you have some ideas ?
Logged
CJ
Hero Member
Posts: 832
Karma: 30
Re: Rename network interface because the the physical order is not good
«
Reply #4 on:
February 13, 2024, 04:30:43 pm »
I'm a bit confused as to your end goal here. Once you assign an interface it will now have a name that will be used throughout the UI. So I'm not sure what difference it makes regarding the driver number.
If you're attempting to use the same configs over multiple machines, I don't know that this is the way to go. I believe someone posted semi recently about having two identical machines with different port orders, presumably due to the internal tracing of the board.
If there are physical labels already printed on the case, then you would just assign the same names in the UI, regardless of whether it's igb1, 2 or 3.
Logged
Have Answer, Will Blog
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Rename network interface because the the physical order is not good