On Thursday 04 May 2006 11:04, Nic wrote:
> I'd like to use UML on my laptop for virtualizing my various
> development projects.
>
> Essentially this is about saving disc space. I have lots of webapp
> (and other tcp daemon) projects that I want a root fs for but I don't
> want to waste disc space over and over again on the common things.

> The trouble is a UML network stack is difficult for this purpose as
> well.

> I obviously need to be able to talk to the UMLs from the laptop
> metal so that I can use the laptop's X installation to run moz and
> such things against UMLd network services.

I.e. you want to talk from the host to the guest via IP, right? You're 
describing it as if it were an extraordinary thing and this is causing in you 
more confusion than needed.

> So a bridge looks likely (anyone think of a creative other way?)

You don't need a bridge at all. Somebody uses a bridge to setup dozens of UMLs 
with little work and without installing setuid applications (i.e. uml_net in 
uml-utilities). But that's not needed.

Look at http://user-mode-linux.sourceforge.net/networking.html, and choose 
TUN/TAP with the uml_net helper. You'll also need to assign a MAC to the 
interface,via:

Use eth0=tuntap,,fe:fd:0:0:0:1,$hostip, and choose different MACs (leave the 
form fe:fd:x:x:x:x).

> I'm quite happy to run a local dhcp server and provide addresses to
> UMLs,

> But having a bridge on a laptop is problematic. Laptop network
> hardware is loaded in a variety of ways: hotplug, kernel, modules, ppp
> interfaces etc...

What are you talking about? What you say does not make sense. hotplug, kernel 
and modules don't give any load on "laptop network hardware". Especially not 
hotplug. And running a bridge isn't an heavy (resource-wise) task at all.

The only valid interpretation I can form is that bridging together a ppp 
interface with all the rest is not a good idea, which is true, but on a 
software bridge you add only the interfaces you choose (I now realize this is 
non-obvious thinking to an hardware bridge).
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
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