I am trining setup simple HA configuration in GNS3.
Vrrp working but i am no able to assign sync-grup for conntrack. I dont know if its bug or i am doing something wrong.
show configuration
high-availability {
vrrp {
group lan {
authentication {
password ****************
type plaintext-password
}
hello-source-address 192.168.10.253
interface eth2
peer-address 192.168.10.254
priority 150
virtual-address 192.168.10.1/24
vrid 1
}
group wan {
authentication {
password ****************
type plaintext-password
}
hello-source-address 192.168.122.20
interface eth0
peer-address 192.168.122.21
priority 150
virtual-address 192.168.122.22/24
vrid 2
}
}
}
interfaces {
ethernet eth0 {
address 192.168.122.20/24
duplex auto
hw-id 0c:bd:a5:b4:2b:00
smp-affinity auto
speed auto
}
ethernet eth1 {
address 10.0.0.5/30
duplex auto
hw-id 0c:bd:a5:b4:2b:01
smp-affinity auto
speed auto
}
ethernet eth2 {
address 192.168.10.253/24
duplex auto
hw-id 0c:bd:a5:b4:2b:02
smp-affinity auto
speed auto
}
loopback lo {
}
}
service {
ssh {
}
}
system {
config-management {
commit-revisions 100
}
console {
device ttyS0 {
speed 9600
}
}
host-name vos01
login {
user vyos {
authentication {
encrypted-password ****************
plaintext-password ****************
}
level admin
}
}
ntp {
server 0.pool.ntp.org {
}
server 1.pool.ntp.org {
}
server 2.pool.ntp.org {
}
}
syslog {
global {
facility all {
level info
}
facility protocols {
level debug
}
}
}
time-zone UTC
}high-availability {
vrrp {
group lan {
authentication {
password ****************
type plaintext-password
}
hello-source-address 192.168.10.254
interface eth2
peer-address 192.168.10.253
priority 100
virtual-address 192.168.10.1/24
vrid 1
}
group wan {
authentication {
password ****************
type plaintext-password
}
hello-source-address 192.168.122.21
interface eth0
peer-address 192.168.122.20
priority 100
virtual-address 192.168.122.22/24
vrid 2
}
}
}
interfaces {
ethernet eth0 {
address 192.168.122.21/24
duplex auto
hw-id 0c:bd:a5:e8:cd:00
smp-affinity auto
speed auto
}
ethernet eth1 {
address 10.0.0.6/30
duplex auto
hw-id 0c:bd:a5:e8:cd:01
smp-affinity auto
speed auto
}
ethernet eth2 {
address 192.168.10.254/24
duplex auto
hw-id 0c:bd:a5:e8:cd:02
smp-affinity auto
speed auto
}
loopback lo {
}
}
system {
config-management {
commit-revisions 100
}
console {
device ttyS0 {
speed 9600
}
}
host-name vos02
login {
user vyos {
authentication {
encrypted-password ****************
plaintext-password ****************
}
level admin
}
}
ntp {
server 0.pool.ntp.org {
}
server 1.pool.ntp.org {
}
server 2.pool.ntp.org {
}
}
syslog {
global {
facility all {
level info
}
facility protocols {
level debug
}
}
}
time-zone UTC
}compare
[edit service]
+conntrack-sync {
+ accept-protocol tcp,udp,icmp
+ event-listen-queue-size 8
+ failover-mechanism {
+ vrrp {
+ sync-group 2
+ }
+ }
+ interface eth1 {
+ }
+ mcast-group 225.0.0.50
+ sync-queue-size 1
+}
[edit]commit
[ service conntrack-sync ] conntrack-sync error: vrrp sync-group does not exist [[service conntrack-sync]] failed Commit failed