1# Do not modify this file, it will get overwritten on updates. 2# To override or extend the rules place a file in /etc/udev/rules.d 3 4SUBSYSTEM!="net", GOTO="nm_unmanaged_end" 5ACTION!="add|change", GOTO="nm_unmanaged_end" 6 7# VirtualBox host networking. Out-of-tree driver that looks like an ordinary 8# Ethernet. No parent device (lives in /virtual/), no support for ethtool 9# to identify the driver, MAC address defaults to 08:00:27:, but can be 10# changed. Interface name will have to do, it's always vboxnet*. 11ENV{INTERFACE}=="vboxnet[0-9]*", ENV{NM_UNMANAGED}="1" 12 13# VMWare host networking. Out-of-tree driver that looks like an ordinary 14# Ethernet. No parent device (lives in /virtual/), no support for 15# ethtool to identify the driver. They have their own MAC prefix that 16# can not be changed. 17ATTR{address}=="00:50:56:*", ENV{INTERFACE}=="vmnet[0-9]*", ENV{NM_UNMANAGED}="1" 18 19# Parallels Workstation host networking. Out-of-tree driver that looks like 20# an ordinary Ethernet. No parent device (lives in /virtual/), no support for 21# ethtool to identify the driver and the interface name is too generic. 22# However, they have their own MAC prefix that can not be changed. 23ATTR{address}=="00:1c:42:*", ENV{INTERFACE}=="vnic[0-9]*", ENV{NM_UNMANAGED}="1" 24 25# Virtual Ethernet device pair. Often used to communicate with a peer interface 26# in another net namespace and managed by libvirt, Docker or the like. 27ENV{ID_NET_DRIVER}=="veth", ENV{NM_UNMANAGED}="1" 28 29# USB gadget device. Unmanage by default, since whatever created it 30# might want to set it up itself (e.g. activate an ipv4.method=shared 31# connection). 32ENV{DEVTYPE}=="gadget", ENV{NM_UNMANAGED}="1" 33 34LABEL="nm_unmanaged_end" 35