On Monday 04 September 2006 20:45, [EMAIL PROTECTED] wrote:
> "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

If you do

# ifconfig eth0 <IP>

the mac is set by UML, but if you do:

# ifconfig eth0 up
# ifconfig eth0 <IP>
(which happens if you use DHCP but not only then, with some distro init 
scripts it happens even with static IP assignment) the default one is left 
(you cannot change the mac of a running interface - or at least it shouldn't 
be done automatically because it can cause problems, I guess).
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-------------------------------------------------------------------------
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