You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commit 3dcd13c adds the ability to specify using VMACs for addresses not on the VRRP instance's interface.
use_vmac_addr can be specified on a vrrp_instance so that all VIPs/eVIPs not on the VRRP instance's interface are on VMACs.
use_vmac can be specfied per VIP/eVIP to achieve the same result for individual addresses.
vmac_prefix allows the default prefix of VMAC names for a primary VMAC
vmac_addr_prefix allows specifying the default VMAC name prefix for VIPs/eVIPs on other interfaces
Global vrrp_garp_extra_if [all] and per VRRP instance garp_extra_if [all] enable sending periodic GARP/NA messages for VIPs/eVIPs not on a VRRP instance's primary interface (more details below).
Re point 5. above, if a VIP/eVIP is configured on a VMAC on a different interface from the primary VRRP interface, no traffic will normally be sent with the source MAC address of the VMAC interface, since VRRP adverts will be sent on the primary VRRP interface. This means that any network switches that cache MAC addresses will expire the VMAC's MAC address, typically after 300 seconds (note: this is (was) also a problem when using vmac_xmit_base). Sending periodic GARP/NA messages on those interfaces will refresh the MAC caches in switches, and avoid any packets sent to the VMAC's MAC address flooding the whole layer 2 network. The only instance where packets will normally be sent using the VMAC's MAC address is when using IPVS with NAT forwarding. If all is not specified, GARP/NA messages will only be sent on each VMAC configured; specifying all will also send the GARP/NA messages for VIPs on other interfaces that are not using VMACs.
The one feature that has not yet been implemented is detecting if the address based VMACs are deleted, and subsequently recreating them (this is done for a primary VMAC interface but not yet for the address based ones).
use_vmac_addr
can be specified on avrrp_instance
so that all VIPs/eVIPs not on the VRRP instance's interface are on VMACs.use_vmac
can be specfied per VIP/eVIP to achieve the same result for individual addresses.vmac_prefix
allows the default prefix of VMAC names for a primary VMACvmac_addr_prefix
allows specifying the default VMAC name prefix for VIPs/eVIPs on other interfacesvrrp_garp_extra_if [all]
and per VRRP instancegarp_extra_if [all]
enable sending periodic GARP/NA messages for VIPs/eVIPs not on a VRRP instance's primary interface (more details below).Re point 5. above, if a VIP/eVIP is configured on a VMAC on a different interface from the primary VRRP interface, no traffic will normally be sent with the source MAC address of the VMAC interface, since VRRP adverts will be sent on the primary VRRP interface. This means that any network switches that cache MAC addresses will expire the VMAC's MAC address, typically after 300 seconds (note: this is (was) also a problem when using
vmac_xmit_base
). Sending periodic GARP/NA messages on those interfaces will refresh the MAC caches in switches, and avoid any packets sent to the VMAC's MAC address flooding the whole layer 2 network. The only instance where packets will normally be sent using the VMAC's MAC address is when using IPVS with NAT forwarding. Ifall
is not specified, GARP/NA messages will only be sent on each VMAC configured; specifyingall
will also send the GARP/NA messages for VIPs on other interfaces that are not using VMACs.The one feature that has not yet been implemented is detecting if the address based VMACs are deleted, and subsequently recreating them (this is done for a primary VMAC interface but not yet for the address based ones).
Originally posted by @pqarmitage in #1743 (comment)
The text was updated successfully, but these errors were encountered: