[Top][All Lists]

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

Re: [Qemu-devel] Help with tun/tap with qemu

From: Jesus M. Salvo Jr.
Subject: Re: [Qemu-devel] Help with tun/tap with qemu
Date: Wed, 11 Aug 2004 15:10:00 +1000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031114

Jesus M. Salvo Jr. wrote:

OK, I have now setup a bridge on linux as follows.
On the host OS, I have the following script and ran it as root:

/usr/sbin/brctl addbr br0
/sbin/ifconfig eth2 promisc up
/sbin/ifconfig tap0 promisc up
/sbin/ifconfig br0 netmask broadcast up
/usr/sbin/brctl stp br0 off
/usr/sbin/brctl setfd br0 1
/usr/sbin/brctl sethello br0 1
/usr/sbin/brctl addif br0 eth2
/usr/sbin/brctl addif br0 tap0
/sbin/route add default gw

Works now. Changed references of tap0 to tun0 in the above script.
I have to run the script just after running qemu, since the tun0 interface is not created until qemu is ran.

reply via email to

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