Solved rc.conf syntax problem creating IPv6 CARP Interface

Hi Guys,

I'm testing IPv6 Features in my HyperV Lab and build a pair of FreeBSD 12.2-RELEASE Router VMs. These machines should have several CARP Interface with VLAN Tagging and IPv6 ULA address

This is my rc.conf for the CARP Interfaces

Code:
ifconfig_vlan315="inet6 fdb8:317b:66dd::ffff/64
ifconfig_vlan315_alias0="inet6 fdb8:317b:66dd::1/64 vhid 22 pass 12345"

After booting the machine the CARP Interface is not getting created! It seems that the something in my syntax is wrong and the parameters are nor parsed correct.

When I use IPv4 addresses in rc.conf CARP Interface is created.
Code:
ifconfig_vlan315="inet 192.168.178.253/24”
ifconfig_vlan315_alias0="inet 192.168.178.1/32 vhid 22 pass 12345"

When I enter this on the command line the Interface is getting created
Code:
root@vm01:~ # ifconfig vlan315 inet6 fdb8:317b:66dd::1/64 vhid 22 pass 12345

Can you please help me what I'm doing wrong?
Thanks!
 
Shame on me.
Found the solution.

Missed in rc.conf(5) ifconfig_<interface>_ipv6

This is working:

ifconfig_vlan315_ipv6="inet6 fdb8:317b:66dd::ffff/64
ifconfig_vlan315_alias0="inet6 fdb8:317b:66dd::1/64 vhid 22 pass 12345"
 
Back
Top