<tt><font size=2>> From: Kaesbauer Michael <Michael.Kaesbauer@krones.com><br>
> Hi,</font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> up to now I found no way to write an udev rule
which renames a <br>
> specific NIC by using a MAC address that is returned by a bash <br>
> script. The reason for getting the MAC address by the bash script
is<br>
> that the renaming NIC rule should be applied to different CPUs (with<br>
> different MACs).</font></tt>
<br><tt><font size=2>> </font></tt>
<br><tt><font size=2>> ...snip...</font></tt>
<br>
<br><tt><font size=2>I have a similar problem, wanting to name NICs by
location in the box. My udev rules use KERNELS, which seems to be consistent
for me, maybe it'll work for you.</font></tt>
<br><font size=2 face="Courier New"><br>
KERNELS=="0000:02:00.0", NAME="front0"<br>
KERNELS=="0000:06:03.0", NAME="rear0"<br>
KERNELS=="0000:06:04.0", NAME="rear1"</font>
<br>