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

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.


What I do to get different addresses is to have each UML send a local
(on the host OS) DHCP server the host name, or a
dhcp-client-identifier which is different for each VM.

The VMs still can't see each other though; not unless they're mac
addresses are different.


I have another virtualization system that needs unique mac addresses
and what I do is map the mac address from a per-vm instance id.

That is inefficient because the VM instances might be short lived so
in the future I'll be writing a mac address allocator for UML which
will work on a pool of addresses and possibly work over a network
(allowing several host OS to share a pool).


This is a complex task though so it will take me a little while before
I get round to it.

-- 
Nic Ferrier
http://www.tapsellferrier.co.uk   for all your tapsell ferrier needs

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