Page MenuHomeVyOS Platform

Redundant active-active configuration, asymmetric routing and conntrack-sync cache
Closed, ResolvedPublicFEATURE REQUEST


The example uses a connection to two ISP. Asymmetric routing is when the flow of packets in one direction passes through a different router than that used for the return path.
In this configuration, when the flows is asymmetric, for the translation to work properly, you must disable the cache.

bgp-redundant.png (195×270 px, 14 KB)

cat /etc/conntrackd/conntrackd.conf 
Sync {
	Mode FTFW {
		DisableExternalCache On

Need a feature to disable the cache. I use temporary workaround:

---	2018-12-21 05:40:24.000000000 +0500
+++	2018-12-31 15:52:28.078441250 +0500
@@ -57,7 +57,7 @@
 my $GENERAL_SECTION_START    = "General {\n";
 my $SYNC_SECTION_START       = "Sync {\n";
-my $MODE_SECTION_START       = "\tMode FTFW {\n";
+my $MODE_SECTION_START       = "\tMode FTFW {\n\t\tDisableExternalCache On\n";
 my $MULTICAST_SECTION_START  = "\tMulticast {\n";
 my $UNICAST_SECTION_START    = "\tUDP {\n";
 my $OPTIONS_SECTION_START    = "\tOptions {\n";


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Will be filled on close

Event Timeline

daniil changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).Jan 31 2019, 8:46 AM

Any chance of getting this merged into 1.2.2?

@syncer Any chance of getting this merged into 1.2.2?

dmbaturin claimed this task.
dmbaturin added a subscriber: dmbaturin.

Sorry it took so long! I've cherry-picked it into crux, will be in 1.2.6.

Hint for everyone: add project tags. Not being tagged Crux is why the task never drawn anyone's attention.