On Wednesday 12 January 2005 06:10, Adil  Mujeeb, Noida wrote:
> Hi,
> I have some questiosn related to uml switch

> 1. When we attach uml switch with tap device, what should be the command
> for it. I haev used:
>    a) uml_switch -unix /tmp/uml1 -tap tap10
>    But when we configure the device of UML, its not working:
>    uml_mconsole umid configure eth0=daemon,,unix,/tmp/uml1
>    Assign the IP address to eth device, but it is unable to ping the
> bridge.

Well, with two commas like you wrote the syntax seems indeed correct.

>    b) uml_switch -tap tap10
>    Now if we configure the device of UML, its working:
>    uml_mconsole umid configure eth0=daemon
>    Assign the IP address to eth device, it is able to ping the bridge. Here
> default socket file is used /tmp/uml.ctl

> So why in first case it doesnt work?? Also if i use second approach, there
> may be problems. Like if i run one more switch attach with other tap
> device, then in that case default socket file is used which is already
> being used. This will cause any problems or not?? Same socket file can be
> attach to multiple uml_switches??
For what I remember, one uml_switch can manage one socket, and on that socket 
you can attach as many UMLs as you like.
> 2. Is it possible to attach the uml switch with multiple tap devices??
Not necessary I think... the Uml_switch can use the tap device to forward the 
traffic to the host network.
-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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