[prev in list] [next in list] [prev in thread] [next in thread] 

List:       user-mode-linux-user
Subject:    Re: [uml-user] Networking uml with udev
From:       David Houlden <djhoulden () gmail ! com>
Date:       2007-10-17 23:06:14
Message-ID: 200710180006.14437.djhoulden () gmail ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic