It works :) If i added ifconfig tap0 <ip> <mask>
However I have not yet understand how :)

On Thu, Feb 11, 2016 at 4:45 PM, John Long <codeb...@inbox.lv> wrote:
> Dmitry,
>
> On Thu, Feb 11, 2016 at 10:06:34AM +0500, dmitry.sensei wrote:
>
>> Can you give generic guide to setting up a network in Qemu (OpenBSD)?
>> I have one physical re0 interface, which looks to the Internet.
>
> #!/bin/ksh
> ifconfig tun0 create
> ifconfig tun0 link0
> ifconfig tun0 up
> ifconfig bridge0 create
> #ifconfig bridge0 fwddelay 4
> ifconfig bridge0 add re0 add tun0
> ifconfig bridge0 up
>
> I can't remember where I found the above but I have been using it with
> SIMH. It may have been in the example where somebody shows how to run
> OpenBSD VAX under SIMH. In the SIMH .conf you use
>
> at xq tap:tap0
>
> I ASSume you would use a similar syntax in QEMU's config. That is, use
> tap:tap0 as your network interface name instead of re0. I commented out the
> fwddelay to see if it affected anything and it doesn't seem to in this
> application.
>
> /jl
>
> --
> ASCII ribbon campaign ( ) Powered by Lemote Fuloong
>  against HTML e-mail   X  Loongson MIPS and OpenBSD
>    and proprietary    / \    http://www.mutt.org
>      attachments     /   \  Code Blue or Go Home!
>  Encrypted email preferred  PGP Key 2048R/DA65BC04
>



-- 
Dmitry Orlov

Reply via email to