[Olsr-dev] Question on RtTable and RtTableDefault
ZioPRoTo (Saverio Proto)
(spam-protected)
Wed Jul 25 00:58:59 CEST 2012
Hello,
I would like to use RtTable and RtTableDefault to implement the
Architecture described here:
http://blog.ninux.org/wp-content/uploads/2012/06/NinuxRoma-RoutingArchitecture-DocumentVersion0.pdf
I am using the AirOS firmware, that have a this version of the Kernel:
Linux 2.6.15-5.2
Here is my OLSR configuration file:
DebugLevel 0
IpVersion 4
Pollrate 0.025
FIBMetric "flat"
RtTable 111
RtTableDefault 112
RtTableTunnel 224
UseNiit no
SmartGateway no
Hna4
{
10.183.1.0 255.255.255.0
}
#Hna6
#{
#}
UseHysteresis no
TcRedundancy 2
MprCoverage 7
LinkQualityLevel 2
LinkQualityAlgorithm "etx_ff"
LinkQualityAging 0.05
LinkQualityFishEye 1
# Don't remove olsrd_txtinfo from this file
# as this plugin is used by the Webinterface
# to display the OLSR Info
LoadPlugin "olsrd_txtinfo.so.0.1"
{
PlParam "port" "2006"
PlParam "Accept" "127.0.0.1"
}
InterfaceDefaults {
HelloInterval 3.0
HelloValidityTime 125.0
TcInterval 2.0
TcValidityTime 500.0
MidInterval 25.0
MidValidityTime 500.0
HnaInterval 10.0
HnaValidityTime 125.0
}
Interface "ath0"
{
Mode "mesh"
# LinkQualityMult 192.168.0.1 0.5
#LinkQualityMult default 0.2
}
Interface "eth0"
{
Mode "ether"
# LinkQualityMult 192.168.0.1 0.5
# LinkQualityMult default 0.8
}
Here is the output when starting olsrd:
XM.v5.3.3.sdk# olsrd -f /etc/persistent/olsrd.conf -d 3
*** olsr.org - pre-0.6.3-git_-hash_b493c377b33f6e45d0b2e8b4c8e7c5db - ***
Build date: 2011-12-21 20:42:35 on nockid
http://www.olsr.org
Parsing file: "/etc/persistent/olsrd.conf"
Debug level: 0
IpVersion: 4
Pollrate 0.03
FIBMetric: flat
RtTable: 111
RtTableDefault: 112
RtTableTunnel: 224
Use NIIT ip translation: disabled
Smart gateway system: disabled
HNA IPv4 entry: 10.183.1.0/255.255.255.0
Hysteresis disabled
TC redundancy 2
MPR coverage 7
Link quality level 2
LQ Algorithm: etx_ff
Link quality aging factor 0.050000
Link quality fish eye 1
Plugin: olsrd_txtinfo.so.0.1
Plugin param key:"port" val: "2006"
Plugin param key:"Accept" val: "127.0.0.1"
HELLO interval: 3.00
HELLO validity: 125.00
TC interval: 2.00
TC validity: 500.00
MID interval: 25.00
MID validity: 500.00
HNA interval: 10.00
HNA validity: 125.00
Interface Defaultssetting ifs_in_curr_cfg = 0
Mode: mesh
setting ifs_in_curr_cfg = 0
Mode: ether
Warning, setting a table for tunnels without SmartGW does not make sense.
IPv4 broadcast/multicast : AUTO (d)
Mode : mesh (d)
IPv6 multicast : ff02::6d
HELLO emission/validity : 3.00/125.00
TC emission/validity : 2.00/500.00
MID emission/validity : 25.00/500.00
HNA emission/validity : 10.00/125.00
Autodetect changes : yes
IPv4 broadcast/multicast : AUTO
Mode : mesh (d)
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
IPv4 broadcast/multicast : AUTO
Mode : ether (d)
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
*** olsrd configuration ***
Debug Level : 3
IpVersion : 4
No interfaces : ALLOWED
TOS : 0xc0
OlsrPort : 0x2ba
RtTable : 111
RtTableDefault : 112
RtTableTunnel : 112
Willingness : 3
IPC connections : 0
Pollrate : 0.03
NIC ChangPollrate: 2.50
TC redundancy : 2
MPR coverage : 7
LQ level : 2
LQ fish eye : 1
LQ aging factor : 0.050000
LQ algorithm name: etx_ff
NAT threshold : 1.000000
Clear screen : yes
Use niit : no
Smart Gateway : no
SmGw. Allow NAT : yes
SmGw. threshold : 0%
Smart Gw. Uplink : both
SmGw. Uplink NAT : yes
Smart Gw. speed : 128 kbit/s up, 1024 kbit/s down
# Smart Gw. prefix : ::/0
InterfaceDefaults:
*** olsr.org -
pre-0.6.3-git_-hash_b493c377b33f6e45d0b2e8b4c8e7c5db - (2011-12-21
20:42:35 on nockid) ***
the behaviour I have is that RtTable and RtTableDefault are just
ingnored. All the routing table goes in teh default 254 table
Are these parameters working only with smartgateway enabled ?
It could be a problem the old kernel ?
thanks
Saverio
More information about the Olsr-dev
mailing list