I have a FreeBSD 8 box with a compatible version of freevrrpd-1.0.tbz installed on it.(i386)
What I have been able to do ->
Step 1
=======
Step 2
======
Modify conf file ->
Step3
======
Run the command -
Step 4
=======
Issue
======
I do not see the vrrpd advertisement messages with VRID, VRIP address etc.
I tried with my interface both in promiscuous/non promiscuous mode.
Need help.
[I have provided info only for 1 box as I need to get this going first. My deployment involves 2 FreeBSD machines with the same VRID, same addr]
Thanks in advance.
P.S
Kindly tag an expert in this area if known.
What I have been able to do ->
Step 1
=======
Code:
(TPC-E15-18:wheel)# pkg_add /home/rshenthar/VRRP/freevrrpd-1.0.tbz
!! WARNING !!
freevrrpd now use the netgraph layout. netgraph, ng_ether, ng_bridge and ng_eiface are required to run correctly.
Unfortunately some netgraph modules doesn't load automatically, you need to load them manually.
use:
kldload ng_eiface
kldload ng_bridge
kldload ng_ether
OR
add these lines to your /boot/loader.conf:
ng_ether_load="YES"
ng_bridge_load="YES"
ng_eiface_load="YES"
(TPC-E15-18:wheel)#
(TPC-E15-18:wheel)#
======
Modify conf file ->
Code:
(TPC-E15-18:wheel)# pwd
/usr/local/sbin
(TPC-E15-18:wheel)# cat ../etc/freevrrpd.conf
[VRID]
serverid = 1
interface = em1
carriertimeout = 10
spanningtreelatency = 0
priority = 100
addr = 1.0.0.10/24
monitoredcircuits = yes
MCClearErrorsCount = 3600
#masterscript = / usr / local / bin / master_script.sh
#backupscript = / usr / local / bin / backup_script.sh
Step3
======
Run the command -
Code:
(TPC-E15-18:wheel)# ./freevrrpd -f ../etc/freevrrpd.conf
(TPC-E15-18:wheel)#
Step 4
=======
Code:
(TPC-E15-18:wheel)# tail -10 /var/log/messages
Jul 19 01:37:37 TPC-E15-18 freevrrpd[11821]: initializing threads and all VRID
Jul 19 01:37:37 TPC-E15-18 freevrrpd[11821]: reading configuration file ../etc/freevrrpd.conf
Jul 19 06:16:26 TPC-E15-18 kernel: em1: promiscuous mode enabled
Jul 19 06:16:39 TPC-E15-18 kernel: em1: promiscuous mode disabled
Jul 19 06:17:05 TPC-E15-18 kernel: em1: promiscuous mode enabled
Jul 19 06:23:05 TPC-E15-18 kernel: em1: promiscuous mode disabled
Jul 19 07:26:42 TPC-E15-18 kernel: em1: permanently promiscuous mode enabled
Jul 19 03:27:36 TPC-E15-18 freevrrpd[12134]: launching daemon in background mode
Jul 19 03:27:36 TPC-E15-18 freevrrpd[12135]: initializing threads and all VRID
Jul 19 03:27:36 TPC-E15-18 freevrrpd[12135]: reading configuration file ../etc/freevrrpd.conf
Issue
======
I do not see the vrrpd advertisement messages with VRID, VRIP address etc.
I tried with my interface both in promiscuous/non promiscuous mode.
Need help.
[I have provided info only for 1 box as I need to get this going first. My deployment involves 2 FreeBSD machines with the same VRID, same addr]
Thanks in advance.
P.S
Kindly tag an expert in this area if known.