[Olsr-users] Two ethernet links to the same host makes things get worst

Michael Rack (spam-protected)
Mon Jan 5 23:46:15 CET 2015


Hi!

I have a Fiber-Network where i use olsrd to get dynamic routing enabled
in my hybrid fiber and wireless network.

Topology:
>              Node A
>     eth0.2220      eth1.2221
>         |              |
>      Fiber 1        Fiber 2
>         |              |
>     eth0.2220      eth1.2221
>              Node B


To save IP-Space (public ip-addresses are in use) i use the same /32
ip-address on both interfaces of each node.

Node A eth0.2220:
    192.168.0.1/32 (just for demonstration - in normal that is a public
routed ip)
    172.16.0.1/30 (for direct ip-communication when olsrd is disabled or
want work)

Node A eth1.2221:
    192.168.0.1/32 (just for demonstration - in normal that is a public
routed ip)
    172.16.0.5/30 (for direct ip-communication when olsrd is disabled or
want work)

Node B eth0.2220:
    192.168.0.2/32 (just for demonstration - in normal that is a public
routed ip)
    172.16.0.2/30 (for direct ip-communication when olsrd is disabled or
want work)

Node B eth1.2221:
    192.168.0.2/32 (just for demonstration - in normal that is a public
routed ip)
    172.16.0.6/30 (for direct ip-communication when olsrd is disabled or
want work)

When both interfaces get active and olsrd decide which interface to use
all is working fine until OLSR changes the routes from eth0.2220 to
eth1.2221 - or vice versa - the ip communication stops working. I saw,
that the MAC-Address in the arp-table for 192.168.0.1 / 192.168.0.2 will
not be updated when the out-interface is changing - it points to the
last MAC-Address.

What is the solution, to get the mac-address also updated when the route
will be changed? Will the plugin "arprefresh" do the things they needed
to get my link working as expected?

Liebe Grüße aus Freilassing,

Michael Rack
RSM Freilassing
-- 
RSM Freilassing                 Tel.: +49 8654 607110
Nocksteinstr. 13                Fax.: +49 8654 670438
D-83395 Freilassing            www.rsm-freilassing.de 






More information about the Olsr-users mailing list