Project

General

Profile

Actions

Bug #309

closed

batman_adv send broadcast to gateways

Added by Jean-Jacques Sarton about 8 years ago. Updated almost 8 years ago.

Status:
Rejected
Priority:
Normal
Target version:
-
Start date:
11/03/2016
Due date:
% Done:

0%

Estimated time:

Description

If a mesh node is connected with one gateway and get a layer 2 broadcast the broadcast may be send via the sending gateway to other gateways of the network.

 # batctl gwl (on GW1)

* MAC-VPN           (255) MAC-TUN-TO-GW2 [  mesh-vpn]: 50.0/50.0 MBit
  MAC-TUN-TO-GW1 (239) MAC-TUN-TO-GW2 [  mesh-vpn]: 50.0/50.0 MBit

# batcl n
     mesh-vpn      MAC-TUN-TO-GW2    2.095s

Both gateway are connected together via a tunnel which a child of bat0. The other child is a vpn entry point for the nodes.

A Broadcast issued from GW1 is received from the node send it to GW2 via GW1.
Broadcasts from GW2 are also send back (to GW1 via GW1).

For me there is a problem regardless of a possible unattended working mode as here.

If I consider the following simplified representation:

      nd1         gw1          nd2        nd3
      | |         | |          | |        | |
    --+ +---------+ +----------+ +--------+ +---

    Neigbours:
     nd1: ... gw1
     nd2: gw1 nd3
     nd3: nd2 ...

we have a correct representation of the topology. Replacing nd2 with gw2 we get:
      nd1         gw1          gw2        nd3
      | |         | |          | |        | |
    --+ +---------+ +----------+ +--------+ +---

    Neigbours:
     nd1: ... gw1 gw2
     gw2: gw1 nd3
     nd3: gw1 gw2 ...

Actions

Also available in: Atom PDF