[Olsr-dev] SmartGW: GW side
Sven-Ola Tücke
(spam-protected)
Sun Apr 25 14:20:54 CEST 2010
Hey,
curently trying and implementing the smartgw feat. for the Freifunk Firmware.
On the tunnel-client side, anything looks good. On the server side, something
is missing. I can see the pings from the client side, but there's no route
back through the ipip tunnel iface, so answering packets are not routed back
though the ipip tunnel to the olsrd-smartgw-client. What's missing (see
attached info files)?
Ah - yes. That server is behind my current DSL gateway. Client(netbook) ->
mesh -> DSL -(openvpn to usa)->olsrd-smartgw-server.
// Sven-Ola
-------------- next part --------------
#
# OLSR.org routing daemon config file
# This file contains the usual options for an ETX based
# stationary network without fisheye
# (for other options see olsrd.conf.default.full)
#
# Lines starting with a # are discarded
#
#### ATTENTION for IPv6 users ####
# Because of limitations in the parser IPv6 addresses must NOT
# begin with a ":", so please add a "0" as a prefix.
###########################
### Basic configuration ###
###########################
# keep this settings at the beginning of your first configuration file
# Debug level (0-9)
# If set to 0 the daemon runs in the background, unless "NoFork" is set to true
# (Default is 1)
# DebugLevel 1
# IP version to use (4 or 6)
# (Default is 4)
# IpVersion 4
#################################
### OLSRd agent configuration ###
#################################
# this parameters control the settings of the routing agent which are not
# related to the OLSR protocol and it's extensions
# FIBMetric controls the metric value of the host-routes OLSRd sets.
# - "flat" means that the metric value is always 2. This is the preferred value
# because it helps the linux kernel routing to clean up older routes
# - "correct" use the hopcount as the metric value.
# - "approx" use the hopcount as the metric value too, but does only update the
# hopcount if the nexthop changes too
# (Default is "flat")
# FIBMetric "flat"
#######################################
### Linux specific OLSRd extensions ###
#######################################
# these parameters are only working on linux at the moment, but might become
# useful on BSD in the future
# SrcIpRoutes tells OLSRd to set the Src flag of host routes to the originator-ip
# of the node. In addition to this an additional localhost device is created
# to make sure the returning traffic can be received.
# (Default is "no")
# SrcIpRoutes no
# Specify the proto tag to be used for routes olsr inserts into kernel
# currently only implemented for linux
# valid values under linux are 1 .. 254
# 1 gets remapped by olsrd to 0 UNSPECIFIED (1 is reserved for ICMP redirects)
# 2 KERNEL routes (not very wise to use)
# 3 BOOT (should in fact not be used by routing daemons)
# 4 STATIC
# 8 .. 15 various routing daemons (gated, zebra, bird, & co)
# (defaults to 0 which gets replaced by an OS-specific default value
# under linux 3 (BOOT) (for backward compatibility)
# RtProto 0
# Activates (in IPv6 mode) the automatic use of NIIT
# (see README-Olsr-Extensions)
# (default is "yes")
# UseNiit yes
# Activates the smartgateway ipip tunnel feature.
# See README-Olsr-Extensions for a description of smartgateways.
# (default is "yes")
SmartGateway yes
# Allows the selection of a smartgateway with NAT (only for IPv4)
# (default is "yes")
SmartGatewayAllowNAT yes
# Defines what kind of Uplink this node will publish as a
# smartgateway. The existence of the uplink is detected by
# a route to 0.0.0.0/0, ::ffff:0:0/96 and/or 2000::/3.
# possible values are "none", "ipv4", "ipv6", "both"
# (default is "both")
# SmartGatewayUplink "both"
# Specifies if the local ipv4 uplink use NAT
# (default is "yes")
# SmartGatewayUplinkNAT yes
# Specifies the speed of the uplink in kilobit/s.
# First parameter is upstream, second parameter is downstream
# (default is 128/1024)
# SmartGatewaySpeed 128 1024
# Specifies the EXTERNAL ipv6 prefix of the uplink. A prefix
# length of more than 64 is not allowed.
# (default is 0::/0
# SmartGatewayPrefix 0::/0
##############################
### OLSR protocol settings ###
##############################
# HNA (Host network association) allows the OLSR to announce
# additional IPs or IP subnets to the net that are reachable
# through this node.
# Syntax for HNA4 is "network-address network-mask"
# Syntax for HNA6 is "network-address prefix-length"
# (default is no HNA)
Hna4
{
# Internet gateway
# 0.0.0.0 0.0.0.0
# specific small networks reachable through this node
# 15.15.0.0 255.255.255.0
}
Hna6
{
# Internet gateway
# 0:: 0
# specific small networks reachable through this node
# fec0:2200:106:0:0:0:0:0 48
}
################################
### OLSR protocol extensions ###
################################
# Link quality algorithm (only for lq level 2)
# (see README-Olsr-Extensions)
# - "etx_float", a floating point ETX with exponential aging
# - "etx_fpm", same as ext_float, but with integer arithmetic
# - "etx_ff" (ETX freifunk), an etx variant which use all OLSR
# traffic (instead of only hellos) for ETX calculation
# - "etx_ffeth", an incompatible variant of etx_ff that allows
# ethernet links with ETX 0.1.
# (defaults to "etx_ff")
# LinkQualityAlgorithm "etx_ff"
# Fisheye mechanism for TCs (0 meansoff, 1 means on)
# (default is 1)
LinkQualityFishEye 0
#####################################
### Example plugin configurations ###
#####################################
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
#
# the examples in this list are for linux, so check if the plugin is
# available if you use windows/BSD.
# each plugin should have a README file in it's lib subfolder
# LoadPlugin "olsrd_txtinfo.dll"
LoadPlugin "olsrd_txtinfo.so.0.1"
{
# port number the txtinfo plugin will be listening, default 2006
# PlParam "port" "81"
# ip address that can access the plugin, use "0.0.0.0"
# to allow everyone
PlParam "Accept" "127.0.0.1"
}
#############################################
### OLSRD default interface configuration ###
#############################################
# the default interface section can have the same values as the following
# interface configuration. It will allow you so set common options for all
# interfaces.
InterfaceDefaults {
# Ip4Broadcast 255.255.255.255
}
######################################
### OLSRd Interfaces configuration ###
######################################
# multiple interfaces can be specified for a single configuration block
# multiple configuration blocks can be specified
# WARNING, don't forget to insert your interface names here !
Interface "wlan0"
{
# Interface Mode is used to prevent unnecessary
# packet forwarding on switched ethernet interfaces
# valid Modes are "mesh" and "ether"
# (default is "mesh")
# Mode "mesh"
}
-------------- next part --------------
#
# OLSR.org routing daemon config file
# This file contains the usual options for an ETX based
# stationary network without fisheye
# (for other options see olsrd.conf.default.full)
#
# Lines starting with a # are discarded
#
#### ATTENTION for IPv6 users ####
# Because of limitations in the parser IPv6 addresses must NOT
# begin with a ":", so please add a "0" as a prefix.
###########################
### Basic configuration ###
###########################
# keep this settings at the beginning of your first configuration file
# Debug level (0-9)
# If set to 0 the daemon runs in the background, unless "NoFork" is set to true
# (Default is 1)
# DebugLevel 1
# IP version to use (4 or 6)
# (Default is 4)
# IpVersion 4
#################################
### OLSRd agent configuration ###
#################################
# this parameters control the settings of the routing agent which are not
# related to the OLSR protocol and it's extensions
# FIBMetric controls the metric value of the host-routes OLSRd sets.
# - "flat" means that the metric value is always 2. This is the preferred value
# because it helps the linux kernel routing to clean up older routes
# - "correct" use the hopcount as the metric value.
# - "approx" use the hopcount as the metric value too, but does only update the
# hopcount if the nexthop changes too
# (Default is "flat")
# FIBMetric "flat"
#######################################
### Linux specific OLSRd extensions ###
#######################################
# these parameters are only working on linux at the moment, but might become
# useful on BSD in the future
# SrcIpRoutes tells OLSRd to set the Src flag of host routes to the originator-ip
# of the node. In addition to this an additional localhost device is created
# to make sure the returning traffic can be received.
# (Default is "no")
# SrcIpRoutes no
# Specify the proto tag to be used for routes olsr inserts into kernel
# currently only implemented for linux
# valid values under linux are 1 .. 254
# 1 gets remapped by olsrd to 0 UNSPECIFIED (1 is reserved for ICMP redirects)
# 2 KERNEL routes (not very wise to use)
# 3 BOOT (should in fact not be used by routing daemons)
# 4 STATIC
# 8 .. 15 various routing daemons (gated, zebra, bird, & co)
# (defaults to 0 which gets replaced by an OS-specific default value
# under linux 3 (BOOT) (for backward compatibility)
# RtProto 0
# Activates (in IPv6 mode) the automatic use of NIIT
# (see README-Olsr-Extensions)
# (default is "yes")
# UseNiit yes
# Activates the smartgateway ipip tunnel feature.
# See README-Olsr-Extensions for a description of smartgateways.
# (default is "yes")
SmartGateway yes
# Allows the selection of a smartgateway with NAT (only for IPv4)
# (default is "yes")
# SmartGatewayAllowNAT yes
# Defines what kind of Uplink this node will publish as a
# smartgateway. The existence of the uplink is detected by
# a route to 0.0.0.0/0, ::ffff:0:0/96 and/or 2000::/3.
# possible values are "none", "ipv4", "ipv6", "both"
# (default is "both")
# SmartGatewayUplink "both"
# Specifies if the local ipv4 uplink use NAT
# (default is "yes")
# SmartGatewayUplinkNAT yes
# Specifies the speed of the uplink in kilobit/s.
# First parameter is upstream, second parameter is downstream
# (default is 128/1024)
# SmartGatewaySpeed 128 1024
# Specifies the EXTERNAL ipv6 prefix of the uplink. A prefix
# length of more than 64 is not allowed.
# (default is 0::/0
# SmartGatewayPrefix 0::/0
##############################
### OLSR protocol settings ###
##############################
# HNA (Host network association) allows the OLSR to announce
# additional IPs or IP subnets to the net that are reachable
# through this node.
# Syntax for HNA4 is "network-address network-mask"
# Syntax for HNA6 is "network-address prefix-length"
# (default is no HNA)
Hna4
{
# Internet gateway
# 0.0.0.0 0.0.0.0
# specific small networks reachable through this node
# 15.15.0.0 255.255.255.0
}
Hna6
{
# Internet gateway
# 0:: 0
# specific small networks reachable through this node
# fec0:2200:106:0:0:0:0:0 48
}
################################
### OLSR protocol extensions ###
################################
# Link quality algorithm (only for lq level 2)
# (see README-Olsr-Extensions)
# - "etx_float", a floating point ETX with exponential aging
# - "etx_fpm", same as ext_float, but with integer arithmetic
# - "etx_ff" (ETX freifunk), an etx variant which use all OLSR
# traffic (instead of only hellos) for ETX calculation
# - "etx_ffeth", an incompatible variant of etx_ff that allows
# ethernet links with ETX 0.1.
# (defaults to "etx_ff")
LinkQualityAlgorithm "etx_ff"
# Fisheye mechanism for TCs (0 meansoff, 1 means on)
# (default is 1)
LinkQualityFishEye 1
#####################################
### Example plugin configurations ###
#####################################
# Olsrd plugins to load
# This must be the absolute path to the file
# or the loader will use the following scheme:
# - Try the paths in the LD_LIBRARY_PATH
# environment variable.
# - The list of libraries cached in /etc/ld.so.cache
# - /lib, followed by /usr/lib
#
# the examples in this list are for linux, so check if the plugin is
# available if you use windows/BSD.
# each plugin should have a README file in it's lib subfolder
# LoadPlugin "olsrd_txtinfo.dll"
LoadPlugin "olsrd_txtinfo.so.0.1"
{
# port number the txtinfo plugin will be listening, default 2006
# PlParam "port" "81"
# ip address that can access the plugin, use "0.0.0.0"
# to allow everyone
PlParam "Accept" "127.0.0.1"
}
LoadPlugin "olsrd_dyn_gw_plain.so.0.4"
{
}
LoadPlugin "olsrd_nameservice.so.0.3"
{
PlParam "name" "sven-ola-nyserv"
PlParam "hosts-file" "/tmp/hosts.olsr"
PlParam "suffix" ".olsr"
PlParam "interval" "180"
PlParam "timeout" "3600"
PlParam "lat" "40.740248"
PlParam "lon" "-73.985766"
}
#############################################
### OLSRD default interface configuration ###
#############################################
# the default interface section can have the same values as the following
# interface configuration. It will allow you so set common options for all
# interfaces.
InterfaceDefaults {
# Ip4Broadcast 255.255.255.255
}
######################################
### OLSRd Interfaces configuration ###
######################################
# multiple interfaces can be specified for a single configuration block
# multiple configuration blocks can be specified
# WARNING, don't forget to insert your interface names here !
Interface "tun1"
{
# Interface Mode is used to prevent unnecessary
# packet forwarding on switched ethernet interfaces
# valid Modes are "mesh" and "ether"
# (default is "mesh")
# Mode "mesh"
HelloInterval 3.0
HelloValidityTime 125.0
TcInterval 2.0
TcValidityTime 500.0
MidInterval 25.0
MidValidityTime 500.0
HnaInterval 10.0
HnaValidityTime 125.0
Ip4Broadcast 192.168.255.6
}
-------------- next part --------------
Table: Gateways
Gateway ETX Hopcnt Uplink Downlnk IPv4 IPv6 Prefix
s- 192.168.255.1 4.901 4 120 1000 ipv4(n) - -
(spam-protected):/tmp# ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:1e:68:a1:8a:e3 brd ff:ff:ff:ff:ff:ff
3: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
6: vboxnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff
9: wmaster0: <UP,LOWER_UP> mtu 0 qdisc pfifo_fast qlen 1000
link/ieee802.11 00:0e:8e:0d:fe:be brd 00:00:00:00:00:00
10: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0e:8e:0d:fe:be brd ff:ff:ff:ff:ff:ff
13: tunl0: <NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue
link/ipip 0.0.0.0 brd 0.0.0.0
14: tnl_01ffa8c0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue
link/ipip 0.0.0.0 peer 192.168.255.1
(spam-protected):/tmp# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:1e:68:a1:8a:e3 brd ff:ff:ff:ff:ff:ff
inet 169.254.9.105/16 brd 169.254.255.255 scope link eth0:avahi
3: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
6: vboxnet0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 0a:00:27:00:00:00 brd ff:ff:ff:ff:ff:ff
9: wmaster0: <UP,LOWER_UP> mtu 0 qdisc pfifo_fast qlen 1000
link/ieee802.11 00:0e:8e:0d:fe:be brd 00:00:00:00:00:00
10: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0e:8e:0d:fe:be brd ff:ff:ff:ff:ff:ff
inet 104.198.65.69/8 brd 104.255.255.255 scope global wlan0
inet6 fe80::20e:8eff:fe0d:febe/64 scope link
valid_lft forever preferred_lft forever
13: tunl0: <NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue
link/ipip 0.0.0.0 brd 0.0.0.0
14: tnl_01ffa8c0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue
link/ipip 0.0.0.0 peer 192.168.255.1
(spam-protected):/tmp# ip tu
sit0: ipv6/ip remote any local any ttl 64 nopmtudisc
tunl0: ip/ip remote any local any ttl inherit nopmtudisc
tnl_01ffa8c0: ip/ip remote 192.168.255.1 local any ttl inherit nopmtudisc
(spam-protected):/tmp#
-------------- next part --------------
(spam-protected):/usr/src/olsrd/lib/txtinfo/src# ip tu
sit0: ipv6/ip remote any local any ttl 64 nopmtudisc
tunl0: ip/ip remote any local any ttl inherit nopmtudisc
(spam-protected):/usr/src/olsrd/lib/txtinfo/src# ip r
104.129.1.241 via 192.168.255.6 dev tun1 metric 2
104.130.30.201 via 192.168.255.6 dev tun1 metric 2
104.130.30.203 via 192.168.255.6 dev tun1 metric 2
104.200.0.44 via 192.168.255.6 dev tun1 metric 2
104.130.30.204 via 192.168.255.6 dev tun1 metric 2
104.192.99.61 via 192.168.255.6 dev tun1 metric 2
104.130.30.205 via 192.168.255.6 dev tun1 metric 2
104.129.1.246 via 192.168.255.6 dev tun1 metric 2
104.192.99.62 via 192.168.255.6 dev tun1 metric 2
172.16.23.1 via 192.168.255.6 dev tun1 metric 2
104.192.192.1 via 192.168.255.6 dev tun1 metric 2
104.130.30.193 via 192.168.255.6 dev tun1 metric 2
104.130.30.195 via 192.168.255.6 dev tun1 metric 2
104.130.30.196 via 192.168.255.6 dev tun1 metric 2
104.130.30.197 via 192.168.255.6 dev tun1 metric 2
104.130.2.39 via 192.168.255.6 dev tun1 metric 2
104.130.77.79 via 192.168.255.6 dev tun1 metric 2
104.130.77.80 via 192.168.255.6 dev tun1 metric 2
104.130.77.81 via 192.168.255.6 dev tun1 metric 2
104.130.30.221 via 192.168.255.6 dev tun1 metric 2
104.130.30.223 via 192.168.255.6 dev tun1 metric 2
104.200.0.49 via 192.168.255.6 dev tun1 metric 2
104.129.1.233 via 192.168.255.6 dev tun1 metric 2
104.129.1.234 via 192.168.255.6 dev tun1 metric 2
104.198.18.1 via 192.168.255.6 dev tun1 metric 2
104.200.0.10 via 192.168.255.6 dev tun1 metric 2
104.200.0.13 via 192.168.255.6 dev tun1 metric 2
104.200.0.14 via 192.168.255.6 dev tun1 metric 2
104.198.18.9 via 192.168.255.6 dev tun1 metric 2
104.200.0.1 via 192.168.255.6 dev tun1 metric 2
104.192.192.33 via 192.168.255.6 dev tun1 metric 2
104.131.10.1 via 192.168.255.6 dev tun1 metric 2
104.198.18.11 via 192.168.255.6 dev tun1 metric 2
104.129.25.26 via 192.168.255.6 dev tun1 metric 2
104.198.18.10 via 192.168.255.6 dev tun1 metric 2
104.131.9.1 via 192.168.255.6 dev tun1 metric 2
104.131.9.2 via 192.168.255.6 dev tun1 metric 2
104.192.103.44 via 192.168.255.6 dev tun1 metric 2
104.131.9.4 via 192.168.255.6 dev tun1 metric 2
104.131.9.7 via 192.168.255.6 dev tun1 metric 2
104.130.1.6 via 192.168.255.6 dev tun1 metric 2
104.131.41.1 via 192.168.255.6 dev tun1 metric 2
104.131.9.8 via 192.168.255.6 dev tun1 metric 2
104.131.9.11 via 192.168.255.6 dev tun1 metric 2
104.131.41.3 via 192.168.255.6 dev tun1 metric 2
104.129.1.202 via 192.168.255.6 dev tun1 metric 2
104.131.9.13 via 192.168.255.6 dev tun1 metric 2
104.131.41.5 via 192.168.255.6 dev tun1 metric 2
104.130.30.245 via 192.168.255.6 dev tun1 metric 2
104.130.30.244 via 192.168.255.6 dev tun1 metric 2
104.131.9.15 via 192.168.255.6 dev tun1 metric 2
104.6.0.6 via 192.168.255.6 dev tun1 metric 2
104.131.9.14 via 192.168.255.6 dev tun1 metric 2
104.130.30.246 via 192.168.255.6 dev tun1 metric 2
104.196.0.112 via 192.168.255.6 dev tun1 metric 2
104.128.30.15 via 192.168.255.6 dev tun1 metric 2
104.128.30.13 via 192.168.255.6 dev tun1 metric 2
104.159.0.5 via 192.168.255.6 dev tun1 metric 2
104.196.1.114 via 192.168.255.6 dev tun1 metric 2
104.192.192.66 via 192.168.255.6 dev tun1 metric 2
104.130.77.11 via 192.168.255.6 dev tun1 metric 2
104.130.77.9 via 192.168.255.6 dev tun1 metric 2
104.196.1.113 via 192.168.255.6 dev tun1 metric 2
104.130.77.12 via 192.168.255.6 dev tun1 metric 2
104.193.0.53 via 192.168.255.6 dev tun1 metric 2
104.192.192.88 via 192.168.255.6 dev tun1 metric 2
104.192.192.89 via 192.168.255.6 dev tun1 metric 2
104.192.192.94 via 192.168.255.6 dev tun1 metric 2
104.130.77.22 via 192.168.255.6 dev tun1 metric 2
104.130.77.21 via 192.168.255.6 dev tun1 metric 2
104.192.192.82 via 192.168.255.6 dev tun1 metric 2
104.192.192.83 via 192.168.255.6 dev tun1 metric 2
104.128.30.17 via 192.168.255.6 dev tun1 metric 2
104.192.192.81 via 192.168.255.6 dev tun1 metric 2
104.192.192.86 via 192.168.255.6 dev tun1 metric 2
104.192.192.87 via 192.168.255.6 dev tun1 metric 2
104.192.99.103 via 192.168.255.6 dev tun1 metric 2
104.196.0.111 via 192.168.255.6 dev tun1 metric 2
104.192.192.84 via 192.168.255.6 dev tun1 metric 2
104.192.192.85 via 192.168.255.6 dev tun1 metric 2
104.130.30.171 via 192.168.255.6 dev tun1 metric 2
104.130.11.1 via 192.168.255.6 dev tun1 metric 2
104.130.30.169 via 192.168.255.6 dev tun1 metric 2
104.129.81.1 via 192.168.255.6 dev tun1 metric 2
104.130.30.172 via 192.168.255.6 dev tun1 metric 2
104.130.11.11 via 192.168.255.6 dev tun1 metric 2
104.192.192.99 via 192.168.255.6 dev tun1 metric 2
104.130.1.67 via 192.168.255.6 dev tun1 metric 2
104.130.1.66 via 192.168.255.6 dev tun1 metric 2
104.135.0.1 via 192.168.255.6 dev tun1 metric 2
104.130.1.65 via 192.168.255.6 dev tun1 metric 2
104.130.1.64 via 192.168.255.6 dev tun1 metric 2
104.66.0.203 via 192.168.255.6 dev tun1 metric 2
104.130.30.179 via 192.168.255.6 dev tun1 metric 2
104.130.30.177 via 192.168.255.6 dev tun1 metric 2
104.66.0.201 via 192.168.255.6 dev tun1 metric 2
104.66.0.206 via 192.168.255.6 dev tun1 metric 2
104.128.30.54 via 192.168.255.6 dev tun1 metric 2
104.128.30.53 via 192.168.255.6 dev tun1 metric 2
104.66.0.205 via 192.168.255.6 dev tun1 metric 2
104.131.9.77 via 192.168.255.6 dev tun1 metric 2
104.130.30.181 via 192.168.255.6 dev tun1 metric 2
104.130.30.180 via 192.168.255.6 dev tun1 metric 2
104.0.0.52 via 192.168.255.6 dev tun1 metric 2
104.198.0.53 via 192.168.255.6 dev tun1 metric 2
104.131.1.245 via 192.168.255.6 dev tun1 metric 2
104.0.0.53 via 192.168.255.6 dev tun1 metric 2
104.0.0.54 via 192.168.255.6 dev tun1 metric 2
104.192.0.190 via 192.168.255.6 dev tun1 metric 2
104.198.0.55 via 192.168.255.6 dev tun1 metric 2
104.0.0.55 via 192.168.255.6 dev tun1 metric 2
104.0.0.49 via 192.168.255.6 dev tun1 metric 2
104.129.108.1 via 192.168.255.6 dev tun1 metric 2
104.129.46.2 via 192.168.255.6 dev tun1 metric 2
104.0.0.50 via 192.168.255.6 dev tun1 metric 2
104.0.0.51 via 192.168.255.6 dev tun1 metric 2
104.198.0.60 via 192.168.255.6 dev tun1 metric 2
104.0.0.61 via 192.168.255.6 dev tun1 metric 2
104.198.0.61 via 192.168.255.6 dev tun1 metric 2
104.192.192.133 via 192.168.255.6 dev tun1 metric 2
104.198.0.62 via 192.168.255.6 dev tun1 metric 2
104.198.0.56 via 192.168.255.6 dev tun1 metric 2
104.129.1.120 via 192.168.255.6 dev tun1 metric 2
104.198.0.57 via 192.168.255.6 dev tun1 metric 2
104.198.0.59 via 192.168.255.6 dev tun1 metric 2
104.66.68.16 via 192.168.255.6 dev tun1 metric 2
104.210.0.5 via 192.168.255.6 dev tun1 metric 2
104.192.17.23 via 192.168.255.6 dev tun1 metric 2
104.0.2.1 via 192.168.255.6 dev tun1 metric 2
104.192.0.153 via 192.168.255.6 dev tun1 metric 2
104.192.17.17 via 192.168.255.6 dev tun1 metric 2
104.131.0.219 via 192.168.255.6 dev tun1 metric 2
104.0.2.2 via 192.168.255.6 dev tun1 metric 2
104.0.4.61 via 192.168.255.6 dev tun1 metric 2
104.130.1.158 via 192.168.255.6 dev tun1 metric 2
104.192.192.166 via 192.168.255.6 dev tun1 metric 2
104.66.0.30 via 192.168.255.6 dev tun1 metric 2
104.66.0.24 via 192.168.255.6 dev tun1 metric 2
104.130.1.154 via 192.168.255.6 dev tun1 metric 2
104.0.2.17 via 192.168.255.6 dev tun1 metric 2
104.161.0.5 via 192.168.255.6 dev tun1 metric 2
104.0.0.13 via 192.168.255.6 dev tun1 metric 2
104.192.192.181 via 192.168.255.6 dev tun1 metric 2
104.161.0.6 via 192.168.255.6 dev tun1 metric 2
104.192.192.182 via 192.168.255.6 dev tun1 metric 2
104.0.0.14 via 192.168.255.6 dev tun1 metric 2
104.66.0.9 via 192.168.255.6 dev tun1 metric 2
104.161.0.1 via 192.168.255.6 dev tun1 metric 2
104.66.77.10 via 192.168.255.6 dev tun1 metric 2
104.192.159.34 via 192.168.255.6 dev tun1 metric 2
104.192.159.35 via 192.168.255.6 dev tun1 metric 2
104.130.1.243 via 192.168.255.6 dev tun1 metric 2
104.192.159.33 via 192.168.255.6 dev tun1 metric 2
104.131.9.254 via 192.168.255.6 dev tun1 metric 2
104.192.192.199 via 192.168.255.6 dev tun1 metric 2
104.131.9.252 via 192.168.255.6 dev tun1 metric 2
104.131.9.253 via 192.168.255.6 dev tun1 metric 2
104.153.0.5 via 192.168.255.6 dev tun1 metric 2
104.131.9.250 via 192.168.255.6 dev tun1 metric 2
104.131.9.251 via 192.168.255.6 dev tun1 metric 2
104.198.65.97 via 192.168.255.6 dev tun1 metric 2
104.0.0.98 via 192.168.255.6 dev tun1 metric 2
104.0.0.99 via 192.168.255.6 dev tun1 metric 2
104.0.0.97 via 192.168.255.6 dev tun1 metric 2
104.0.0.106 via 192.168.255.6 dev tun1 metric 2
104.0.0.105 via 192.168.255.6 dev tun1 metric 2
104.129.46.100 via 192.168.255.6 dev tun1 metric 2
104.198.65.75 via 192.168.255.6 dev tun1 metric 2
104.198.65.74 via 192.168.255.6 dev tun1 metric 2
104.0.0.82 via 192.168.255.6 dev tun1 metric 2
104.0.0.81 via 192.168.255.6 dev tun1 metric 2
104.192.159.1 via 192.168.255.6 dev tun1 metric 2
104.198.65.72 via 192.168.255.6 dev tun1 metric 2
104.198.65.69 via 192.168.255.6 dev tun1 metric 2
104.198.65.67 via 192.168.255.6 dev tun1 metric 2
104.192.88.2 via 192.168.255.6 dev tun1 metric 2
104.0.0.90 via 192.168.255.6 dev tun1 metric 2
104.198.65.65 via 192.168.255.6 dev tun1 metric 2
104.192.192.225 via 192.168.255.6 dev tun1 metric 2
104.130.88.1 via 192.168.255.6 dev tun1 metric 2
104.0.0.89 via 192.168.255.6 dev tun1 metric 2
104.66.0.88 via 192.168.255.6 dev tun1 metric 2
104.198.65.95 via 192.168.255.6 dev tun1 metric 2
104.131.83.6 via 192.168.255.6 dev tun1 metric 2
104.0.0.70 via 192.168.255.6 dev tun1 metric 2
104.0.0.69 via 192.168.255.6 dev tun1 metric 2
104.131.83.5 via 192.168.255.6 dev tun1 metric 2
104.66.107.4 via 192.168.255.6 dev tun1 metric 2
104.131.83.3 via 192.168.255.6 dev tun1 metric 2
192.168.254.2 dev tun0 proto kernel scope link src 192.168.254.1
104.131.83.1 via 192.168.255.6 dev tun1 metric 2
104.198.0.78 via 192.168.255.6 dev tun1 metric 2
192.168.255.6 dev tun1 scope link metric 2
104.130.2.210 via 192.168.255.6 dev tun1 metric 2
192.168.255.2 dev tun1 proto kernel scope link src 192.168.255.1
104.192.99.192 via 192.168.255.6 dev tun1 metric 2
104.200.0.52/30 via 192.168.255.6 dev tun1 metric 2
104.131.9.168/29 via 192.168.255.6 dev tun1 metric 2
104.198.18.0/29 via 192.168.255.6 dev tun1 metric 2
104.131.9.128/29 via 192.168.255.6 dev tun1 metric 2
104.128.30.32/28 via 192.168.255.6 dev tun1 metric 2
104.131.9.176/28 via 192.168.255.6 dev tun1 metric 2
104.192.159.16/28 via 192.168.255.6 dev tun1 metric 2
192.168.65.64/26 via 192.168.255.2 dev tun1
104.129.46.0/26 via 192.168.255.6 dev tun1 metric 2
104.192.99.0/26 via 192.168.255.6 dev tun1 metric 2
67.223.249.0/24 dev eth0 scope link
67.223.249.0/24 dev eth0 proto kernel scope link src 67.223.249.137
192.168.112.0/24 via 192.168.255.2 dev tun1
192.168.254.0/24 via 192.168.254.2 dev tun0
192.168.255.0/24 via 192.168.255.2 dev tun1
172.16.80.0/22 via 192.168.255.6 dev tun1 metric 2
104.0.0.0/8 via 192.168.255.2 dev tun1
default via 67.223.249.1 dev eth0
(spam-protected):/usr/src/olsrd/lib/txtinfo/src# ip r ls table 223
(spam-protected):/usr/src/olsrd/lib/txtinfo/src# ip r ls table 224
(spam-protected):/usr/src/olsrd/lib/txtinfo/src# ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
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 qlen 1000
link/ether 00:16:3e:d0:79:9d brd ff:ff:ff:ff:ff:ff
3: sit0: <NOARP> mtu 1480 qdisc noop state DOWN
link/sit 0.0.0.0 brd 0.0.0.0
20: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100
link/[65534]
21: tun1: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100
link/[65534]
23: tunl0: <NOARP,UP,LOWER_UP> mtu 1480 qdisc noqueue state UNKNOWN
link/ipip 0.0.0.0 brd 0.0.0.0
(spam-protected):/usr/src/olsrd/lib/txtinfo/src# lsmod | grep ipip
ipip 14501 0
tunnel4 7365 1 ipip
(spam-protected):/usr/src/olsrd/lib/txtinfo/src# uname -a
Linux nyserv 2.6.18-128.7.1.el5xen #1 SMP Mon Aug 24 10:08:55 EDT 2009 i686 GNU/Linux
(spam-protected):/usr/src/olsrd/lib/txtinfo/src# tcpdump -ni tunl0
tcpdump: WARNING: tunl0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on tunl0, link-type RAW (Raw IP), capture size 96 bytes
14:17:30.250746 IP 104.198.65.69 > 151.1.1.1: ICMP echo request, id 58471, seq 1, length 64
14:17:31.237257 IP 104.198.65.69 > 151.1.1.1: ICMP echo request, id 58471, seq 2, length 64
2 packets captured
2 packets received by filter
0 packets dropped by kernel
(spam-protected):/usr/src/olsrd/lib/txtinfo/src#
More information about the Olsr-dev
mailing list