From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Vivier Subject: Re: Couple of quetsions HD perf, mac address... Date: Tue, 03 Jul 2007 13:33:10 +0200 Message-ID: <468A33F6.7060104@bull.net> References: <4689F5F10200005A00026F01@mcclure.wal.novell.com> <468A312C.60904@scarlet.be> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1788548242==" Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Benjamin Budts Return-path: In-Reply-To: <468A312C.60904-rJAIWvhRp0CZIoH1IeqzKA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1788548242== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA363C7BD21A9D44B32BB78CE" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA363C7BD21A9D44B32BB78CE Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Benjamin Budts wrote: > Gregory Haskins wrote: >> On Tue, 2007-07-03 at 11:43 +0200, Benjamin Budts wrote: >> =20 >>> 3* When I specify a mac address for my debian virtual machine eth0=20 >>> changes to eth3 ... very very weird... it's not that bad, i just chan= ged=20 >>> my interfaces config file from eth0 to eth3, but it's a bit weird >>> =20 >> Many linux distros support persistent naming these days. Therefore, >> there is some record that in the past eth0 had mac X. Now it that see= s >> an interface with mac Y, it assumes its a new interface and renames it= >> something unique. >> >> I am assuming this is the behavior you are seeing. >> >> =20 > Aah that would explain why i'm having eth3... I started it up 2 or 3=20 > times with another mac as well, so he cached it probably like you said.= =2E. >=20 > thx for that ! udev manages this. each time you start udev, it executes /etc/udev/rules.d/z45_persistent-net-generator.rules that generates eth(X= ) definitions according MAC address. A new MAC address creates a new eth(X+= 1) interface. I don't know if it is clean, but to avoid this behaviour, I remove /etc/udev/rules.d/z45_persistent-net-generator.rules (which is a link). If you only want to clean this, you can remove only the file /etc/udev/rules.d/z25_persistent-net.rules which will be re-generated by z45_persistent-net-generator.rules at next reboot (or udev restart): rm /etc/udev/rules.d/z25_persistent-net.rules invoke-rc.d udev stop invoke-rc.d udev start Regards, Laurent --=20 ------------- Laurent.Vivier-6ktuUTfB/bM@public.gmane.org -------------- "Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke --------------enigA363C7BD21A9D44B32BB78CE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.7 (GNU/Linux) iD8DBQFGijP79Kffa9pFVzwRAnmJAKC3YNEZBqnek6Jfz1ueFvG2ErCqYQCgjszz nQBU2ixXGNvzs1nlQb2cbBY= =dP1x -----END PGP SIGNATURE----- --------------enigA363C7BD21A9D44B32BB78CE-- --===============1788548242== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ --===============1788548242== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel --===============1788548242==--