LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-07-2014, 11:45 AM   #1
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,577

Rep: Reputation: 468Reputation: 468Reputation: 468Reputation: 468Reputation: 468
Fun with virtual ethernet interfaces


If you have more than one NIC attached to your VM, do not expect /etc/udev/rules.d/70-persistent-net.rules to be anything other than an empty file.

(Well, it will be an empty file if you have only one NIC but there no question which one is going to be eth0 in that case.)

It turns out that /lib/udev/rules.d/75-persistent-net-generator.rules has some special cases in it...
Code:
# ignore KVM virtual interfaces
ENV{MATCHADDR}=="52:54:00:*", GOTO="persistent_net_generator_end"
# ignore VMWare virtual interfaces
ENV{MATCHADDR}=="00:0c:29:*|00:50:56:*", GOTO="persistent_net_generator_end"
# ignore Hyper-V virtual interfaces
ENV{MATCHADDR}=="00:15:5d:*", GOTO="persistent_net_generator_end"
...all of which result in those interfaces not being written into 70-persistent-net.rules.

Hopefully, this will prevent some of you from pounding your heads against your desks.

Last edited by Richard Cranium; 03-08-2014 at 08:50 PM. Reason: Marked as solved since it's not really a problem.
 
Old 03-09-2014, 08:18 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,104

Rep: Reputation: Disabled
Thanks, good to know. I can easily see myself wasting a considerable amount of time trying to make sense of something like that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] /etc/network/interfaces configuration for virtual interfaces nonshatter Linux - Networking 4 10-25-2010 07:22 AM
Linux Ethernet Interfaces sachinh Linux - General 6 04-03-2009 10:18 AM
Help with virtual interfaces swordphsh Linux - Networking 5 09-16-2008 02:19 PM
Virtual Machines: Practical? No! Fun? Yes! iAlta Linux - General 51 03-13-2008 08:39 AM
Multiple Ethernet Interfaces gjs286 Linux - Networking 1 04-19-2004 02:09 PM


All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration