qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Has anyone got tun/tap network running on WinXp host / Linux guest ?
@ 2004-11-25  5:11 M. Khalid Khan
  2004-11-25 13:22 ` Jim C. Brown
  0 siblings, 1 reply; 5+ messages in thread
From: M. Khalid Khan @ 2004-11-25  5:11 UTC (permalink / raw)
  To: qemu-devel

I must confess my ignorance but I'm having no luck in setting up a tun/tap 
network between WinXP host and Suse Linux guest. BTW user-net is working 
great but I need the emulated system to be a full fledged server. From what 
I can gather by reading the docs and messages, QEMU needs a script to setup 
tun/tap network ( by default /etc/qemu-ifup ). Unless I totally missed it, 
this script must be on the host OS. Now my host OS being WinXP, I don't have 
any "/etc" or any linux like scripts. Is there an alternate script/batch 
file for Windows? If not, what is the alternative?
Care to help.
Khalid

PS: I really appreciate what is being done, keep up the good work.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Has anyone got tun/tap network running on WinXp host / Linux guest ?
  2004-11-25  5:11 [Qemu-devel] Has anyone got tun/tap network running on WinXp host / Linux guest ? M. Khalid Khan
@ 2004-11-25 13:22 ` Jim C. Brown
  2004-11-25 15:50   ` Piotras
  2004-11-25 16:05   ` M. Khalid Khan
  0 siblings, 2 replies; 5+ messages in thread
From: Jim C. Brown @ 2004-11-25 13:22 UTC (permalink / raw)
  To: M. Khalid Khan, qemu-devel

On Wed, Nov 24, 2004 at 11:11:21PM -0600, M. Khalid Khan wrote:
> I must confess my ignorance but I'm having no luck in setting up a tun/tap 
> network between WinXP host and Suse Linux guest.

You mean Linux guest and WinXP host I assume? As there is no support for tuntap
in a Windows host, and never will. (Windows doesn't directly provide the mechisms
need to do this. I am aware of two alternatives: the easy way is to set up VPN
through user-net, the hard way is to patch qemu to use winpcap.)

> BTW user-net is working 
> great but I need the emulated system to be a full fledged server. From what 
> I can gather by reading the docs and messages, QEMU needs a script to setup 
> tun/tap network ( by default /etc/qemu-ifup ). Unless I totally missed it, 
> this script must be on the host OS. Now my host OS being WinXP, I don't 
> have any "/etc" or any linux like scripts. Is there an alternate 
> script/batch file for Windows? If not, what is the alternative?

Look up the -redir option.

> Care to help.
> Khalid
> 
> PS: I really appreciate what is being done, keep up the good work.
> 

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Has anyone got tun/tap network running on WinXp host / Linux guest ?
  2004-11-25 13:22 ` Jim C. Brown
@ 2004-11-25 15:50   ` Piotras
  2004-11-25 16:01     ` Jim C. Brown
  2004-11-25 16:05   ` M. Khalid Khan
  1 sibling, 1 reply; 5+ messages in thread
From: Piotras @ 2004-11-25 15:50 UTC (permalink / raw)
  To: jbrown106, qemu-devel

Doesn't OpenVPN use a port of tun/tap?


Piotrek

On Thu, 25 Nov 2004 08:22:18 -0500, Jim C. Brown <jbrown106@phreaker.net> wrote:
> You mean Linux guest and WinXP host I assume? As there is no support for tuntap
> in a Windows host, and never will. (Windows doesn't directly provide the mechisms
> need to do this. I am aware of two alternatives: the easy way is to set up VPN
> through user-net, the hard way is to patch qemu to use winpcap.)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Has anyone got tun/tap network running on WinXp host / Linux guest ?
  2004-11-25 15:50   ` Piotras
@ 2004-11-25 16:01     ` Jim C. Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Jim C. Brown @ 2004-11-25 16:01 UTC (permalink / raw)
  To: Piotras, qemu-devel

On Thu, Nov 25, 2004 at 04:50:54PM +0100, Piotras wrote:
> Doesn't OpenVPN use a port of tun/tap?
> 
> Piotrek
> 

Yes, called TAP-Win32. I suppose you could patch qemu to use this directly, but
afaik qemu currently has no support for this mode.

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Has anyone got tun/tap network running on WinXp host / Linux guest ?
  2004-11-25 13:22 ` Jim C. Brown
  2004-11-25 15:50   ` Piotras
@ 2004-11-25 16:05   ` M. Khalid Khan
  1 sibling, 0 replies; 5+ messages in thread
From: M. Khalid Khan @ 2004-11-25 16:05 UTC (permalink / raw)
  To: jbrown106, qemu-devel

Thank you so much Jim, can you give me some pointers on how to setup vpn 
through user-net in this situation. I looked at -redir option but it looks 
too tedious to set each and every port needed. If only there could be block 
redir option i.e. all ports from N to N+M on host be redirected to guest 
ports 0 to M.
Thanks again for your help
Khalid


----- Original Message ----- 
From: "Jim C. Brown" <jbrown106@phreaker.net>
To: "M. Khalid Khan" <mkk@bigfoot.com>; <qemu-devel@nongnu.org>
Sent: Thursday, November 25, 2004 7:22 AM
Subject: Re: [Qemu-devel] Has anyone got tun/tap network running on WinXp 
host / Linux guest ?


> On Wed, Nov 24, 2004 at 11:11:21PM -0600, M. Khalid Khan wrote:
>> I must confess my ignorance but I'm having no luck in setting up a 
>> tun/tap
>> network between WinXP host and Suse Linux guest.
>
> You mean Linux guest and WinXP host I assume? As there is no support for 
> tuntap
> in a Windows host, and never will. (Windows doesn't directly provide the 
> mechisms
> need to do this. I am aware of two alternatives: the easy way is to set up 
> VPN
> through user-net, the hard way is to patch qemu to use winpcap.)
>
>> BTW user-net is working
>> great but I need the emulated system to be a full fledged server. From 
>> what
>> I can gather by reading the docs and messages, QEMU needs a script to 
>> setup
>> tun/tap network ( by default /etc/qemu-ifup ). Unless I totally missed 
>> it,
>> this script must be on the host OS. Now my host OS being WinXP, I don't
>> have any "/etc" or any linux like scripts. Is there an alternate
>> script/batch file for Windows? If not, what is the alternative?
>
> Look up the -redir option.
>
>> Care to help.
>> Khalid
>>
>> PS: I really appreciate what is being done, keep up the good work.
>>
>
> -- 
> Infinite complexity begets infinite beauty.
> Infinite precision begets infinite perfection.
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-11-25 16:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-25  5:11 [Qemu-devel] Has anyone got tun/tap network running on WinXp host / Linux guest ? M. Khalid Khan
2004-11-25 13:22 ` Jim C. Brown
2004-11-25 15:50   ` Piotras
2004-11-25 16:01     ` Jim C. Brown
2004-11-25 16:05   ` M. Khalid Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).