Dears,
I am using a failovcer config with two sfp+ ports. I do bridge this lagg0 interface via bridge to three tap interfaces for vm-bhyve. With upgrading to 15.0-RELEASE I did notice the following warning. I did consult the handbook but I am unsure how to solve this problem. Maybe I just did not read the correct parts of the handbook. I have a possible solution but as the machine is remote, I would like to have some other thoughts.
Regards
dmesg
rc.conf - current
rc.conf - my possible solution
I am using a failovcer config with two sfp+ ports. I do bridge this lagg0 interface via bridge to three tap interfaces for vm-bhyve. With upgrading to 15.0-RELEASE I did notice the following warning. I did consult the handbook but I am unsure how to solve this problem. Maybe I just did not read the correct parts of the handbook. I have a possible solution but as the machine is remote, I would like to have some other thoughts.
Regards
dmesg
Code:
lagg0: WARNING: Assigning an IP address to an interface which is also a bridge member is deprecated and will be unsupported in a future release.
Code:
# set up cloned interface
cloned_interfaces="lagg0 bridge0 tap0 tap1 tap2"
ifconfig_ix2="up"
ifconfig_ix3="up"
# lagg0 lacp oder failover
#ifconfig_lagg0="laggproto lacp laggport ix2 laggport ix3 10.0.1.12/24"
ifconfig_lagg0="laggproto failover laggport ix2 laggport ix3 10.0.1.12/24"
ifconfig_bridge0="addm lagg0 addm tap0 addm tap1 addm tap2"
defaultrouter="10.0.1.1"
Code:
# set up cloned interface
cloned_interfaces="lagg0 bridge0 tap0 tap1 tap2"
ifconfig_ix2="up"
ifconfig_ix3="up"
# lagg0 - no IP address when it's a bridge member
ifconfig_lagg0="laggproto failover laggport ix2 laggport ix3 up"
# bridge0 gets the IP address
ifconfig_bridge0="addm lagg0 addm tap0 addm tap1 addm tap2 inet 10.0.1.12/24"
defaultrouter="10.0.1.1"