Page MenuHomeVyOS Platform

Can not create two GRE tunnels to the same DST but from different SRC addresses
In progress, NormalPublicBUG

Description

Cannot create two GRE tunnels to the same DST but from different SRC addresses
Configuration:

set interfaces ethernet eth1 address '10.0.0.2/24'
set interfaces ethernet eth2 address '10.0.1.2/24'
set protocols static route 0.0.0.0/0 next-hop 10.0.0.1

Adding tunnels

set interfaces tunnel tun100 address '192.168.8.100/31'
set interfaces tunnel tun100 encapsulation 'gre'
set interfaces tunnel tun100 ip adjust-mss '1436'
set interfaces tunnel tun100 remote '10.0.10.2'
set interfaces tunnel tun100 source-address '10.0.0.2'

set interfaces tunnel tun102 address '192.168.8.104/31'
set interfaces tunnel tun102 encapsulation 'gre'
set interfaces tunnel tun102 ip adjust-mss '1436'
set interfaces tunnel tun102 remote '10.0.10.2'
set interfaces tunnel tun102 source-address '10.0.1.2'

Getting error after commit

vyos@vyos# commit
[ interfaces tunnel tun100 ]
Missing required "ip key" parameter when running more then one GRE based
tunnel on the same source-interface/source-address

[[interfaces tunnel tun100]] failed
[ interfaces tunnel tun102 ]
Missing required "ip key" parameter when running more then one GRE based
tunnel on the same source-interface/source-address

[[interfaces tunnel tun102]] failed
Commit failed
[edit]
vyos@vyos#

After adding such interfaces manually everything works. I can ping all remote sites through tunnels.

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.5-rolling-202403220018, VyOS 1.3.6
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

a.apostoliuk created this task.
a.apostoliuk changed the task status from Open to In progress.Thu, Apr 4, 11:08 AM
a.apostoliuk claimed this task.