<span style=" font-size:11pt;font-family:IBM Plex Sans">GOLD STAR TO THAT
MAN!!!!</span>
<br>
<br><span style=" font-size:11pt;font-family:IBM Plex Sans">Thanks Ronald,
I'd read through the material and I was sure that default_accept did what
I wanted, I'd clearly read it wrong.</span>
<br>
<br>
<p style="■margin-Bottom:0px"></p>
<p style="■margin-Bottom:0px"><span style=" font-size:10pt;font-family:IBM Plex Sans">cheers,<br>
Andreas</span></p>
<p style="Ç邃;margin-Bottom:0px"></p>
<br>
<table width=600 style="border-collapse:collapse;">
<tr height=8>
<td width=496 colspan=4 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<hr>
<td width=103 valign=top style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<tr height=8>
<td width=496 colspan=4 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<td width=103 valign=top style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<tr height=8>
<td width=165 colspan=2 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:10pt;color:#000080;font-family:IBM Plex Sans"><b>Andreas
Martens</b></span>
<td width=205 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:7pt;color:#5f5f5f;font-family:IBM Plex Sans"> </span>
<td width=125 rowspan=3 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><img align=bottom src=cid:_1_CE10D700CB8286080049B8918025868B style="border:0px solid;"></div>
<td width=103 valign=top style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<tr height=8>
<td width=165 colspan=2 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:9pt;color:#5f5f5f;font-family:IBM Plex Sans">Research
Engineer</span>
<td width=205 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:7pt;color:#5f5f5f;font-family:IBM Plex Sans">
</span>
<td width=103 valign=top style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<tr height=8>
<td width=165 colspan=2 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:9pt;color:#5f5f5f;font-family:IBM Plex Sans">Emerging
Technology</span>
<td width=205 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:7pt;color:#5f5f5f;font-family:IBM Plex Sans">
</span>
<td width=103 valign=top style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<tr height=8>
<td width=371 colspan=3 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:9pt;color:#5f5f5f;font-family:IBM Plex Sans">IBM
Research</span>
<td width=125 valign=top style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<td width=103 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<tr height=8>
<td width=51 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:9pt;color:#5f5f5f;font-family:IBM Plex Sans">Phone:</span>
<td width=113 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:9pt;color:#5f5f5f;font-family:IBM Plex Sans">+44
(0) 1962 816833</span>
<td width=205 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:9pt;color:#5f5f5f;font-family:IBM Plex Sans">37246833</span>
<td width=125 valign=top style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<td width=103 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<tr height=8>
<td width=51 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:9pt;color:#5f5f5f;font-family:IBM Plex Sans">Mobile:</span>
<td width=113 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:9pt;color:#5f5f5f;font-family:IBM Plex Sans">+44
(0) 7824 544874</span>
<td width=205 valign=top style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<td width=125 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<td width=103 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<tr height=8>
<td width=496 colspan=4 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><a href="https://www.emerging-technology.co.uk/"><span style=" font-size:9pt;color:#5f5f5f;font-family:IBM Plex Sans"><u>www.emerging-technology.co.uk</u></span></a>
<td width=103 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<tr height=8>
<td width=496 colspan=4 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:7pt;color:#5f5f5f;font-family:IBM Plex Sans"> </span>
<td width=103 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"></table>
<p style="margin-top:0px;margin-Bottom:0px"></p>
<br><span style=" font-size:11pt;font-family:IBM Plex Sans"><br>
</span><span style=" font-size:10pt;font-family:IBM Plex Sans"><br>
</span>
<br>
<br>
<br>
<br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">From:
</span><span style=" font-size:9pt;font-family:sans-serif">"Velt,
R. (Ronald) in 't" <Ronald.intVelt@tno.nl></span>
<br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">To:
</span><span style=" font-size:9pt;font-family:sans-serif">Andreas
Martens1 <amartens@uk.ibm.com>, "olsr-users@lists.olsr.org"
<olsr-users@lists.olsr.org></span>
<br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Date:
</span><span style=" font-size:9pt;font-family:sans-serif">28/02/2021
21:33</span>
<br><span style=" font-size:9pt;color:#5f5f5f;font-family:sans-serif">Subject:
</span><span style=" font-size:9pt;font-family:sans-serif">[EXTERNAL]
RE: [Olsr-users] Basic problem? router_id from loopback</span>
<br>
<hr noshade>
<br>
<br>
<br><span style=" font-size:1pt;color:white">Hi Andreas, (See below) From:
Olsr-users <olsr-users-bounces@lists.olsr.org> On Behalf Of Andreas
Martens1 Sent: vrijdag 26 februari 2021 15:43 To: olsr-users@lists.olsr.org
Subject: [Olsr-users] Basic problem? router_id from loopback </span>
<p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:sans-serif">Hi
Andreas,</span></p>
<p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:sans-serif"> </span></p>
<p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:sans-serif">(See
below)</span></p>
<p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:sans-serif"> </span></p>
<p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:sans-serif"><b>From:</b>
Olsr-users <olsr-users-bounces@lists.olsr.org> <b>On Behalf Of </b>Andreas
Martens1<b><br>
Sent:</b> vrijdag 26 februari 2021 15:43<b><br>
To:</b> olsr-users@lists.olsr.org<b><br>
Subject:</b> [Olsr-users] Basic problem? router_id from loopback</span></p>
<p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:sans-serif"> </span></p>
<p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:IBM Plex Sans">Hello
all,</span><span style=" font-size:11pt;font-family:sans-serif"> <br>
</span><span style=" font-size:11pt;font-family:IBM Plex Sans"><br>
I've been trying to get this working for some time and I feat I'm just
not understanding something... This might be a n00b problem!</span><span style=" font-size:11pt;font-family:sans-serif">
<br>
</span><span style=" font-size:11pt;font-family:IBM Plex Sans"><br>
I have a group of nodes in a few different wireless networks. Because they
have an IP address for each NIC I wanted to give them a unique IP address
that could be routed across all the networks.</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:IBM Plex Sans"><br>
So I added an IP address to the lo device:</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default qlen 1000</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
inet 127.0.0.1/8 scope host lo</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
valid_lft forever preferred_lft forever</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
<b>inet 172.20.0.1/32 scope global lo</b></span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
valid_lft forever preferred_lft forever</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
inet6 ::1/128 scope host</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
valid_lft forever preferred_lft forever</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:IBM Plex Sans"><br>
I then added [interface=lo] to the olsrd2.conf:</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
[global]</span><span style=" font-size:11pt;font-family:sans-serif"> </span><span style=" font-size:11pt;font-family:Courier New"><br>
fork 1</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
[olsrv2]</span><span style=" font-size:11pt;font-family:sans-serif"> </span><span style=" font-size:11pt;font-family:Courier New"><br>
originator default_accept</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
nhdp_routable true</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
tc_interval 8.0</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
tc_validity 40.0</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
[nhdp]</span><span style=" font-size:11pt;font-family:sans-serif"> </span><span style=" font-size:11pt;font-family:Courier New"><br>
mpr *</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
[interface=lo]</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
[interface=emane14]</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
hello_interval 2.0</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
hello_validity 10.0</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
l2default rx_bitrate 600k</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
multicast_v4 224.0.0.109</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
bindto 192.168.15.1</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
bindto default_reject</span><span style=" font-size:11pt;font-family:sans-serif">
<br>
</span><span style=" font-size:11pt;font-family:Courier New"><br>
[interface=emane13]</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
hello_interval 2.0</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
hello_validity 10.0</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
l2default rx_bitrate 600k</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
multicast_v4 224.0.0.109</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
bindto 192.168.14.1</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
bindto default_reject</span><span style=" font-size:11pt;font-family:sans-serif">
<br>
</span><span style=" font-size:11pt;font-family:Courier New"><br>
[interface=emane11]</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
hello_interval 2.0</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
hello_validity 10.0</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
l2default rx_bitrate 600k</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
multicast_v4 224.0.0.109</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
bindto 192.168.12.1</span><span style=" font-size:11pt;font-family:sans-serif">
</span><span style=" font-size:11pt;font-family:Courier New"><br>
bindto default_reject</span><span style=" font-size:11pt;font-family:sans-serif">
<br>
</span><span style=" font-size:11pt;font-family:IBM Plex Sans"><br>
but this seems to have stopped it working, as far as I can tell it's using
127.0.0.1 as its router_id now instead of the id of a NIC. </span><span style=" font-size:11pt;font-family:sans-serif">
<br>
</span><span style=" font-size:11pt;font-family:IBM Plex Sans"><br>
What does the config need to look like so it distributes routes to the
172.20.0.0/32 addresses configured on loopback?</span><span style=" font-size:11pt;font-family:sans-serif">
<br>
<br>
</span></p>
<br><span style=" font-size:10pt;font-family:IBM Plex Sans">cheers,<br>
Andreas</span>
<br><span style=" font-size:12pt">Deferring to Henning for an authoritative
answer, of course, but judging from the output of</span>
<br><span style=" font-size:12pt"># olsrd2_static --schema=olsrv2.originator
,</span>
<br><span style=" font-size:12pt">you should get rid of the ‘originator
default_accept’ in the [olsrv2] stanza:</span>
<br><span style=" font-size:12pt;font-family:Courier New">21:39:22.109
WARN(olsrv2_old_lan) src/olsrv2/olsrv2_old_lan/old_lan.c 147: Old LAN plugin
does add support for the deprecated olsrv2/lan config option</span>
<br><span style=" font-size:12pt;font-family:Courier New">
originator (list)</span>
<br><span style=" font-size:12pt;font-family:Courier New">
Default value:</span>
<br><span style=" font-size:12pt;font-family:Courier New">
'-127.0.0.0/8'</span>
<br><span style=" font-size:12pt;font-family:Courier New">
'-224.0.0.0/12'</span>
<br><span style=" font-size:12pt;font-family:Courier New">
'-::1'</span>
<br><span style=" font-size:12pt;font-family:Courier New">
'-ff00::/8'</span>
<br><span style=" font-size:12pt;font-family:Courier New">
'default_accept'</span>
<br><span style=" font-size:12pt;font-family:Courier New">
Parameter is an apache2 style access control list made from a list of network
addresses of the following types:</span>
<br><span style=" font-size:12pt;font-family:Courier New">IPv4, IPv6</span>
<br><span style=" font-size:12pt;font-family:Courier New">
(the address can have an optional prefix)</span>
<br><span style=" font-size:12pt;font-family:Courier New">
Each of the addresses/prefixes can start with a '+' to add
them to the whitelist and '-' to add it to the blacklist (default is the
whitelist).</span>
<br><span style=" font-size:12pt;font-family:Courier New">
In addition to this there are four keywords to configure
the ACL:</span>
<br><span style=" font-size:12pt;font-family:Courier New">
- 'first_accept' to parse the whitelist first</span>
<br><span style=" font-size:12pt;font-family:Courier New">
- 'first_reject' to parse the blacklist first</span>
<br><span style=" font-size:12pt;font-family:Courier New">
- 'default_accept' to accept input if it doesn't match either
list</span>
<br><span style=" font-size:12pt;font-family:Courier New">
- 'default_reject' to not accept it if it doesn't match either
list</span>
<br><span style=" font-size:12pt;font-family:Courier New">
(default mode is 'first_accept' and 'default_reject')</span>
<br><span style=" font-size:12pt;font-family:Courier New">
Description:</span>
<br><span style=" font-size:12pt;font-family:Courier New">
Filter for router originator addresses (ipv4 and ipv6) from
the interface addresses. Olsrv2 will prefer routable addresses over linklocal
addresses and addresses from loopback over other interfaces.</span>
<br><span style=" font-size:12pt">If I interpret this correctly, the default
setting for ‘originator’ will ensure that 127.0.0.1 is filtered out and
the address you added to the loopback interface gets selected.</span>
<br><span style=" font-size:12pt">Cheers,</span>
<br><span style=" font-size:12pt">Ronald</span>
<br><span style=" font-size:12pt"> </span>
<br><span style=" font-size:12pt"> </span>
<p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:sans-serif"> </span></p>
<br>
<table width=103 style="border-collapse:collapse;">
<tr valign=top height=8>
<td width=103 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:11pt;font-family:sans-serif"> </span>
<tr valign=top height=8>
<td width=103 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:10pt;font-family:sans-serif"> </span>
<tr valign=top height=8>
<td width=103 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;">
<div align=right><span style=" font-size:11pt;font-family:sans-serif"> </span></div>
<tr valign=top height=8>
<td width=103 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:11pt;font-family:sans-serif"> </span>
<tr valign=top height=8>
<td width=103 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:11pt;font-family:sans-serif"> </span>
<tr height=8>
<td width=103 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:10pt;font-family:sans-serif"> </span>
<tr height=8>
<td width=103 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:10pt;font-family:sans-serif"> </span>
<tr height=8>
<td width=103 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:10pt;font-family:sans-serif"> </span>
<tr height=8>
<td width=103 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:11pt;font-family:sans-serif"> </span>
<tr height=8>
<td width=103 style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px;"><span style=" font-size:11pt;font-family:sans-serif"> </span></table>
<p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:11pt;font-family:IBM Plex Sans"><br>
</span><span style=" font-size:10pt;font-family:IBM Plex Sans"><br>
</span><span style=" font-size:10pt;font-family:Arial"><br>
<br>
Unless stated otherwise above:<br>
IBM United Kingdom Limited - Registered in England and Wales with number
741598. <br>
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU</span></p>
<p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:8pt;font-family:Arial"> </span></p>
<p style="margin-top:0px;margin-Bottom:0px"><span style=" font-size:8pt;font-family:Arial">This
message may contain information that is not intended for you. If you are
not the addressee or if this message was sent to you by mistake, you are
requested to inform the sender and delete the message. TNO accepts no liability
for the content of this e-mail, for the manner in which you use it and
for damage of any kind resulting from the risks inherent to the electronic
transmission of messages.<br>
</span></p>
<p style="margin-top:0px;margin-Bottom:0px"></p>
<br><span style=" font-size:10pt;font-family:sans-serif"><br>
Unless stated otherwise above:<br>
IBM United Kingdom Limited - Registered in England and Wales with number
741598. <br>
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU<br>
</span>