mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-11-03 04:12:03 +01:00
vrrp: add instructions when using conntrack-sync
This commit is contained in:
parent
b66cdf17ad
commit
38412b8b7a
@ -103,18 +103,26 @@ Now configure conntrack-sync service on ``router1`` **and** ``router2``
|
||||
|
||||
set service conntrack-sync accept-protocol 'tcp,udp,icmp'
|
||||
set service conntrack-sync event-listen-queue-size '8'
|
||||
set service conntrack-sync failover-mechanism cluster group 'GROUP' # Or VRRP
|
||||
set service conntrack-sync failover-mechanism cluster group 'GROUP'
|
||||
set service conntrack-sync interface 'eth0'
|
||||
set service conntrack-sync mcast-group '225.0.0.50'
|
||||
set service conntrack-sync sync-queue-size '8'
|
||||
|
||||
If you are using VRRP, you need to define a VRRP sync-group, and use ``vrrp sync-group`` instead of ``cluster group``.
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
set high-availablilty vrrp group internal virtual-address ... etc ...
|
||||
set high-availability vrrp sync-group syncgrp member 'internal'
|
||||
set service conntrack-sync failover-mechanism vrrp sync-group 'syncgrp'
|
||||
|
||||
|
||||
On the active router, you should have informations in the internal-cache of
|
||||
conntrack-sync. The same current active connections number should be shown in
|
||||
the external-cache of the standby router
|
||||
|
||||
On active router run:
|
||||
|
||||
|
||||
.. code-block:: sh
|
||||
|
||||
$ show conntrack-sync statistics
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user