From: Adil Mujeeb, Noida <adilm@hc...> - 2005-01-13 04:43:05
i have done some testing & find out that command
uml_switch -unix /tmp/uml1 -tap tap10
doesn't work as i wrote earlier but if i use the command
uml_switch -tap tap10 -unix /tmp/uml1
it works fine. So may be the sequencing problem.
It resolves my problem that default socket file is not used & we can specify
our own socket file with -tap option.
Yes, I have tested only one tap device can be attached with a uml switch.
Thanks and Best Regards,
From: Blaisorblade [mailto:blaisorblade@...]
Sent: Wednesday, January 12, 2005 11:02 PM
Cc: Adil Mujeeb, Noida; user-mode-linux-user@...
Subject: Re: [uml-devel] uml_switch query
On Wednesday 12 January 2005 06:10, Adil Mujeeb, Noida wrote:
> 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
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.
> 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
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
traffic to the host network.
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729