Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1261 - GRE tunnels dont work #6250

Closed
openwrt-bot opened this issue Jan 7, 2018 · 2 comments
Closed

FS#1261 - GRE tunnels dont work #6250

openwrt-bot opened this issue Jan 7, 2018 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

fredy:

LEDE version: 17.01.4, r3560-79f57e422d
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

@openwrt-bot
Copy link
Author

dedeckeh:

Depending on your needs you need to install either the packages grev4 and/or grev6 to get the dependencies correct as both grev4 and grev6 have dependencies on resolveip and the corresponding gre kernel module.
Can you try to install the package grev4 and check if the issue is fixed ?

@openwrt-bot
Copy link
Author

fredy:

Well, I believe you are right :)

I have done:

  • opkg update
  • opkg install gre grev4 kmod-gre

And now works.

So I guess the issue was the 'grev4' package missing which, as you mentioned, installed the resolveip package. Perhaps it should be a dependency of the other two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant