RE: [Xen-users] Re: How to Networking Bridge?

Petersson, Mats
Tue, 05 Sep 2006 11:52:20 -0000

________________________________

	From: xen-users-bounces@lists.xensource.com
[mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Helder Rossa
	Sent: 04 September 2006 22:34
	To: xen-users@lists.xensource.com
	Subject: [Xen-users] Re: How to Networking Bridge?


	I DID IT!!

	I had to compile tun kernel module (Universal TUN/TAP device
driver, 1.6) . After this all worked Fine!!

	Another question: my network is at 10Mbps (?!) is there some
configuration? My ethX is 1Gb!!!


That doesn''t really matter. It''s just a VIRTUAL network card
anyways, so
you''re not going to be limited by the "10Mbps" in any real
way... It''s
just part of the emulation of the network card that uses a pretty basic
PCNet32 device, which doesn''t say 100Mbps or 1Gbps... It
wouldn''t be
very hard to change that, but what''s the point - it never hits any real
hardware, so whatever the number reported, it''s not actually reflecting
anything real. Having said all that, the latest QEMU version (in xen
unstable) also supports a couple of new network cards, including a
100Mbps realtek 8139. Not that it will make much of a difference to the
ACTUAL transfer rate tho''.

--
Mats



	thanx

	On Mon, 2006-09-04 at 21:44 +0100, Helder Rossa wrote:

		Hi,

		I''ve a working xen 3.0.2 booting a gentoo linux on Dom0.

		I have setup a Windows XP in a DomU OK with no problems
except the
		network!!

		My problem is that I wanted to give a working network
interface on the
		DomU and the best I could. making the windows detect an
network adapter,
		was putting:

		    vif = [''type=ioemu'']

		I also tryied:

		    vif = [''type=ioemu, bridge=xenbr0'']


		Could never ping a external from DomU!!


		What I know:

		    - the ethX device is a logical device and the
physical device is
		renamed to pethX;
		    - the vifX.Y devices are linked with ethY from DomX
(ie.: vif1.0 <->
		Dom1 eth0);
		    - there is also a vethX ...

		What configuration I have to do on Dom0?
		What configuration I have to do on DomU?


		When rebooting I have always need to do ''ifconfig ethX
up'' !!!