From owner-freebsd-ports@FreeBSD.ORG Mon Aug 29 18:47:53 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 166DD106564A for ; Mon, 29 Aug 2011 18:47:53 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id C31C28FC0A for ; Mon, 29 Aug 2011 18:47:52 +0000 (UTC) Received: by vws18 with SMTP id 18so6249123vws.13 for ; Mon, 29 Aug 2011 11:47:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5lwxMsB3VxKleJJE6nEC/CcdZBAFUagRSxlT2yxrwKo=; b=OKsW7U50q8uYDGIrKIr23Fz0S7fO7kAO//q339YB27jgllcsW7YbymoTHFKO9ygahE w29mOhwDx5ahATjCT2E/iovMIvZbJAiHxvuot6U+Wj1NWBgJMsCzZKF7pGpCGPO+JhCb 8jQaMaKxiMDJa59OiLZ4MkJrNxQZgOqYI1cJk= MIME-Version: 1.0 Received: by 10.220.99.140 with SMTP id u12mr1995337vcn.19.1314642137725; Mon, 29 Aug 2011 11:22:17 -0700 (PDT) Received: by 10.220.201.135 with HTTP; Mon, 29 Aug 2011 11:22:17 -0700 (PDT) In-Reply-To: References: Date: Mon, 29 Aug 2011 11:22:17 -0700 Message-ID: From: Freddie Cash To: srn@k66.ru Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org Subject: Re: freevrrpd X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2011 18:47:53 -0000 2011/8/26 > Hello, my name is Mihail Suhorosov, Im from Russia and I use you port for > FreeBSD freevrrpd.(My BSD version is 8.2) > > I have some problem. I can't start this programm. My config is: > [VRID] > serverid = 1 > interface = re0 > priority = 255 > addr = 10.50.40.8/32 > #masterscript = /usr/local/bin/master_script.**sh > #backupscript = /usr/local/bin/backup_script.**sh > #password = vrid1 > > After start I see in log: > Aug 26 17:31:52 tim freevrrpd[1687]: launching daemon in background mode > Aug 26 17:31:52 tim freevrrpd[1688]: initializing threads and all VRID > Aug 26 17:31:52 tim freevrrpd[1688]: reading configuration file > /usr/local/etc/freevrrpd.conf > Aug 26 17:31:52 tim freevrrpd[1688]: cannot create a bridge device: No such > file or directory > Aug 26 17:31:52 tim freevrrpd[1688]: aborting... > > So i think it cant connetct to interface. But why i dont know.... > In my netcard i have alias 10.50.40.8 > Do not assign an IP address to the interface in /etc/rc.conf. Just mark it as "up": ifconfig_re0="up" Then, when freevrrpd starts, it will create a new pseudo-interface via netgraph, and assign the IP to that interface automatically. -- Freddie Cash fjwcash@gmail.com