Hello and welcome to CertForums.co.uk, here we host free active certification forums with links to the best free resources for Microsoft's MCSA MCSE MCDBA Cisco's CCNA CCDA and CCNP, and CompTIA's A+ Network+ i-NET+ and Security+ certifications in the UK. If you wish to post or use other advanced features you will need to register first. Registration is absolutely free and takes only a few minutes to complete so sign up today!

If you have any problems with the registration process or your account login, please contact support

Go Back   CertForums > Computing Support Forums > Linux / Unix Discussion
Home Forums Register Search Today's Posts Mark Forums Read

eth0 -> eth1

Post New ThreadReply
 
Thread Tools Display Modes
  #1  
Old 12-Feb-2008, 01:54 PM
popeye67 popeye67 is offline
New Member
Posts: 43
Points: 67 popeye67 has between 1 & 100 points
Power: 2
None
Join Date: 26 Oct 2007
eth0 -> eth1

After using mondoarchive to clone nagios server to another vm I found that my eth0 has changed to eth1. eth0 was non existant (ie ifup came with nothing). Took me couple of hours to get to the bottom of this. Debian (ubuntu as well) will rename your network interface if it detects MAC address change. Since VM will always come up with 'new' MAC addr, you'll need to edit the file ;

/etc/udev/rules.d/z25_persistent-net-rules . File is ascii and self explanatory.

Hope this will help someone to save some time.

 
Reply With Quote
  #2  
Old 12-Feb-2008, 02:37 PM
tripwire45's Avatar
tripwire45 tripwire45 is online now
Administrator
Posts: 13,198
Points: 3435 tripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 pointstripwire45 has over 3000 points
Power: 175
None
Join Date: 29 Jun 2003
Location: Boise, ID, USA
Certifications: A+ and Network+
Thanks, Popeye. I guess from the operating system's point of view, if the MAC address has changed, it *must* mean that it's a different Ethernet interface. Good observation.


You know, I wish my parents played Mozart when I slept because half the time I don't even know what the heck anyone's talking about!
 
Reply With Quote
  #3  
Old 12-Feb-2008, 02:43 PM
sunn's Avatar
sunn sunn is offline
Lifetime Member
Posts: 1,211
Points: 1057 sunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 pointssunn has over 1000 points
Power: 24
None
Join Date: 15 Jan 2008
Location: Canada
Good Find.
I guess it's specific to some Linux boxes? You mentioned Debian & ubuntu, but I've never seen an issue on the FreeBSD or the other Linux distros in VM. I'll keep it in mind -- Thanks again...


____
Sunn
 
Reply With Quote
  #4  
Old 12-Feb-2008, 04:20 PM
popeye67 popeye67 is offline
New Member
Posts: 43
Points: 67 popeye67 has between 1 & 100 points
Power: 2
None
Join Date: 26 Oct 2007
Well MAC address doesn't need to change. You can define MAC address in VM (at least in ESX). But I don't know anyone who does it. So 2 options ; one ; change mac address in new vm to match the old one. Or follow the original post. As far as physical machines are concerned yes the MAC address will change with a new network card unless you do ;

Code:
ifconfig eth0 down hw ether 00:00:00:00:00:01

ifconfig eth0 up

 
Reply With Quote
Post New ThreadReply Spread this thread: Submit this thread to digg Submit this thread to del.icio.us


Go Back   CertForums > Computing Support Forums > Linux / Unix Discussion


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ICND1 - > Cisco Press makes it look very easy iRock General 9 05-Feb-2008 02:33 PM
Multi serial port -> usb adapter alfa145 General 10 12-Nov-2007 08:45 PM
MCSA ---> MCSE Firemouse General 3 20-Sep-2007 08:06 AM
A+ Cert - 2003 -> 2006 Syllabus ellttck A+ 2 31-Aug-2007 12:39 PM
FireFox -> IE -> FireFox Bookmarks Mr.Cheeks Software 6 24-Aug-2006 07:39 PM


All times are GMT. The time now is 10:50 PM.

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
CertForums.co.uk (C) copyright 2003-2007 All Rights Reserved. Content published on CertForums.co.uk requires permission for reprint.
Hosted by Lunarpages