Networking Forums

Networking Forums > Computer Networking > Linux Networking > Virtual ethernet interface ?

Reply
Thread Tools Display Modes

Virtual ethernet interface ?

 
 
ArameFarpado
Guest
Posts: n/a

 
      11-14-2006, 05:11 PM
Hi...

I have a virtual win98 OS running with qemu, i need it for just one
application, "cool edit 2000" that does not run under wine and there is no
sound editor in linux that can do everything that CE2K do, so some of the
sound working i do can't be done with audacity or gnome-wave-cleaner. I'm
only having problems when i need to transfer a large file from my real OS
to the virtual disk of the virtual OS (or vice-versa)... i've been using a
usb-pen to do it, but my largest pen has only 250Mb. And the biggest
problem is to move a file from virtualSO to RealSO after the work is
ready...
Anyway... qemu emulates ethernet devices to be used by virtual-win98, but to
try to make a connection between realOS<->virtualOS i think i need a
virtual ethernet interface running on my realOS... the idea is to create a
samba mount point, mounting a shared folder from virtual-win98 on my
Debian.

Anybody has any idea how to connect a virtualOS to a realOS trought a net
interface?

Thanks
ArameFarpado
 
Reply With Quote
 
 
 
 
Bill Marcum
Guest
Posts: n/a

 
      11-14-2006, 11:06 PM
On Tue, 14 Nov 2006 18:11:11 +0000, ArameFarpado
<a-(E-Mail Removed)> wrote:
> Hi...
>
> I have a virtual win98 OS running with qemu, i need it for just one
> application, "cool edit 2000" that does not run under wine and there is no
> sound editor in linux that can do everything that CE2K do, so some of the
> sound working i do can't be done with audacity or gnome-wave-cleaner. I'm
> only having problems when i need to transfer a large file from my real OS
> to the virtual disk of the virtual OS (or vice-versa)... i've been using a
> usb-pen to do it, but my largest pen has only 250Mb. And the biggest
> problem is to move a file from virtualSO to RealSO after the work is
> ready...
> Anyway... qemu emulates ethernet devices to be used by virtual-win98, but to
> try to make a connection between realOS<->virtualOS i think i need a
> virtual ethernet interface running on my realOS... the idea is to create a
> samba mount point, mounting a shared folder from virtual-win98 on my
> Debian.
>
> Anybody has any idea how to connect a virtualOS to a realOS trought a net
> interface?
>

The virtual network uses the "tun" interface. You have to modprobe tun
(if tun is compiled as a module), and the user who runs qemu must have
rw permission for /dev/net/tun.


--
You now have Asian Flu.
 
Reply With Quote
 
ArameFarpado
Guest
Posts: n/a

 
      11-14-2006, 11:53 PM
Bill Marcum wrote:
>>

> The virtual network uses the "tun" interface. You have to modprobe tun
> (if tun is compiled as a module), and the user who runs qemu must have
> rw permission for /dev/net/tun.
>
>

Got it, found a TUN/TAP option in kernel config network device drivers, i
got to compile a new kernel, probably next weekend.

Just another question: i have two real ethernets, eth0 and eth1... when i'll
load the tun module will a eth2 be created? or the interface will have a
diferent name? is it configured with ip, netmask, etc... like an ethernet?

Thanks a lot
ArameFarpado
 
Reply With Quote
 
Bill Marcum
Guest
Posts: n/a

 
      11-15-2006, 02:07 AM
On Wed, 15 Nov 2006 00:53:55 +0000, ArameFarpado
<a-(E-Mail Removed)> wrote:
> Bill Marcum wrote:
>>>

>> The virtual network uses the "tun" interface. You have to modprobe tun
>> (if tun is compiled as a module), and the user who runs qemu must have
>> rw permission for /dev/net/tun.
>>
>>

> Got it, found a TUN/TAP option in kernel config network device drivers, i
> got to compile a new kernel, probably next weekend.
>
> Just another question: i have two real ethernets, eth0 and eth1... when i'll
> load the tun module will a eth2 be created? or the interface will have a
> diferent name? is it configured with ip, netmask, etc... like an ethernet?
>
> Thanks a lot
> ArameFarpado


Read the qemu man page. When qemu starts, it will create a tun0
interface. The host side of this link is configured by the script
/etc/qemu-ifup. If you run a firewall on the host machine you may need
to reconfigure or disable it.


--
When some people discover the truth, they just can't understand why
everybody isn't eager to hear it.
 
Reply With Quote
 
ArameFarpado
Guest
Posts: n/a

 
      11-15-2006, 05:51 PM
Bill Marcum wrote:
> Read the qemu man page. When qemu starts, it will create a tun0>

interface. The host side of this link is configured by the script
> /etc/qemu-ifup. If you run a firewall on the host machine you may need
> to reconfigure or disable it.
>
>


Ok, thanks
ArameFarpado
 
Reply With Quote
 
ArameFarpado
Guest
Posts: n/a

 
      11-17-2006, 11:30 PM
Bill Marcum wrote:
> Read the qemu man page. When qemu starts, it will create a tun0
> interface. The host side of this link is configured by the script
> /etc/qemu-ifup. If you run a firewall on the host machine you may need
> to reconfigure or disable it.
>
>

Hi again, just to tell that i've done it
interface tap0 is running fine and i can mount a shared folder of the
virtual OS on my real OS in read/write mode.
Samba endup to be the more dificult part to understand, much more dificult
then i expected... to many options to setup.

Thanks again
ArameFarpado
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Simulated NAT Traversal on Virtual Box | Two Virtual Interface - eth-0/eth1 Sumit Linux Networking 0 06-24-2011 01:09 AM
Virtual interface r3gis Linux Networking 0 02-18-2007 05:05 PM
Virtual interface + vlan Wolter Kroes Linux Networking 2 10-13-2006 04:02 PM
Virtual interface Slav Inger Linux Networking 2 04-20-2004 01:54 PM
Failing virtual interface, please help Marv Linux Networking 1 02-28-2004 06:02 PM



1 2 3 4 5 6 7 8 9 10 11