freevrrpd
etherforet
etherforet at gmail.com
Fri Sep 16 11:16:57 UTC 2011
Hi,all.
for OLD FreeVRRPd 0.9x,settings example.
--
box1: / etc / rc.conf
ifconfig_em0 = "inet 192.168.0.2 netmask 255.255.255.0"
box1: / usr / local / etc / freevrrpd.conf
[VRID]
serverid = 1
interface = em0
carriertimeout = 10
spanningtreelatency = 0
priority = 200
addr = 192.168.0.1/24
monitoredcircuits = yes
MCClearErrorsCount = 3600
masterscript = / usr / local / bin / master_script.sh
backupscript = / usr / local / bin / backup_script.sh
password = vrid1
-
box2: / etc / rc.conf
ifconfig_em0 = "inet 192.168.0.3 netmask 255.255.255.0"
box2: / usr / local / etc / freevrrpd.conf
[VRID]
serverid = 1
interface = em0
carriertimeout = 10
spanningtreelatency = 0
priority = 100
addr = 192.168.0.1/24
monitoredcircuits = yes
MCClearErrorsCount = 3600
masterscript = / usr / local / bin / master_script.sh
backupscript = / usr / local / bin / backup_script.sh
password = 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 = "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 = 1
interface = em0
carriertimeout = 10
spanningtreelatency = 0
priority = 200
addr = 192.168.1.1/24
monitoredcircuits = yes
MCClearErrorsCount = 3600
masterscript = / usr / local / bin / master_script.sh
backupscript = / usr / local / bin / backup_script.sh
password = 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 at 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 = 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
>
> Please help my))
>
> Bets whishes,
> Suhorosov Mihail.
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
More information about the freebsd-ports
mailing list