WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] How do you give USB to a Windows domU?

To: "'Mr. Teo En Ming \(Zhang Enming\)'" <space.time.universe@xxxxxxxxx>, "'James Pifer'" <jep@xxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] How do you give USB to a Windows domU?
From: "Dustin Henning" <Dustin.Henning@xxxxxxxxxxx>
Date: Tue, 3 Nov 2009 12:58:23 -0500
Cc: 'Xen List' <xen-users@xxxxxxxxxxxxxxxxxxx>, 'Nick Couchman' <Nick.Couchman@xxxxxxxxx>
Delivery-date: Tue, 03 Nov 2009 10:01:15 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f712b9cf0911030914g8a06f17gee89c925bcc1b72d@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: PRD, Inc.
References: <4AEAEAC9020000990007323F@xxxxxxxxxxxxxxxxxxxxx> <f712b9cf0911030656v6aa44e58m59bb5bd93f951640@xxxxxxxxxxxxxx> <4AEFE2B802000099000294FF@xxxxxxxxxxxxxxxxxxxxx> <1257261447.2711.53.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <4AEFE9740200009900029596@xxxxxxxxxxxxxxxxxxxxx> <1257263029.2711.57.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <4AEFEE0102000099000295DB@xxxxxxxxxxxxxxxxxxxxx> <1257263845.2711.61.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <4AEFF10202000099000295F4@xxxxxxxxxxxxxxxxxxxxx> <1257266953.2711.67.camel@xxxxxxxxxxxxxxxxxxxxxxxx> <f712b9cf0911030914g8a06f17gee89c925bcc1b72d@xxxxxxxxxxxxxx>
Reply-to: Dustin.Henning@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcpcqTfdZNR0/7AUTmug3qT68Nhs3wABdyHQ
        I think eth4 is correct anyway.  eth4 is listed under "bridge name" in 
brctl show, I suspect the OP was just having trouble deciphering the output (or 
the way the bridge script works).
        Dustin

From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Mr. Teo En Ming 
(Zhang Enming)
Sent: Tuesday, November 03, 2009 12:14
To: James Pifer
Cc: space.time.universe@xxxxxxxxx; Xen List; Nick Couchman
Subject: Re: [Xen-users] How do you give USB to a Windows domU?

According to brctl show, your ethernet bride is eth4 and not peth4.

Try this:

vif=[ 'mac=00:16:3e:1a:45:41,bridge=eth4' ]

-- 
Mr. Teo En Ming (Zhang Enming) Dip(Mechatronics) BEng(Hons)(Mechanical 
Engineering)
Alma Maters:
(1) Singapore Polytechnic
(2) National University of Singapore
My Primary Blog: http://teo-en-ming-aka-zhang-enming.blogspot.com
My Secondary Blog: http://enmingteo.wordpress.com
My Youtube videos: http://www.youtube.com/user/enmingteo
Email: space.time.universe@xxxxxxxxx
Mobile Phone (Starhub Prepaid): +65-8369-2618
Street: Bedok Reservoir Road
Country: Singapore
On Wed, Nov 4, 2009 at 12:49 AM, James Pifer <jep@xxxxxxxxxxxxxxxx> wrote:
On Tue, 2009-11-03 at 08:59 -0700, Nick Couchman wrote:
> You might need to specify "bridge=<bridgename>" on the "vif=" line in your 
> config file and point it at a specific bridge.
>
> -Nick

How can I tell what the bridge is called? Is it eth4 or peth4?

brctl show gives me:
bridge name     bridge id               STP enabled     interfaces
eth4            8000.002655827dd4       no              peth4


# ifconfig
eth4      Link encap:Ethernet  HWaddr 00:26:55:82:7D:D4
         inet addr:172.16.4.153  Bcast:10.96.5.255  Mask:255.255.254.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:147511 errors:0 dropped:0 overruns:0 frame:0
         TX packets:121841 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:30694748 (29.2 Mb)  TX bytes:36280012 (34.5 Mb)

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         UP LOOPBACK RUNNING  MTU:16436  Metric:1
         RX packets:114 errors:0 dropped:0 overruns:0 frame:0
         TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:0
         RX bytes:6850 (6.6 Kb)  TX bytes:6850 (6.6 Kb)

peth4     Link encap:Ethernet  HWaddr 00:26:55:82:7D:D4
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:147623 errors:0 dropped:0 overruns:0 frame:0
         TX packets:124186 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:33415763 (31.8 Mb)  TX bytes:36952614 (35.2 Mb)
         Interrupt:20 Memory:f8000000-f8012100


I tied this these didn't work:
vif=[ 'bridge=peth4,mac=00:16:3e:1a:45:41,model=rtl8139,type=ioemu', ]
vif=[ 'bridge=eth4,mac=00:16:3e:1a:45:41,model=rtl8139,type=ioemu', ]

I'd still like to get virt-manager working too, but not sure to go about
that.

Thanks,
James


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users






_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>