-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Will Morton wrote: | Greetings UMLers; | | I am booting a custom 2.6.24.4 UML kernel, running a debian etch guest | created using debootstrap. I am booting using the kernel command | line: | | root=/dev/ubda ubd0=./etch.rootfs ubd1=./etch.swapfs mem=128M | eth0=tuntap,,,192.168.23.5 | | However, the network interface that gets created isn't eth0 - it's | ethN, where N increments every time I boot the guest (I'm now on | eth19). This prevents the normal boot-time network config from | running properly. Now I can bugger about with a custom script that | uses something like ifconfig `ifconfig -a | grep eth | awk '{print | $1}'` ... but it seems there must be a better way, and in any case I | want to use more than one network device on some of my guests. | | I'm not sure what's causing this, but I notice this line in dmesg: | | [42949373.660000] Choosing a random ethernet address for device eth0 | | If it's picking a different mac address each boot, does this result in | the kernel thinking it's a different device and hence assigning it a | different name? Yes.
| How do I stop it doing this? Specify one on the command line. Antoine -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREKAAYFAkfrxeUACgkQGK2zHPGK1rshKQCfSz0BFcZAv572bega/Zu5A9X5 Mp0An2+dsH8Lmi3EaC7YBt3T4nugPqx9 =YaIH -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user