Similarly to this, I have been running uml_switch with directly specified subnets as follows:
 
uml_switch -unix ./s0
uml_switch -unix ./s1
 
and so forth, where each of ./s0, ./s1, etc. provide a specific connection.
 
I can then connect various interfaces to the appropriate sockets at start time by specifying eth0=daemon,,unix,./s0 eth1=daemon,,unix,./s1 and so forth.  So far, I have run a couple of routers in uml, connected through various ports to different subnets, each connected through a specified uml_switch subnet.
 
Best Regards,
Ben

 
On 3/12/06, Blaisorblade <[EMAIL PROTECTED]> wrote:
On Saturday 11 March 2006 23:08, Julius Schwartzenberg wrote:
> Blaisorblade schreef:
> > That's possible, but you need to make UML use the daemon transport, and
> > run uml_switch beforehand, connecting it to a pre-setup tap0 device. See
> > the main page for more info (http://user-mode-linux.sourceforge.net/ ->
> > Virtual networking).
>
> Thanks for the tip. Seems to be working great :)
> One thing that wasn't on the page though, is to make sure that all the
> UMLs are able to access /tmp/uml.ctl. I'm using a UML group for it myself.

/tmp is normally world-writable, but if the daemon runs as a different UID
than the UMLs, the created socket won't be accessible if you don't change the
socket permissions.

Made UML crash and found a bug some time ago, by doing this (the fix is now
merged, don't worry).
--
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


___________________________________
Yahoo! Messenger with Voice: chiama da PC a telefono a tariffe esclusive
http://it.messenger.yahoo.com



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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