Daniele:

That makes sense.  mwum1004 is not a tap device, but an ethernet bridging 
device.  The mwum1004
script is bringing up multiple UML sessions, each with their own tap device, 
and using an ethernet
bridge to gather them into a single virtual network.

I wonder where the IP address and netmask for the bridge are being assigned?

I think a better design for this system would have been to gather all the 
commands that have to be
run as root into a separate script, start_uml_net.sh, or something like that, 
and have that script
call /home/mwum1004/bin/mwum1004 through the su command so it would run as that 
user. 
start_uml_net.sh could have checked for the existance of the bridge device and 
created it if it
didn't already exist.

I wonder if the tap devices had also been created by hand, since there doesn't 
seem to be a root
script to handle the creation of host-side network devices.  The natural place 
to handle all of
that would be in the start_uml_net.sh script.

Chris Marshall

--- Daniele Procida <[EMAIL PROTECTED]> wrote:

> On Thu, Mar 8, 2007, Daniele Procida <[EMAIL PROTECTED]> wrote:
> 
> Executive summary:
> 
> >    ifconfig mwuml004 up
> >    su - mwuml004 /home/mwuml004/bin/mwuml004
> 
> wouldn't bring the UML server mwuml004 back online.
> 
> The solution was:
> 
>     brctl addif br0 mwuml004
> 
> to add the UML interface to the bridging interface.
> 
> I don't know why that connection wasn't there after the reboot - I will
> have to find out from the person who knows what they're doing with this.
> 
> Many thanks for all the suggestions and advice.
> 
> Daniele
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> User-mode-linux-user mailing list
> User-mode-linux-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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