[Olsr-users] Adding support to set SRC-IP on Route-Insertions
Wed May 20 13:51:28 CEST 2015
did you have a look into the "full example configuration" (
There you will find:
# SrcIpRoutes tells OLSRd to set the Src flag of host routes to the
# 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
On Tue, May 19, 2015 at 10:56 PM, Michael Rack
> Hi Developers!
> Hi Henning,
> is it possible to add a config-directive to olsrd.conf to set the
> default ip-address unix/linux will use when a packet is originated with
> src-ip 0.0.0.0?
>> ip route add 192.168.1.0/24 via 192.168.0.2 src 10.0.0.1 metric 5 dev eth0
> So if a new packet is generated with src-ip 0.0.0.0 and the route will
> match, linux/unix is adding 10.0.0.1 as source-ip-address.
> Why i am asking for?
> I like to add a IP-Address to the loopback interface and will announce
> it via OLSR. On a traceroute i like to show this ip-address back to the
> user on the ICMP-Timeout-Exceeded Message.
> With SRC on the route, this is a possible way to go.
> If src on the route entry is missing, linux/unix will use the first
> ip-address assigned to the outgoing interface. Perhaps this should be a
> configuration-directive which is able to set per interface basis. So if
> you have multiple ip-addresses assigned to an interface, you can select
> one of them.
> Mit freundlichen Grüßen 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
> Olsr-users mailing list
More information about the Olsr-users