[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: James Pifer <jep@xxxxxxxxxxxxxxxx>
  • From: "Mr. Teo En Ming (Zhang Enming)" <space.time.universe@xxxxxxxxx>
  • Date: Wed, 4 Nov 2009 01:14:17 +0800
  • Cc: space.time.universe@xxxxxxxxx, Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>, Nick Couchman <Nick.Couchman@xxxxxxxxx>
  • Delivery-date: Tue, 03 Nov 2009 09:15:12 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=uU3ypUahQuWfff9oMB0gKQtpR0BI218iUGrScp6lQ3Ay6fhD9FX+o9FCEAqdWwNGcj 2hMF+tM3R0KFyhiiRfiGRP9DvrqgTCMG1/m/MabjijqRkhIMjWFvj7RossnVmu5Ub3ti 1iniCRqw+WfSSO7J0WAeVHfV0EAfpZpCrmFYU=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.