From owner-freebsd-stable@FreeBSD.ORG Thu Mar 15 15:40:39 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56B3316A402; Thu, 15 Mar 2007 15:40:39 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 127D013C45D; Thu, 15 Mar 2007 15:40:39 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.66) with esmtp (envelope-from ) id <1HRrpf-0004Xn-96>; Thu, 15 Mar 2007 16:25:35 +0100 Received: from e178062211.adsl.alicedsl.de ([85.178.62.211] helo=[192.168.1.128]) by inpost2.zedat.fu-berlin.de (Exim 4.66) with esmtpsa (envelope-from ) id <1HRrpf-0004HS-6Q>; Thu, 15 Mar 2007 16:25:35 +0100 Message-ID: <45F965C6.4060901@mail.zedat.fu-berlin.de> Date: Thu, 15 Mar 2007 16:27:02 +0100 From: "O. Hartmann" User-Agent: Thunderbird 1.5.0.10 (X11/20070306) MIME-Version: 1.0 To: "Bruce M. Simpson" References: <20070314104732.GA5794@wiz> <45F7D727.2080301@unsane.co.uk> <20070315133346.GA5645@wiz> <45F94CD5.90601@FreeBSD.org> In-Reply-To: <45F94CD5.90601@FreeBSD.org> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.62.211 Cc: freebsd-stable@FreeBSD.ORG Subject: Re: tap device at boot time X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2007 15:40:39 -0000 Bruce M. Simpson wrote: > Willy Offermans wrote: >> Thank you for your response, but unfortunately adding >> cloned_interfaces="tap0" to my rc.conf did not solve the issue. The >> tap0 device only appeared after I started the openvpn daemon. Is there >> a way to determine the order to start the daemons. Maybe I can solve >> the problem in that way. >> > cloned_interfaces="tap0" will only work with a version of FreeBSD > which has clonable tap support (FreeBSD 7.0-CURRENT or 6.2-STABLE, not > 6.2-RELEASE). > > Regards, > BMS > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" Hello, maybe this is slightly OT, but I tried using /dev/tap0 by QEMU on FBSD 7.0-CURRENT and 6.2-STABLE at boottime. Using cloned_interfaces="tap0" gives a tap0 device at boot time, but I need to assign a fixed MAC address and tried doing this via ifconfig_tap0="inet XXX.XXX.XXX.XXX netmask 0xfffffe00 link MAX_ADDRESS" (MAC_ADDRESS replaced by a valid MAC address). Reason ist I try to get an IP via DHCP - this is restricted by our computer center and their DHCP maintenance so I do not have influence on that. I need to provide them a fix MAC address. I think using ifconfig_tap0="..." in /etc/rc.conf seems to be too early., the /dev/tap0 device has always another MAC address after booting. Is their a 'definded' way to assign a MAC address within rc.conf? Regards, Oliver