Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2007 06:26:30 +0100
From:      "Bruce M. Simpson" <bms@FreeBSD.org>
To:        freebsd-current@FreeBSD.org,  freebsd-emulation@FreeBSD.org
Subject:   Re: recent CURRENT seems to affect if_tap, if_bridge with qemu
Message-ID:  <461B2006.9090508@FreeBSD.org>
In-Reply-To: <20070410010402.GB54131@uws1.starlofashions.com>
References:  <20070409132718.GA28377@uws1.starlofashions.com> <20070410010402.GB54131@uws1.starlofashions.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Scott Robbins wrote:
> To follow up, the problem seems to be solved.  In private email, someone
> suggested to me that I ensure that both bridge0 and tap0 were up.  Prior
> to my latest update of CURRENT, my /etc/qemu-ifup script just had 
>
> /sbin/ifconfig ${1}
>
> Changing it to 
>
> /sbin/ifconfig ${1} up
>
> fixed the problem. 
>   

There is a net.link.tap.up_on_open sysctl which may help; it will mark a 
tap instance as IFF_UP immediately on devfs open or ifconfig clone.

Regards,
BMS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?461B2006.9090508>