[ubuntu-uk] How to change the Eth ports around?
Ken Robson
ken at robsonfamily.co.uk
Wed Feb 18 17:52:37 GMT 2009
I am trying to swap eth0 with eth1, my onboard nic is coming up as eth0
and I need to swap it to eth1 to use with a VM'd firewall I am setting up.
I have tried :-
creating with /etc/udev/rules.d/010_netinterfaces.rules :-
KERNEL=="eth*", SYSFS{address}=="00:1D:x:xx:xx:A0", NAME="eth1"
KERNEL=="eth*", SYSFS{address}=="00:0E:xx:xx:xx:92", NAME="eth0"
I get :=
Feb 18 10:58:23 nas kernel: [ 18.264375] udev: renamed network
interface eth1 to eth0
Feb 18 10:58:23 nas kernel: [ 18.300297] udev: renamed network
interface eth0_rename to eth1
So that worked.
But the Network manager KEEPS them as the other way round.
Feb 18 10:58:34 nas NetworkManager: <info> eth0: driver is 'via-rhine'.
Feb 18 10:58:34 nas NetworkManager: <info> Found new Ethernet device
'eth0'.
Feb 18 10:58:34 nas NetworkManager: <info> (eth0): exported as
/org/freedesktop/Hal/devices/net_00_1d_xx_x_xx_a0
Feb 18 10:58:34 nas NetworkManager: <info> eth1: driver is 'e1000'.
Feb 18 10:58:34 nas NetworkManager: <info> Found new Ethernet device
'eth1'.
Feb 18 10:58:34 nas NetworkManager: <info> (eth1): exported as
/org/freedesktop/Hal/devices/net_00_0e_xx_xx_xx_92
So what can I do to get NM to stop putting them back again?
More information about the ubuntu-uk
mailing list