"Nic James Ferrier" <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] writes:
> 
> > In the host side of tap device the mac address seems to be random
> > but it seems like in guest side the mac address is derived from
> > first given ip-address and when using dhcp it's always 0.0.0.0 which
> > causes it to be fe:fd:00:00:00:00. The problem is that I can't seem
> > to be able to change the mac address to different when using dhcp.
> 
> This is not the case AFAIK. I thought that the mac address of the
> guest is set by that option on the guest command line. If you don't
> set the mac specifically then you always get fe:fd:00:00:00:00.

I beg to differ. Here is some mac-addresses which I have on my running umls and 
their respective ip:

fe:fd:ac:10:2a:0d      172.16.42.13
fe:fd:c0:a8:02:04      192.168.2.4
fe:fd:ac:10:2a:0a      172.16.42.10
fe:fd:c0:a8:02:02      192.168.2.2

The parameter for these interface has been "ethx=tuntap,xxx" and I haven't set 
mac address on guest side.

> > Thanks, that helped me. Interesting thing is that after giving also
> > the mac address I could alse change it in guest. Could there be a
> > bug related to mac address?
> 
> Don't think so. Without externalizing the selection of the mac setting
> inside the VM would be dangerous.

If "normal" network interfaces permit you to change mac address how different 
could be tuntap interfaces?

> The only comprehensive solution that I can see is a network wide mac
> allocator or a dhcp client that can somehow set the mac on a dhcp
> response. This latter option is possible because dhcp _is_
> extensible. I haven't had the time to hack on it though.

Yes, it could be done but it would need that guest is able to change its own 
mac address, right?

Regards,

Jyrki Jaakkola

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to