GRE tunnels dont work
Username: FREDY
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1261
LEDE version: 17.01.4, r3560-79f57e42
BusyBox v1.25.1
Device: TP-Link TL-WDR3600 v1
Steps to Reproduce:
-
Installed gre module with: opkg install gre mod-gre
-
Added gre interfaces to /etc/config/network as following:
config interface ‘gre0’
option proto 'gre' option ifname 'gre0' option peeraddr 'myfqn.example.com' option mtu '1476'
config interface ‘gre0_static’
option proto 'static' option ifname '@gre0' option ipaddr '192.168.0.2' option netmask '255.255.255.252'
- When I try to ping the other side of the tunnel with: “ping 192.168.0.1”
root@lede-router:/etc/config# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1): 56 data bytes
ping: sendto: Invalid argument
Have tried already to run just with kmod-gre package install and get the same result.
When I install the gre package with: “opkg install gre” I get the following output from logread:
Sun Jan 7 03:25:05 2018 daemon.notice netifd: Interface ‘gre0’ is now down
Sun Jan 7 03:25:05 2018 daemon.notice netifd: Interface ‘gre0’ is setting up now
Sun Jan 7 03:25:05 2018 daemon.notice netifd: gre0 (3448): ./gre.sh: eval: line 1: resolveip: not found