Hello
using openwrt 19.07.
I have setup gre tunnels on two routers.
config on router 1:
config interface 'gre1'
option proto 'gre'
option peeraddr '192.168.43.245'
option ipaddr '192.168.43.233'
option ltunaddr '10.10.8.1'
option rtunaddr '10.10.8.2'
option keepalvi '5'
option keepalvr '10'
option tunlink 'wwan'
config on router 2:
config interface 'gre2'
option proto 'gre'
option peeraddr '192.168.43.233'
option ipaddr '192.168.43.245'
option ltunaddr '10.10.8.2'
option rtunaddr '10.10.8.1'
option keepalvi '5'
option keepalvr '10'
option tunlink 'wwan'
I gre tunnel on both routers are working as I am able to see ifconfig on both device
on router #1:
gre4-gre1 Link encap:UNSPEC HWaddr C0-A8-2B-E9-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.10.8.1 P-t-P:10.10.8.2 Mask:255.255.255.255
inet6 addr: fe80::5efe:c0a8:2be9/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:16 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1344 (1.3 KiB) TX bytes:1764 (1.7 KiB)
on router #2
gre4-gre2 Link encap:UNSPEC HWaddr C0-A8-2B-F5-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.10.8.2 P-t-P:10.10.8.1 Mask:255.255.255.255
inet6 addr: fe80::5efe:c0a8:2bf5/64 Scope:Link
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Also I am able to ping 10.10.8.2 from router 1 and 10.10.8.1 from router 2.
But if run ifstatus on both the routers i get blank values for RX, TX and ipaddress
ifstatus gre1
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": false,
"uptime": 12363,
"l3_device": "gre4-mh",
"proto": "gre",
"metric": 0,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
],
"ipv6-prefix": [
],
"ipv6-prefix-assignment": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
]
},
"data": {
}
}
Does anyone knows why these fields are blank in ifstatus result?