qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] Use existing tun/tap network interface


From: Lars Munch
Subject: [Qemu-devel] [PATCH] Use existing tun/tap network interface
Date: Sat, 27 Nov 2004 11:54:52 +0100
User-agent: Mutt/1.5.6+20040907i

Hello

The attached patch adds a new option '-tun-if' which will enable you to
use preconfigured tun/tap network interfaces as described here:
http://user-mode-linux.sourceforge.net/UserModeLinux-HOWTO-6.html#ss6.7

To use it, first configure your interface by using for example tunctl
from UML:

# tunctl -t qemu0 -u OWNER
# ifconfig qemu0 xxx.xxx.xxx.xxx up

Now you will have a network interface called 'qemu0'.

Then start qemu with something like this:

# qemu -tun-if qemu0 .....

You can have MAX_NICS numbers of preconfigured network interfaces.

Please apply.

Regards
Lars Munch


Attachment: tun-if.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]