I can add an interface to a group easily enough with
However, I want this to be automatic (if possible). I can write a script and place it in /usr/local/etc/rc.d and enable that, but is there an existing way to do this? I tried editing /etc/rc.conf as follows (just guessing if it was a configuration option):
However, neither worked. I also checked to see if group was in /etc/rc.d/netif and it was not. I'm hoping there is a hidden configuration somewhere that will let me do this because I would like to use this with pf and want to ensure the groups are configured prior to starting pf.
ifconfig <interface> group <group name>