From owner-freebsd-ports@FreeBSD.ORG Fri Sep 16 11:16:56 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 CD8BD106566C for ; Fri, 16 Sep 2011 11:16:56 +0000 (UTC) (envelope-from etherforet@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 65B738FC16 for ; Fri, 16 Sep 2011 11:16:56 +0000 (UTC) Received: by wwe3 with SMTP id 3so4665436wwe.31 for ; Fri, 16 Sep 2011 04:16:55 -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 :content-type:content-transfer-encoding; bh=+Qa1mZXOWy28dS1QOSTYi+9s8Kk+3GDSFVSLDYjhAL4=; b=fHAzjiDtFeJeaFK9pvu24gbaRQiJGeamPODyAS6Bx4PI+630b+9/xTYr3BdCzjsGcX O2USAIahj3SuAYbMqsZwQ6SzYIkj563CTC5se1KF4eCsJuBOorvzku8WUTPXOAT72ElQ X/goXP1rV7ZHPxzCW7MR/CA1BB24kFD5Xga1A= MIME-Version: 1.0 Received: by 10.216.229.95 with SMTP id g73mr1305163weq.48.1316170158684; Fri, 16 Sep 2011 03:49:18 -0700 (PDT) Received: by 10.216.68.67 with HTTP; Fri, 16 Sep 2011 03:49:18 -0700 (PDT) In-Reply-To: References: Date: Fri, 16 Sep 2011 19:49:18 +0900 Message-ID: From: etherforet To: ports@freebsd.org, srn@k66.ru Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: 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: Fri, 16 Sep 2011 11:16:57 -0000 Hi,all. for OLD FreeVRRPd 0.9x,settings example. -- box1: / etc / rc.conf ifconfig_em0 =3D "inet 192.168.0.2 netmask 255.255.255.0" box1: / usr / local / etc / freevrrpd.conf [VRID] serverid =3D 1 interface =3D em0 carriertimeout =3D 10 spanningtreelatency =3D 0 priority =3D 200 addr =3D 192.168.0.1/24 monitoredcircuits =3D yes MCClearErrorsCount =3D 3600 masterscript =3D / usr / local / bin / master_script.sh backupscript =3D / usr / local / bin / backup_script.sh password =3D vrid1 - box2: / etc / rc.conf ifconfig_em0 =3D "inet 192.168.0.3 netmask 255.255.255.0" box2: / usr / local / etc / freevrrpd.conf [VRID] serverid =3D 1 interface =3D em0 carriertimeout =3D 10 spanningtreelatency =3D 0 priority =3D 100 addr =3D 192.168.0.1/24 monitoredcircuits =3D yes MCClearErrorsCount =3D 3600 masterscript =3D / usr / local / bin / master_script.sh backupscript =3D / usr / local / bin / backup_script.sh password =3D vrid1 -- Can be set for the segment were the same. However, NEWer FreeVRRPd 1.0 is A real IP and you need to set up to another segment. # bug? For example, IP assigned to the real card of real IP / etc / rc.conf ifconfig_em0 =3D "inet 192.168.0.1 netmask 255.255.255.0" Virtual IP assigned to the virtual card (assign ngether0: or n / usr / local / etc / freevrrpd.conf [VRID] serverid =3D 1 interface =3D em0 carriertimeout =3D 10 spanningtreelatency =3D 0 priority =3D 200 addr =3D 192.168.1.1/24 monitoredcircuits =3D yes MCClearErrorsCount =3D 3600 masterscript =3D / usr / local / bin / master_script.sh backupscript =3D / usr / local / bin / backup_script.sh password =3D vrid1 Needs to be set like this. When using a local router is not a problem, would be a little trouble setting the scene for small segment of GLOBAL edge router. # I need 0.9x ;) 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 =3D 1 > interface =3D re0 > priority =3D 255 > addr =3D 10.50.40.8/32 > #masterscript =3D /usr/local/bin/master_script.sh > #backupscript =3D /usr/local/bin/backup_script.sh > #password =3D 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 su= ch > 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 > > Please help my)) > > Bets whishes, > =A0Suhorosov Mihail. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >