From owner-freebsd-questions@freebsd.org Mon Feb 1 14:20:50 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0477CA9723F for ; Mon, 1 Feb 2016 14:20:50 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.70.90]) by mx1.freebsd.org (Postfix) with ESMTP id D8A0DDC2 for ; Mon, 1 Feb 2016 14:20:49 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id C349FCB8CAB; Mon, 1 Feb 2016 08:20:41 -0600 (CST) Received: from 76.192.184.12 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Mon, 1 Feb 2016 08:20:41 -0600 (CST) Message-ID: <53364.76.192.184.12.1454336441.squirrel@cosmo.uchicago.edu> In-Reply-To: <20160201175827.E51785@sola.nimnet.asn.au> References: <20160131000408.N51785@sola.nimnet.asn.au> <63014.76.192.184.12.1454168056.squirrel@cosmo.uchicago.edu> <20160201175827.E51785@sola.nimnet.asn.au> Date: Mon, 1 Feb 2016 08:20:41 -0600 (CST) Subject: Re: "epilogue" script? From: "Valeri Galtsev" To: "Ian Smith" Cc: "Polytropon" , freebsd-questions@freebsd.org Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 14:20:50 -0000 On Mon, February 1, 2016 1:11 am, Ian Smith wrote: > On Sat, 30 Jan 2016 09:34:16 -0600 (CST), Valeri Galtsev wrote: > > On Sat, January 30, 2016 8:19 am, Ian Smith wrote: > [..] > > > We don't really know what Valeri wants to run, and whether it's one > or > > > more daemons, maybe including long-running background scripts, that > may > > > need start|stop|status control via service(8), or whether it's more > > > simply one or more one-off tasks to be run sometime after startup? > > > > It is rather simple thing which I need. I'm trying to set up openvpn, > and > > I need _after_ starting openvpn daemon to add tap0 interface to the > bridge > > then set IP on the bridge and on tap0 interface the same as that of > real > > interface which is member of this bridge. This is the only way I > managed > > to make openvpn really work (by trial and error). I'm kind of not > inclined > > to use openvpn's mechanism (which they seemingly have) to do it (it is > not > > a first time I spent this long setting up something on FreeBSD, but it > was > > the first time I spent this time... hm, not that productive. My > ignorance > > is to blame, still...) > > I know absolutely nothing about openvpn or tap interfaces so can't help > with that, except to suggest freebsd-net@ as the best place to ask. Thanks again, I will. I'm kind of puzzled by the need to set IP on all bridge members, whereas setting IP on the bridge itself should suffice. And I am kind of not able to overcome unrelated problem I create by adding physical interface to bridge: I have DHCP server on that same machine which (no matter whether DHCP server is jail or on host machine itself) gets blocked when I make physical interface member of a bridge, although it is my understanding that the bridge works on the same layer, so something is wrong with what I'm doing. Valeri > > cheers, Ian > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++