From: "Jesus M. Salvo Jr." <jesus.salvo@migasia.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Help with tun/tap with qemu
Date: Wed, 11 Aug 2004 15:10:00 +1000 [thread overview]
Message-ID: <4119AA28.9020200@migasia.com> (raw)
In-Reply-To: <4119885E.3020002@migasia.com>
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:
>
> #!/bin/sh
> /usr/sbin/brctl addbr br0
> /sbin/ifconfig eth2 0.0.0.0 promisc up
> /sbin/ifconfig tap0 0.0.0.0 promisc up
> /sbin/ifconfig br0 192.168.0.199 netmask 255.255.255.0 broadcast
> 192.168.0.255 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 192.168.0.1
>
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.
prev parent reply other threads:[~2004-08-11 5:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-10 15:06 [Qemu-devel] Help with tun/tap with qemu jesus.salvo
2004-08-10 15:50 ` Bartosz Fabianowski
2004-08-10 18:52 ` Antony T Curtis
2004-08-11 2:45 ` Jesus M. Salvo Jr.
2004-08-11 2:50 ` Jesus M. Salvo Jr.
2004-08-11 5:10 ` Jesus M. Salvo Jr. [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4119AA28.9020200@migasia.com \
--to=jesus.salvo@migasia.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.