Hi there.

So, been testing out a BSDRP alongside a physical Cisco router, and everything 
thus far has went swimmingly, except for this little thing.

When I enable VRRP on a physical interface (i.e. igb1), no problems getting it 
to work. However, when I use VLAN subinterfaces, I'm getting an error that's 
preventing freevrrpd from starting.

In /etc/rc.conf:


hostname="BSDRP-RTR-01"

frr_daemons="zebra bgpd ospfd staticd pbrd"

frr_enable="yes"

autosave_enable="yes"

# Ifconfig_igb1="DHCP"

sshd_enable="yes"

freevrrpd_enable="YES"

vlans_igb1="30 31"

ifconfig_igb1_30="inet 192.168.250.3/24"

ifconfig_igb1_31="inet 192.168.251.3/24"

ifconfig_igb1="inet 192.168.100.52/24"

vlans_igb0="201 202 203"

ifconfig_igb0="inet 12.12.12.1/24"

ifconfig_igb0_201="inet 192.168.201.1/24"

ifconfig_igb0_202="inet 192.168.202.1/24"

ifconfig_igb0_203="inet 192.168.203.1/24"

harvest_mask="351"

ifconfig_igb3="inet 10.0.1.3/29"

Now, what I'm trying to do is setting up vlan 30/31 (On igb1) to be VRRP 
masters (Cisco router configured as standby on the other end).

Here is the vrrpd.conf file:


[VRID]
# specify a second VRID number 2
serverid = 1
interface = igb1.30
# priority = 100 so it's a backup
priority = 110
addr = 192.168.250.1/24

[VRID]
serverid = 2
interface = igb1.31
priority = 110
addr = 192.168.251.1/24

After applying this configuration, I then attempt to move starting the 
freevrrpd instance, and this is what shows up in /var/log/messages:


root@BSDRP-RTR-01:~ # grep vrrp /var/log/messages

Mar 26 18:44:20 BSDRP-RTR-01 freevrrpd[313]: initializing threads and all VRID
Mar 26 18:44:20 BSDRP-RTR-01 freevrrpd[313]: reading configuration file 
/usr/local/etc/freevrrpd.conf
Mar 26 18:44:20 BSDRP-RTR-01 freevrrpd[313]: cannot create a bridge device: 
Invalid argument
Mar 26 18:44:20 BSDRP-RTR-01 freevrrpd[313]: aborting...


This is something I've searched far and wide, and the freevrrpd documentation 
isn't the best at clarifying either. I'm curious as to why BSDRP doesn't use 
FRR's VRRP implemenation, as I had no problem using that one in Debian (With 
VLAN subinterfaces).

I've read that freevrrpd doesn't play well with certain variations of VLAN 
interfaces, but this was from old messages years ago. I hope someone has 
encountered this before and if they have a suggestion. CARP is not a viable 
option, as VRRP is an open standard and plays well with the broadest set of 
vendors.

Anthony




_______________________________________________
Bsdrp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bsdrp-users

Reply via email to