This happens on the oVirt node.

I've added the file /etc/udev/rules.d/70-persistent-net.rules with the
next lines:

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="d4:85:64:48:42:c0", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth0"

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="d4:85:64:48:42:c4", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth1"

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="1c:c1:de:7b:71:30", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth2"

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="1c:c1:de:7b:71:32", ATTR{type}=="1", KERNEL=="eth*",
NAME="eth3"



Made it persistent using the command persist, after the reboot now the
file is still there but the order of the nics still changes :(

-----Original Message-----
From: Fabian Deutsch <fabi...@redhat.com>
To: Ricardo Esteves <ricardo.m.este...@gmail.com>
Cc: users@ovirt.org
Subject: Re: [Users] Network interfaces order
Date: Thu, 14 Jun 2012 11:56:38 +0200


Hi,

Am Donnerstag, den 14.06.2012, 10:53 +0100 schrieb Ricardo Esteves:

> Every time i reboot my servers, my network interfaces change order and
> i have to apply network configuration again.

Where does this happen? On oVirt Node or somewhere else?

> Anyway to make the order of the nics persistent? I added a udev rule
> but when I reboot it disappears. 

If it's Node then the appropriate file has to be persisted to survive a
reboot. (persist MYFILE)

Greetings
- fabian



> Best regards,
> 
> Ricardo Esteves.
> 
> 
> _______________________________________________
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

<<attachment: face-sad.png>>

_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to