[Users] Network interfaces order

Ricardo Esteves ricardo.m.esteves at gmail.com
Thu Jun 14 10:29:36 UTC 2012


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 <fabiand at redhat.com>
To: Ricardo Esteves <ricardo.m.esteves at gmail.com>
Cc: users at 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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120614/3ef679a7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: face-sad.png
Type: image/png
Size: 1057 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120614/3ef679a7/attachment-0001.png>


More information about the Users mailing list