------- Comment From <email address hidden> 2015-04-17 20:32 EDT-------
There is an exception in /lib/udev/rules.d/75-persistent-net-generator.rules for ibmveth:
# ibmveth interfaces have stable locally administered MAC addresses
SUBSYSTEMS=="ibmveth", ENV{MATCHADDR}="$attr{address}"
This should override the issue related to locally administered mac addresses in this case. However, if we run:
------- Comment From <email address hidden> 2015-04-17 20:32 EDT------- rules.d/ 75-persistent- net-generator. rules for ibmveth:
There is an exception in /lib/udev/
# ibmveth interfaces have stable locally administered MAC addresses ="ibmveth" , ENV{MATCHADDR} ="$attr{ address} "
SUBSYSTEMS=
This should override the issue related to locally administered mac addresses in this case. However, if we run:
udevadm monitor --e
and then:
echo "add" > /sys/class/ net/eth0/ uevent
We see:
KERNEL[622.903561] add /devices/ vio/30000002/ net/eth0 (net) /devices/ vio/30000002/ net/eth0
ACTION=add
DEVPATH=
IFINDEX=2
INTERFACE=eth0
SEQNUM=2105
SUBSYSTEM=net
UDEV [622.918331] add /devices/ vio/30000002/ net/eth0 (net) /devices/ vio/30000002/ net/eth0 DRIVER= ibmveth LINK_FILE= /lib/systemd/ network/ 99-default. link NAME_MAC= enx9232371c4202 ALIAS=/ sys/subsystem/ net/devices/ eth0 D=3954
ACTION=add
DEVPATH=
ID_NET_
ID_NET_
ID_NET_
IFINDEX=2
INTERFACE=eth0
MATCHDEVID=0x0
MATCHIFTYPE=1
SEQNUM=2105
SUBSYSTEM=net
SYSTEMD_
<email address hidden>
TAGS=:systemd:
USEC_INITIALIZE
If I make this change to /lib/udev/ rules.d/ 75-persistent- net-generator. rules, then I get a rule generated for ibmveth devices:
--- 75-persistent- net-generator. rules.orig 2015-04-17 16:29:19.188304056 -0400 net-generator. rules 2015-04-17 16:26:34.395299425 -0400 ="ibmveth" , ENV{MATCHADDR} ="$attr{ address} " ="ibmveth" , ENV{MATCHADDR} ="$attr{ address} " ="ccwgroup" , \ ="ibmveth" , \ ="ibmveth" , \ ="ieee1394" , \ ="Firewire device $attr{host_id}"
+++ 75-persistent-
@@ -103,6 +103,7 @@
# ibmveth interfaces have stable locally administered MAC addresses
SUBSYSTEMS=
+DRIVERS=
# S/390 interfaces are matched only by id
SUBSYSTEMS=
@@ -125,6 +126,8 @@
ENV{COMMENT}="S/390 device at $id"
SUBSYSTEMS=
ENV{COMMENT}="LPAR virtual device at $id"
+DRIVERS=
+ ENV{COMMENT}="LPAR virtual device at $id"
SUBSYSTEMS=
ENV{COMMENT}
ENV{COMMENT}=="", \