On Wednesday 17 October 2007 11:34 pm Peter Chant wrote: > On Wednesday 17 October 2007, David Houlden wrote: > > Using udev, the tap0 interface doesn't come up on the host and in the > > guest I get device not found from "ifconfig eth0 192.168.1.51 up". What I > > have found is that in /proc/net/dev on the guest I have a device eth17. > > Next time I boot the guest it will be eth18 and so on. > > > > Any ideas why this happens and what I can do to fix it. > > I've run across this, my solution, taken from someone on here, was to > remove udev on the guest. It is udev getting confused by the ever changing > MAC address, each time the uml machine boots it finds a new network > interface but looses the old one. I tried specifiying the MAC address on > the command line that started up the guest but the guest did not seem to > accept it. > I've found that you need to get the format right. For instance, it won't let you use a multicast MAC address and generates a random one instead. You can see the error if you do a dmesg in the guest. I've settled on a format of aa:aa:xx:xx:xx:xx where xx is the four positions of the guest ip address converted to hex. Seems to be working. > > BTW, using Slackware myself. > Simply the best :-)
Dave. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user