Provided configuration from forum https://forum.vyos.io/t/losing-some-configuration-on-reboot/
Tun interface not created with this configuration
set interfaces tunnel tun0 description '*** SITE1 ***' set interfaces tunnel tun0 encapsulation 'gre-bridge' set interfaces tunnel tun0 ip enable-arp-accept set interfaces tunnel tun0 ip enable-arp-announce set interfaces tunnel tun0 local-ip '10.0.3.239' set interfaces tunnel tun0 remote-ip '10.0.32.240' commit [ interfaces tunnel tun0 ip enable-arp-accept ] sh: /proc/sys/net/ipv4/conf/tun0/arp_accept: No such file or directory [[interfaces tunnel tun0]] failed Commit failed
Tun interface don't created
[email protected]# sudo ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether 52:54:00:90:b4:a3 brd ff:ff:ff:ff:ff:ff alias *** GRE-TUNNEL LOCAL-IP INTERFACE *** 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether 52:54:00:2b:69:83 brd ff:ff:ff:ff:ff:ff alias *** GRE-TUNNEL BRIDGE 802.1Q INTERFACE *** 4: [email protected]: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000 link/ether 52:54:00:2b:69:83 brd ff:ff:ff:ff:ff:ff
Workaround
set interfaces tunnel tun0 description '*** SITE1 ***' set interfaces tunnel tun0 encapsulation 'gre-bridge' set interfaces tunnel tun0 local-ip '10.0.3.239' set interfaces tunnel tun0 remote-ip '10.0.32.240' commit set interfaces tunnel tun0 ip enable-arp-accept set interfaces tunnel tun0 ip enable-arp-announce commit