FreeVRRPd not working with VLAN subinterfaces

Hi there. As a precursor to my issue, here's a couple of files to reference:

I should note this is the BSDRP image.

/etc/rc.conf:

Bash:
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:

Bash:
[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

When I start up the service using service freevrrpd start, I check /var/log/messages and get the following message:

Bash:
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...

I don't know who here has experience with freeVRRP, but I've used the VRRP feature from FRR (Which doesn't appear to be enabled in BSDRP) with no issues. Has anyone encountered something like this with freevrrpd?
 
Last edited by a moderator:
This is a curent limitation of FreeBSD's netgraph bridge (used by FreeVRRPd) that doesn't accept interface name with a 'dot' (like igb1.13).
Just renaming the vlan interface will fix it.
 
Back
Top