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.