[B.A.T.M.A.N.] originator timeout

Axel Neumann axel at open-mesh.net
Tue Jul 10 09:10:37 UTC 2007


Before a batman configures a host route towards another node (and  
batmand -c -d 1 -b should tell you about all succesfull configured routes) it 
must learn about the existence of the other node via a bidirectional link.
Thus actually two things are checked:
1. the link (via which it received a message from the new node) must be 
2. Receive an originator message from the new node (OGM).

In your case the node (A) has not yet confirmed the first issue.
It received an OGM from node (B) but not via a validated 
bidirectional link (not yet).
In order to consider a link bidirectional, node A checks if it has 
successfully received one of its self-initiated OGMs back from node B.
I suppose this has not happened so fare but (if the link between A and B is 
bidirectionsl) should happen within the next seconds. The line:
> ath0 Orginator timeout: originator, last_valid 0
which you are concerned about indicates exactly this fact. Recevied messages 
from another node are only valid if (besides other checks) they have been 
received via a bidirectional link. This one was not so its not valid. 
Otherwise last_valid should indicate the timestamp of the last validly 
recevied OGM from node B. 
Another line:
> Forward packet: rebroadcast neighbour packet with direct link and
> unidirectional flag
Indicates that node A rebroadcasts node Bs OGM anyway but with the 
unidirectional flag (UDF) set which tells all other neighbors except node B 
to ignore the message. Just node B now has the possibility to consider node A 
as a bidirectional neighbor because node A has successfully rebroadcasted its 
own OGM. Does that make sense?


On Monday 09 July 2007 18:42, a.anselmi at oltrelinux.com wrote:
> I'm testing batmand 0.2 in two hardware-different nodes:
> is a Fonera running its standard firmware
> is a Fonera running Kamikaze
> >From kamikaze(d) node I see:
> Received BATMAN packet via NB:, IF: ath0 (from OG:
>, seqno 926, TTL 50, V 3, UDF 0, IDF 0)
> Creating new originator:
> schedule_forward_packet():
> Forward packet: rebroadcast neighbour packet with direct link and
> unidirectional flag
> Forwarding packet (originator, seqno 926, TTL 49) on interface
> ath0 Orginator timeout: originator, last_valid 0
> update_routes()
> but the same node, issuing the command "batmand -c -d 1 -b" tells me "No
> batman nodes in range".
> I'm afraid of the message "Orginator timeout: originator" in the
> above lines... is this the problem?
> --
> Antonio
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N at open-mesh.net
> https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n

More information about the B.A.T.M.A.N mailing list