Is it possible to re-number network interfaces in FreeBSD 8.2? I am setting up a firewall on a HP DL360 G7 server with two quad-Ethernet cards and the problem is that the enumeration of the network interfaces is a bit backwards physically. Here is what the Ethernet ports look like from left to right on the back of the server:
Here is what I would like to change it to so it is a bit more logical:
I know this is possible in OpenSUSE 11.4 by editing /etc/udev/rules.d/70-persistent-net.rules and in Solaris 10 by editing /etc/path_to_inst but I can't seem to find the equivalent in FreeBSD. I tried playing around with /boot/device.hints and it ended up creating 8 higher-numbered (igb7-14) interfaces instead. I also tried re-naming all the devices in /etc/rc.conf with
but that doesn't seem to work quite right either.
Code:
|----| |----| |----| |----| |----| |----| |----| |----|
|igb4| |igb5| |igb6| |igb7| |igb0| |igb1| |igb2| |igb3|
|----| |----| |----| |----| |----| |----| |----| |----|
Here is what I would like to change it to so it is a bit more logical:
Code:
|----| |----| |----| |----| |----| |----| |----| |----|
|igb0| |igb1| |igb2| |igb3| |igb4| |igb5| |igb6| |igb7|
|----| |----| |----| |----| |----| |----| |----| |----|
I know this is possible in OpenSUSE 11.4 by editing /etc/udev/rules.d/70-persistent-net.rules and in Solaris 10 by editing /etc/path_to_inst but I can't seem to find the equivalent in FreeBSD. I tried playing around with /boot/device.hints and it ended up creating 8 higher-numbered (igb7-14) interfaces instead. I also tried re-naming all the devices in /etc/rc.conf with
Code:
ifconfig_igb0_name=eth0