Date: Fri, 16 Sep 2011 19:49:18 +0900 From: etherforet <etherforet@gmail.com> To: ports@freebsd.org, srn@k66.ru Subject: Re: freevrrpd Message-ID: <CA%2Bb=yhTCMoYej-h081uXgaujGynVV-voePOz-BTPaZd0Lo-y4g@mail.gmail.com> In-Reply-To: <redirect-543012606@k66.ru> References: <redirect-543012606@k66.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <srn@k66.ru>: > 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bb=yhTCMoYej-h081uXgaujGynVV-voePOz-BTPaZd0Lo-y4g>