On Monday 04 September 2006 19:03, [EMAIL PROTECTED] wrote:
> "Nic James Ferrier" <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED] writes:
> > > I call it with "eth2=tuntap,ext-test". I got the impression that it
> > > is enough to do that when I'm using preconfigured interface. At
> > > least there is example of that in Virtual Networking Tutorial. And
> > > besides ip-address would be little hard to set as I'm connecting
> > > guests to internet through a bridge. Also I would like to mention
> > > that tuntap interface works without a problem when using static ip
> > > address.
> >
> > Yes. The problem is the allocated mac addresses.
> >
> > I can't remember what the daemon does precisely but I don't remember
> > it doing auto-mac address allocation.
>
> 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.
Yes, that's exactly what happens. We know this, and maybe we'll switch to 
random MACs (derived ones work better when there is a static IP however).

> The problem is that I can't seem to be able to change 
> the mac address to different when using dhcp.
>
> > Anyway, try:
> >
> >    guestkernel ... eth0=tuntap,,fe:fd:00:00:00:01,
> >
> > because as you point out, you don't need the address at the end
> > because you're using DHCP.
>
> Thanks, that helped me. Interesting thing is that after giving also the mac
> address I could alse change it in guest.

That's correct - you can change it anywhere (ever on your host).

> Could there be a bug related to 
> mac address?

Maybe you refer to "pre-up ifconfig eth2 hw address ..." ?

Post the exact messages and we'll see.
-- 
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