[Olsr-dev] SmartGateway: 1: no tunnel being set up to SGW server / 2: stale SGW tunnel

Teco Boot (spam-protected)
Fri Oct 14 13:48:45 CEST 2011


I digged a bit more on the netlink error, with added syslog msgs.
I see a clean install of the client tunnel. But just after it 
finished, some actions are performed again, by smartgw_tunnel_monitor.

Questions:
Is it important to add route and ip to existing tunnel? Why would 
route and ip disappear?
And if needed, can we eliminate the update just after install of the tunnel? 

Anyway, this is not the cause of the two problems. I'll look further on those two.

Teco


Oct 14 11:34:45 AHR-175-166 olsrd[19318]: Writing '1' (was 1) to /proc/sys/net/ipv4/ip_forward
Oct 14 11:34:45 AHR-175-166 olsrd[19318]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/tunl0/rp_filter
Oct 14 11:34:45 AHR-175-166 olsrd[19318]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/all/send_redirects
Oct 14 11:34:45 AHR-175-166 olsrd[19318]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/all/rp_filter
Oct 14 11:34:45 AHR-175-166 olsrd[19318]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/wlan0/send_redirects
Oct 14 11:34:45 AHR-175-166 olsrd[19318]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/wlan0/rp_filter
Oct 14 11:34:45 AHR-175-166 olsrd[19318]: Adding interface wlan0 
Oct 14 11:34:45 AHR-175-166 kernel: [170267.266262] device br0 entered promiscuous mode
Oct 14 11:34:45 AHR-175-166 olsrd[19324]: Writing "0" to /proc/sys/net/ipv4/conf/bmf0/rp_filter
Oct 14 11:34:45 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:45 AHR-175-166 last message repeated 2 times
Oct 14 11:34:45 AHR-175-166 olsrd[19324]: olsr.org -  pre-0.6.3-git_1ffdb71-hash_9837aa83fef72a6baae262572b50a23e  - successfully started

Oct 14 11:34:52 AHR-175-166 ovpn-openvpn[30875]: write UDPv4 []: Network is unreachable (code=101)
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=,dst=172.31.175.169/255.255.255.255,set=true,del_similar=false
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=223,if_index=4,metric=4,protocol=3,src=,gw=172.31.175.169,dst=0.0.0.0/0.0.0.0,set=true,del_similar=false
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.169,dst=0.0.0.0/192.0.0.0,set=true,del_similar=false
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.169,dst=10.175.169.0/255.255.255.0,set=true,del_similar=false
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.169,dst=10.175.173.0/255.255.255.0,set=true,del_similar=false
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.169,dst=10.175.179.0/255.255.255.0,set=true,del_similar=false
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.169,dst=64.0.0.0/192.0.0.0,set=true,del_similar=false
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.169,dst=128.0.0.0/192.0.0.0,set=true,del_similar=false
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.169,dst=172.29.175.173/255.255.255.255,set=true,del_similar=false
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.169,dst=172.31.175.173/255.255.255.255,set=true,del_similar=false
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.169,dst=172.31.175.179/255.255.255.255,set=true,del_similar=false
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.169,dst=192.0.0.0/192.0.0.0,set=true,del_similar=false
Oct 14 11:34:53 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:55 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=,dst=172.31.175.179/255.255.255.255,set=true,del_similar=false
Oct 14 11:34:55 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:55 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.179,dst=10.175.179.0/255.255.255.0,set=true,del_similar=false
Oct 14 11:34:55 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=,dst=172.31.175.173/255.255.255.255,set=true,del_similar=false
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=223,if_index=4,metric=4,protocol=3,src=,gw=172.31.175.173,dst=0.0.0.0/0.0.0.0,set=true,del_similar=false
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.173,dst=0.0.0.0/192.0.0.0,set=true,del_similar=false
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.173,dst=10.175.173.0/255.255.255.0,set=true,del_similar=false
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.173,dst=64.0.0.0/192.0.0.0,set=true,del_similar=false
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.173,dst=128.0.0.0/192.0.0.0,set=true,del_similar=false
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.173,dst=172.29.175.173/255.255.255.255,set=true,del_similar=false
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=254,if_index=4,metric=2,protocol=3,src=,gw=172.31.175.173,dst=192.0.0.0/192.0.0.0,set=true,del_similar=false
Oct 14 11:34:56 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error

Oct 14 11:35:55 AHR-175-166 olsrd[19324]: sgw:gw_default_timer: now we are stable, choose gw
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: sgw:olsr_set_inet_gateway: new ipv4 gw selected
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: olsr_os_ifip: address on 25
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: olsr_add_ip: call olsr_netlink_send for ifindex 25, address 172.31.175.166
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: sgw:olsr_init_gateways: ipv4 new tunnel to gw added
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=224,if_index=25,metric=2,protocol=3,src=,gw=,dst=0.0.0.0/0.0.0.0,set=true,del_similar=false
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: sgw:olsr_init_gateways: ipv4 route to new gw tunnel added
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: sgw:gw_default_choose_gateway: new gw set up completed

Oct 14 11:35:55 AHR-175-166 olsrd[19324]: sgw:smartgw_tunnel_monitor: v4 tunnel up again, set route
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: new_netlink_route: family=2,rttable=224,if_index=25,metric=2,protocol=3,src=,gw=,dst=0.0.0.0/0.0.0.0,set=true,del_similar=false
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: sgw:smartgw_tunnel_monitor: v4 tunnel up again, set ip
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: olsr_os_ifip: address on 25
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: olsr_add_ip: call olsr_netlink_send for ifindex 25, address 172.31.175.166
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: olsr_netlink_send: just before checking l_err->error
Oct 14 11:35:55 AHR-175-166 olsrd[19324]: Received netlink error code File exists (-17)




Op 14 okt 2011, om 10:05 heeft Teco Boot het volgende geschreven:

> Here info on the problem, gathered during restarts.
> I need to start olsrd twice. 
> The first restart performs a cleanup (I think), removing tunnel tunl0.
> The second restart succeeds.
> 
> 
> First stop the olsrd daemon in error, and display gw status:
> 
> (spam-protected):~# gw
> Table: Gateways
> Status  Gateway IP      ETX     Hopcnt  Uplink  Downlnk IPv4    IPv6    Prefix
> u-      172.31.51.41    1.100   2       120     1000    ipv4(n) -       -
> u-      172.31.51.44    1.000   1       120     1000    ipv4(n) -       -
> u-      172.31.175.170  1.000   1       120     1000    ipv4(n) -       -
> 
> SmartGateway client tunnel:
> 
> Default routes:
> default via 172.31.51.44 dev wlan0  table 223  metric 4 onlink 
> 
> SmartGateway server tunnel:
> tunl0     Link encap:IPIP Tunnel  HWaddr   
>          inet addr:172.31.175.171  Mask:255.255.255.255
>          UP RUNNING NOARP  MTU:1480  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:0 
>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
> 
> 
> 
> 
> (spam-protected):~# stop olsrd
> Stopping olsrd ...
> olsrd stopped
> 
> 
> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: Resetting /proc/sys/net/ipv4/conf/bmf0/rp_filter to 1 
> Oct 14 06:56:15 AHR-175-171 kernel: [216187.767170] device br0 left promiscuous mode
> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: Writing '1' (was 1) to /proc/sys/net/ipv4/ip_forward
> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/tunl0/rp_filter
> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/all/send_redirects
> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/all/rp_filter
> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/wlan0/send_redirects
> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/wlan0/rp_filter
> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: olsr.org -  pre-0.6.3-git_1ffdb71-hash_3c75699de4a7bd0f90a9a15b61076ff2  - stopped
> 
> 
> (spam-protected):~# gw
> (UNKNOWN) [127.0.0.1] 2006 (?) : Connection refused
> 
> SmartGateway client tunnel:
> 
> Default routes:
> 
> SmartGateway server tunnel:
> tunl0     Link encap:IPIP Tunnel  HWaddr   
>          inet addr:172.31.175.171  Mask:255.255.255.255
>          NOARP  MTU:1480  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:0 
>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
> 
> 
> 
> 
> First attempt to restart:
> 
> Oct 14 06:57:43 AHR-175-171 olsrd[20136]: Received netlink error code File exists (-17)
> Oct 14 06:57:43 AHR-175-171 olsrd[20136]: olsrd exit: Cannot initialize gateway tunnels 
> 
> 
> 
> Second attempt:
> 
> Oct 14 06:58:10 AHR-175-171 ahrwd: olsrd died.
> Oct 14 06:58:10 AHR-175-171 olsrd[20186]: Writing '1' (was 1) to /proc/sys/net/ipv4/ip_forward
> Oct 14 06:58:10 AHR-175-171 olsrd[20186]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/tunl0/rp_filter
> Oct 14 06:58:10 AHR-175-171 olsrd[20186]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/all/send_redirects
> Oct 14 06:58:10 AHR-175-171 olsrd[20186]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/all/rp_filter
> Oct 14 06:58:10 AHR-175-171 olsrd[20186]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/wlan0/send_redirects
> Oct 14 06:58:10 AHR-175-171 olsrd[20186]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/wlan0/rp_filter
> Oct 14 06:58:10 AHR-175-171 olsrd[20186]: Adding interface wlan0 
> Oct 14 06:58:10 AHR-175-171 kernel: [216302.950848] device br0 entered promiscuous mode
> Oct 14 06:58:10 AHR-175-171 olsrd[20192]: Writing "0" to /proc/sys/net/ipv4/conf/bmf0/rp_filter
> Oct 14 06:58:10 AHR-175-171 olsrd[20192]: olsr.org -  pre-0.6.3-git_1ffdb71-hash_3c75699de4a7bd0f90a9a15b61076ff2  - successfully started
> Oct 14 06:58:11 AHR-175-171 ahrwd: Attempted to restart 'olsrd'
> 
> 
> And somewhat later the netlink error message:
> 
> Oct 14 06:59:50 AHR-175-171 olsrd[20192]: Received netlink error code File exists (-17)
> 
> 
> Now, it looks OK:
> 
> (spam-protected):~# gw
> Table: Gateways
> Status  Gateway IP      ETX     Hopcnt  Uplink  Downlnk IPv4    IPv6    Prefix
> u-      172.31.51.41    1.100   2       120     1000    ipv4(n) -       -
> s-      172.31.51.44    1.000   1       120     1000    ipv4(n) -       -
> u-      172.31.175.170  1.000   1       120     1000    ipv4(n) -       -
> 
> SmartGateway client tunnel:
> tnl_2c331fac Link encap:IPIP Tunnel  HWaddr   
>          inet addr:172.31.175.171  P-t-P:172.31.175.171  Mask:255.255.255.255
>          UP POINTOPOINT RUNNING NOARP  MTU:1480  Metric:1
>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0 
>          RX bytes:0 (0.0 B)  TX bytes:3078 (3.0 KiB)
> 
> 
> Default routes:
> default dev tnl_2c331fac  table 224  metric 2 
> default via 172.31.51.44 dev wlan0  table 223  metric 4 onlink 
> 
> SmartGateway server tunnel:
> tunl0     Link encap:IPIP Tunnel  HWaddr   
>          inet addr:172.31.175.171  Mask:255.255.255.255
>          UP RUNNING NOARP  MTU:1480  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:0 
>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
> 
> 
> 
> 
> When I stop olsrd, tunnel tunl0 is not removed (should be).
> But now, starting olsrd is OK.
> 
> (spam-protected):~# stop olsrd
> Stopping olsrd ...
> olsrd stopped
> 
> 
> Oct 14 07:24:05 AHR-175-171 olsrd[20192]: Resetting /proc/sys/net/ipv4/conf/bmf0/rp_filter to 1 
> Oct 14 07:24:05 AHR-175-171 kernel: [217858.434034] device br0 left promiscuous mode
> Oct 14 07:24:05 AHR-175-171 olsrd[20192]: Writing '1' (was 1) to /proc/sys/net/ipv4/ip_forward
> Oct 14 07:24:05 AHR-175-171 olsrd[20192]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/tunl0/rp_filter
> Oct 14 07:24:05 AHR-175-171 olsrd[20192]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/all/send_redirects
> Oct 14 07:24:05 AHR-175-171 olsrd[20192]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/all/rp_filter
> Oct 14 07:24:05 AHR-175-171 olsrd[20192]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/wlan0/send_redirects
> Oct 14 07:24:05 AHR-175-171 olsrd[20192]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/wlan0/rp_filter
> Oct 14 07:24:05 AHR-175-171 olsrd[20192]: olsr.org -  pre-0.6.3-git_1ffdb71-hash_3c75699de4a7bd0f90a9a15b61076ff2  - stopped
> 
> 
> (spam-protected):~# gw
> (UNKNOWN) [127.0.0.1] 2006 (?) : Connection refused
> 
> SmartGateway client tunnel:
> 
> Default routes:
> 
> SmartGateway server tunnel:
> tunl0     Link encap:IPIP Tunnel  HWaddr   
>          inet addr:172.31.175.171  Mask:255.255.255.255
>          UP RUNNING NOARP  MTU:1480  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:0 
>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
> 
> 
> 
> (spam-protected):~# start olsrd
> Starting olsrd ...
> 
> *** olsr.org -  pre-0.6.3-git_1ffdb71-hash_3c75699de4a7bd0f90a9a15b61076ff2  - ***
> Build date: 2011-10-10 15:54:41 on AHR-000-215
> http://www.olsr.org
> 
> Parsing file: "/etc/olsrd.conf"
> Debug level: 0
> IpVersion: 4
> Link quality fish eye 0
> MPR coverage 1
> Lock file /var/run/olsrd.lock
> Fixed Main IP: 172.31.175.171
> LQ Algorithm: etx_ffeth
> Smart gateway system: enabled
> HNA IPv4 entry: 10.175.171.0/24
> Plugin: olsrd_httpinfo.so.0.1
> Plugin param key:"port" val: "80"
> Plugin param key:"Net" val: "0.0.0.0 0.0.0.0"
> Plugin: olsrd_txtinfo.so.0.1
> Plugin param key:"Accept" val: "127.0.0.1"
> Plugin: olsrd_dyn_gw.so.0.5
> Plugin param key:"HNA" val: "0.0.0.0 0.0.0.0"
> Plugin param key:"HNA" val: "0.0.0.0 128.0.0.0"
> Plugin param key:"HNA" val: "128.0.0.0 128.0.0.0"
> Plugin param key:"HNA" val: "0.0.0.0 192.0.0.0"
> Plugin param key:"HNA" val: "64.0.0.0 192.0.0.0"
> Plugin param key:"HNA" val: "128.0.0.0 192.0.0.0"
> Plugin param key:"HNA" val: "192.0.0.0 192.0.0.0"
> Plugin: olsrd_bmf.so.1.7.0
> Plugin param key:"NonOlsrIf" val: "br0"
> Plugin: olsrd_watchdog.so.0.1
> Plugin param key:"file" val: "/var/run/olsrd.watchdog"
> Plugin param key:"interval" val: "5"
> Plugin: olsrd_pud.so.1.0.0
> Plugin param key:"nodeIdType" val: "3"
> Plugin param key:"nodeId" val: "AHR-175-171.mindef.nl"
> Plugin param key:"rxNonOlsrIf" val: "br0"
> Plugin param key:"txNonOlsrIf" val: "br0"
> setting ifs_in_curr_cfg = 0
>        HELLO interval: 2.00
>        HELLO validity: 20.00
>        TC interval: 5.00
>        TC validity: 30.00
>        MID interval: 5.00
>        MID validity: 50.00
>        HNA interval: 5.00
>        HNA validity: 15.00
> setting ifs_in_curr_cfg = 0
>        Mode: ether
> No policy rule for rt_table_pri
> Choose priority 32776 for rt_table_defaultolsr_pri
> Choose priority 32786 for rt_table_tunnel_pri
> Choose priority 32796 for rt_table_default_pri
>        IPv4 broadcast/multicast : AUTO
>        Mode           : mesh
>        IPv6 multicast           : ::
>        HELLO emission/validity  : 2.00 (d)/20.00 (d)
>        TC emission/validity     : 5.00 (d)/30.00 (d)
>        MID emission/validity    : 5.00 (d)/50.00 (d)
>        HNA emission/validity    : 5.00 (d)/15.00 (d)
>        Autodetect changes       : no
>        IPv4 broadcast/multicast : AUTO
>        Mode           : ether
>        IPv6 multicast           : ::
>        HELLO emission/validity  : 0.00/0.00
>        TC emission/validity     : 0.00/0.00
>        MID emission/validity    : 0.00/0.00
>        HNA emission/validity    : 0.00/0.00
>        Autodetect changes       : no
> olsr.org -  pre-0.6.3-git_1ffdb71-hash_3c75699de4a7bd0f90a9a15b61076ff2  - detaching from the current process...
> Daemon olsrd started, PID: 24469
> (spam-protected):~# 
> 
> 
> Oct 14 07:24:24 AHR-175-171 olsrd[24463]: Writing '1' (was 1) to /proc/sys/net/ipv4/ip_forward
> Oct 14 07:24:24 AHR-175-171 olsrd[24463]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/tunl0/rp_filter
> Oct 14 07:24:24 AHR-175-171 olsrd[24463]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/all/send_redirects
> Oct 14 07:24:24 AHR-175-171 olsrd[24463]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/all/rp_filter
> Oct 14 07:24:24 AHR-175-171 olsrd[24463]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/wlan0/send_redirects
> Oct 14 07:24:24 AHR-175-171 olsrd[24463]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/wlan0/rp_filter
> Oct 14 07:24:24 AHR-175-171 olsrd[24463]: Adding interface wlan0 
> Oct 14 07:24:24 AHR-175-171 kernel: [217876.700518] device br0 entered promiscuous mode
> Oct 14 07:24:24 AHR-175-171 olsrd[24469]: Writing "0" to /proc/sys/net/ipv4/conf/bmf0/rp_filter
> Oct 14 07:24:24 AHR-175-171 olsrd[24469]: olsr.org -  pre-0.6.3-git_1ffdb71-hash_3c75699de4a7bd0f90a9a15b61076ff2  - successfully started
> ...
> Oct 14 07:25:44 AHR-175-171 olsrd[24469]: Received netlink error code File exists (-17)
> 
> 
> teco
> 
> 
> 
> Op 13 okt 2011, om 21:24 heeft Teco Boot het volgende geschreven:
> 
>> I'm testing SmartGateway on couple of nodes.
>> Although all user traffic to Internet is OK, I see 2 strange
>> issues. I use tiny gw script to report status of GW HNAs, default
>> routes and tunnels.
>> 
>> 1) No tunnel at client:
>> (spam-protected):/usr/local/sbin# gw
>> Table
>> (spam-protected):~# stop olsrd
>> Stopping olsrd ...
>> olsrd stopped
>> 
>> (spam-protected):~# gw
>> (UNKNOWN) [127.0.0.1] 2006 (?) : Connection refused
>> 
>> SmartGateway client tunnel:
>> 
>> Default routes:
>> 
>> SmartGateway server tunnel:
>> tunl0     Link encap:IPIP Tunnel  HWaddr   
>>          inet addr:172.31.175.171  Mask:255.255.255.255
>>          NOARP  MTU:1480  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:0 
>>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>> 
>> 
>> 
>> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: Resetting /proc/sys/net/ipv4/conf/bmf0/rp_filter to 1 
>> Oct 14 06:56:15 AHR-175-171 kernel: [216187.767170] device br0 left promiscuous mode
>> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: Writing '1' (was 1) to /proc/sys/net/ipv4/ip_forward
>> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/tunl0/rp_filter
>> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/all/send_redirects
>> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/all/rp_filter
>> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/wlan0/send_redirects
>> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: Writing '1' (was 0) to /proc/sys/net/ipv4/conf/wlan0/rp_filter
>> Oct 14 06:56:15 AHR-175-171 olsrd[2000]: olsr.org -  pre-0.6.3-git_1ffdb71-hash_3c75699de4a7bd0f90a9a15b61076ff2  - stopped
>> 
>> 
>> First attempt to restart:
>> 
>> Oct 14 06:57:43 AHR-175-171 olsrd[20136]: Received netlink error code File exists (-17)
>> Oct 14 06:57:43 AHR-175-171 olsrd[20136]: olsrd exit: Cannot initialize gateway tunnels 
>> 
>> Second attempt:
>> 
>> Oct 14 06:58:10 AHR-175-171 ahrwd: olsrd died.
>> Oct 14 06:58:10 AHR-175-171 olsrd[20186]: Writing '1' (was 1) to /proc/sys/net/ipv4/ip_forward
>> Oct 14 06:58:10 AHR-175-171 olsrd[20186]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/tunl0/rp_filter
>> Oct 14 06:58:10 AHR-175-171 olsrd[20186]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/all/send_redirects
>> Oct 14 06:58:10 AHR-175-171 olsrd[20186]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/all/rp_filter
>> Oct 14 06:58:10 AHR-175-171 olsrd[20186]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/wlan0/send_redirects
>> Oct 14 06:58:10 AHR-175-171 olsrd[20186]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/wlan0/rp_filter
>> Oct 14 06:58:10 AHR-175-171 olsrd[20186]: Adding interface wlan0 
>> Oct 14 06:58:10 AHR-175-171 kernel: [216302.950848] device br0 entered promiscuous mode
>> Oct 14 06:58:10 AHR-175-171 olsrd[20192]: Writing "0" to /proc/sys/net/ipv4/conf/bmf0/rp_filter
>> Oct 14 06:58:10 AHR-175-171 olsrd[20192]: olsr.org -  pre-0.6.3-git_1ffdb71-hash_3c75699de4a7bd0f90a9a15b61076ff2  - successfully started
>> Oct 14 06:58:11 AHR-175-171 ahrwd: Attempted to restart 'olsrd'
>> 
>> 
>> And the error message:
>> 
>> Oct 14 06:59:50 AHR-175-171 olsrd[20192]: Received netlink error code File exists (-17)
>> 
>> 
>> Now, it looks OK:
>> 
>> (spam-protected):~# gw
>> Table: Gateways
>> Status  Gateway IP      ETX     Hopcnt  Uplink  Downlnk IPv4    IPv6    Prefix
>> u-      172.31.51.41    1.100   2       120     1000    ipv4(n) -       -
>> s-      172.31.51.44    1.000   1       120     1000    ipv4(n) -       -
>> u-      172.31.175.170  1.000   1       120     1000    ipv4(n) -       -
>> 
>> SmartGateway client tunnel:
>> tnl_2c331fac Link encap:IPIP Tunnel  HWaddr   
>>          inet addr:172.31.175.171  P-t-P:172.31.175.171  Mask:255.255.255.255
>>          UP POINTOPOINT RUNNING NOARP  MTU:1480  Metric:1
>>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>          TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
>>          collisions:0 txqueuelen:0 
>>          RX bytes:0 (0.0 B)  TX bytes:3078 (3.0 KiB)
>> 
>> 
>> Default routes:
>> default dev tnl_2c331fac  table 224  metric 2 
>> default via 172.31.51.44 dev wlan0  table 223  metric 4 onlink 
>> 
>> SmartGateway server tunnel:
>> tunl0     Link encap:IPIP Tunnel  HWaddr   
>>          inet addr:172.31.175.171  Mask:255.255.255.255
>>          UP RUNNING NOARP  MTU:1480  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:0 
>>          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>> 
>> 
>>          : Gateways
>> Status  Gateway IP      ETX     Hopcnt  Uplink  Downlnk IPv4    IPv6    Prefix
>> u-      172.31.51.41    1.100   2       120     1000    ipv4(n) -       -
>> u-      172.31.51.44    1.000   1       120     1000    ipv4(n) -       -
>> u-      172.31.175.170  1.000   1       120     1000    ipv4(n) -       -
>> 
>> SmartGateway client tunnel:
>> 
>> Default routes:
>> default via 172.31.51.44 dev wlan0  table 223  metric 4 onlink 
>> 
>> SmartGateway server tunnel:
>> tunl0     Link encap:IPIP Tunnel  HWaddr   
>>         inet addr:172.31.51.42  Mask:255.255.255.255
>>         UP RUNNING NOARP  MTU:1480  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:0 
>>         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>> 
>> 
>> Another one:
>> (spam-protected):/var/log# gw
>> Table: Gateways
>> Status  Gateway IP      ETX     Hopcnt  Uplink  Downlnk IPv4    IPv6    Prefix
>> u-      172.31.51.41    1.100   2       120     1000    ipv4(n) -       -
>> u-      172.31.51.44    1.000   1       120     1000    ipv4(n) -       -
>> u-      172.31.175.170  1.000   1       120     1000    ipv4(n) -       -
>> 
>> SmartGateway client tunnel:
>> 
>> Default routes:
>> default via 172.31.51.44 dev wlan0  table 223  metric 4 onlink 
>> 
>> SmartGateway server tunnel:
>> tunl0     Link encap:IPIP Tunnel  HWaddr   
>>         inet addr:172.31.175.171  Mask:255.255.255.255
>>         UP RUNNING NOARP  MTU:1480  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:0 
>>         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>> 
>> 
>> This is how it should be:
>> (spam-protected):~# gw
>> Table: Gateways
>> Status  Gateway IP      ETX     Hopcnt  Uplink  Downlnk IPv4    IPv6    Prefix
>> u-      172.31.51.41    1.058   1       120     1000    ipv4(n) -       -
>> s-      172.31.51.44    1.000   1       120     1000    ipv4(n) -       -
>> u-      172.31.175.170  1.000   1       120     1000    ipv4(n) -       -
>> 
>> SmartGateway client tunnel:
>> tnl_2c331fac Link encap:IPIP Tunnel  HWaddr   
>>         inet addr:172.31.175.172  P-t-P:172.31.175.172  Mask:255.255.255.255
>>         UP POINTOPOINT RUNNING NOARP  MTU:1480  Metric:1
>>         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>         TX packets:35123 errors:0 dropped:0 overruns:0 carrier:0
>>         collisions:0 txqueuelen:0 
>>         RX bytes:0 (0.0 B)  TX bytes:7079418 (6.7 MiB)
>> 
>> 
>> Default routes:
>> default dev tnl_2c331fac  table 224  metric 2 
>> default via 172.31.51.44 dev wlan0  table 223  metric 4 onlink 
>> 
>> SmartGateway server tunnel:
>> tunl0     Link encap:IPIP Tunnel  HWaddr   
>>         inet addr:172.31.175.172  Mask:255.255.255.255
>>         UP RUNNING NOARP  MTU:1480  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:0 
>>         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>> 
>> 
>> 
>> There is no gateway selected. Other nodes do select a gateway out
>> of this list (after ~70 seconds after startup).
>> 
>> I have no special warnings on the nodes in error:
>> Oct 11 11:11:19 AHR-051-042 olsrd[1880]: Writing '1' (was 1) to /proc/sys/net/ipv4/ip_forward
>> Oct 11 11:11:19 AHR-051-042 olsrd[1880]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/tunl0/rp_filter
>> Oct 11 11:11:19 AHR-051-042 olsrd[1880]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/all/send_redirects
>> Oct 11 11:11:19 AHR-051-042 olsrd[1880]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/all/rp_filter
>> Oct 11 11:11:19 AHR-051-042 olsrd[1880]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/wlan0/send_redirects
>> Oct 11 11:11:19 AHR-051-042 olsrd[1880]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/wlan0/rp_filter
>> Oct 11 11:11:19 AHR-051-042 olsrd[1880]: Adding interface wlan0 
>> Oct 11 11:11:20 AHR-051-042 olsrd[1895]: olsr.org -  pre-0.6.3-git_1ffdb71-hash_3c75699de4a7bd0f90a9a15b61076ff2  - successfully started
>> Oct 11 11:12:30 AHR-051-042 olsrd[1895]: Received netlink error code File exists (-17)
>> 
>> Oct 11 18:53:00 AHR-175-171 olsrd[1974]: Writing '1' (was 1) to /proc/sys/net/ipv4/ip_forward
>> Oct 11 18:53:00 AHR-175-171 olsrd[1974]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/tunl0/rp_filter
>> Oct 11 18:53:00 AHR-175-171 olsrd[1974]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/all/send_redirects
>> Oct 11 18:53:00 AHR-175-171 olsrd[1974]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/all/rp_filter
>> Oct 11 18:53:00 AHR-175-171 olsrd[1974]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/wlan0/send_redirects
>> Oct 11 18:53:00 AHR-175-171 olsrd[1974]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/wlan0/rp_filter
>> Oct 11 18:53:00 AHR-175-171 olsrd[1974]: Adding interface wlan0 
>> Oct 11 18:53:00 AHR-175-171 olsrd[2000]: Writing "0" to /proc/sys/net/ipv4/conf/bmf0/rp_filter
>> Oct 11 18:53:00 AHR-175-171 olsrd[2000]: olsr.org -  pre-0.6.3-git_1ffdb71-hash_3c75699de4a7bd0f90a9a15b61076ff2  - successfully started
>> 
>> I have the netlink error message on almost all my nodes. Update the message so that it tells us which route is duplicate?
>> 
>> 
>> Node without the problem, but with the netlink error:
>> Oct 11 18:22:06 AHR-175-172 olsrd[1950]: Writing '1' (was 1) to /proc/sys/net/ipv4/ip_forward
>> Oct 11 18:22:06 AHR-175-172 olsrd[1950]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/tunl0/rp_filter
>> Oct 11 18:22:06 AHR-175-172 olsrd[1950]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/all/send_redirects
>> Oct 11 18:22:06 AHR-175-172 olsrd[1950]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/all/rp_filter
>> Oct 11 18:22:06 AHR-175-172 olsrd[1950]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/wlan0/send_redirects
>> Oct 11 18:22:06 AHR-175-172 olsrd[1950]: Writing '0' (was 1) to /proc/sys/net/ipv4/conf/wlan0/rp_filter
>> Oct 11 18:22:06 AHR-175-172 olsrd[1950]: Adding interface wlan0 
>> Oct 11 18:22:07 AHR-175-172 olsrd[1965]: Writing "0" to /proc/sys/net/ipv4/conf/bmf0/rp_filter
>> Oct 11 18:22:07 AHR-175-172 olsrd[1965]: olsr.org -  pre-0.6.3-git_1ffdb71-hash_3c75699de4a7bd0f90a9a15b61076ff2  - successfully started
>> Oct 11 18:23:48 AHR-175-172 olsrd[1965]: Received netlink error code File exists (-17)
>> 
>> 
>> Here the routing tables for node AHR-051-042:
>> 
>> (spam-protected):/var/log# olsr -r
>> HTTP/1.0 200 OK
>> Content-type: text/plain
>> 
>> Table: Routes
>> Destination     Gateway IP      Metric  ETX     Interface
>> 0.0.0.0/0       172.31.51.44    1       1.000   wlan0
>> 10.51.41.0/24   172.31.51.44    2       1.100   wlan0
>> 10.51.43.0/24   172.31.51.44    3       2.100   wlan0
>> 10.51.44.0/24   172.31.51.44    1       1.000   wlan0
>> 10.51.45.0/24   172.31.51.45    1       1.000   wlan0
>> 10.51.46.0/24   172.31.51.46    1       1.000   wlan0
>> 10.175.170.0/24 172.31.175.170  1       1.000   wlan0
>> 10.175.171.0/24 172.31.175.171  1       1.000   wlan0
>> 10.175.172.0/24 172.31.175.172  1       1.000   wlan0
>> 172.29.51.41/32 172.31.51.44    2       1.100   wlan0
>> 172.29.51.44/32 172.31.51.44    1       1.000   wlan0
>> 172.29.175.170/32       172.31.175.170  1       1.000   wlan0
>> 172.31.51.41/32 172.31.51.44    2       1.100   wlan0
>> 172.31.51.43/32 172.31.51.44    3       2.100   wlan0
>> 172.31.51.44/32 172.31.51.44    1       1.000   wlan0
>> 172.31.51.45/32 172.31.51.45    1       1.000   wlan0
>> 172.31.51.46/32 172.31.51.46    1       1.000   wlan0
>> 172.31.175.170/32       172.31.175.170  1       1.000   wlan0
>> 172.31.175.171/32       172.31.175.171  1       1.000   wlan0
>> 172.31.175.172/32       172.31.175.172  1       1.000   wlan0
>> 
>> (spam-protected):/var/log# ip -4 r s
>> 10.0.0.0/8 via 172.30.0.1 dev tun0 
>> 10.51.41.0/24 via 172.31.51.44 dev wlan0  metric 2 onlink 
>> 10.51.42.0/25 dev eth0  proto kernel  scope link  src 10.51.42.1 
>> 10.51.43.0/24 via 172.31.51.44 dev wlan0  metric 2 onlink 
>> 10.51.44.0/24 via 172.31.51.44 dev wlan0  metric 2 onlink 
>> 10.51.45.0/24 via 172.31.51.45 dev wlan0  metric 2 onlink 
>> 10.51.46.0/24 via 172.31.51.46 dev wlan0  metric 2 onlink 
>> 10.175.170.0/24 via 172.31.175.170 dev wlan0  metric 2 onlink 
>> 10.175.171.0/24 via 172.31.175.171 dev wlan0  metric 2 onlink 
>> 10.175.172.0/24 via 172.31.175.172 dev wlan0  metric 2 onlink 
>> 172.16.0.0/12 via 172.30.0.1 dev tun0 
>> 172.29.51.41 via 172.31.51.44 dev wlan0  metric 2 onlink 
>> 172.29.51.44 via 172.31.51.44 dev wlan0  metric 2 onlink 
>> 172.29.175.170 via 172.31.175.170 dev wlan0  metric 2 onlink 
>> 172.30.0.0/16 dev tun0  proto kernel  scope link  src 172.30.0.39 
>> 172.31.0.0/16 dev wlan0  proto kernel  scope link  src 172.31.51.42 
>> 172.31.51.41 via 172.31.51.44 dev wlan0  metric 2 onlink 
>> 172.31.51.43 via 172.31.51.44 dev wlan0  metric 2 onlink 
>> 172.31.51.44 via 172.31.51.44 dev wlan0  metric 2 onlink 
>> 172.31.51.45 via 172.31.51.45 dev wlan0  metric 2 onlink 
>> 172.31.51.46 via 172.31.51.46 dev wlan0  metric 2 onlink 
>> 172.31.175.170 via 172.31.175.170 dev wlan0  metric 2 onlink 
>> 172.31.175.171 via 172.31.175.171 dev wlan0  metric 2 onlink 
>> 172.31.175.172 via 172.31.175.172 dev wlan0  metric 2 onlink 
>> 192.168.0.0/16 via 172.30.0.1 dev tun0 
>> 
>> (spam-protected):/var/log# ip -4 r s tab 223
>> default via 172.31.51.44 dev wlan0  metric 4 onlink 
>> 
>> (spam-protected):/var/log# ip -4 r s tab 224
>> 
>> 
>> ====
>> 
>> 2) Tunnel to another SGW server while router is SGW server itself:
>> (spam-protected):~# gw
>> Table: Gateways
>> Status  Gateway IP      ETX     Hopcnt  Uplink  Downlnk IPv4    IPv6    Prefix
>> u-      172.31.51.41    1.000   1       120     1000    ipv4(n) -       -
>> s-      172.31.51.44    1.000   1       120     1000    ipv4(n) -       -
>> 
>> SmartGateway client tunnel:
>> tnl_2c331fac Link encap:IPIP Tunnel  HWaddr   
>>         inet addr:172.31.175.170  P-t-P:172.31.175.170  Mask:255.255.255.255
>>         UP POINTOPOINT RUNNING NOARP  MTU:1480  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:0 
>>         RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>> 
>> 
>> Default routes:
>> default dev tnl_2c331fac  table 224  metric 2 
>> default via 10.22.190.200 dev eth1 
>> 
>> SmartGateway server tunnel:
>> tunl0     Link encap:IPIP Tunnel  HWaddr   
>>         inet addr:172.31.175.170  Mask:255.255.255.255
>>         UP RUNNING NOARP  MTU:1480  Metric:1
>>         RX packets:1 errors:0 dropped:0 overruns:0 frame:0
>>         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>         collisions:0 txqueuelen:0 
>>         RX bytes:137 (137.0 B)  TX bytes:0 (0.0 B)
>> 
>> 
>> I think it is better to clean up the stale tunnel. But it doesn't hurt.
>> 
>> 
>> Teco
>> 
>> 
>> 
> 





More information about the Olsr-dev mailing list