From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@lists.open-mesh.org>
Subject: Re: [B.A.T.M.A.N.] Disconnecting the nodes in batman-adv 2011.1.0
Date: Mon, 4 Jul 2011 14:55:32 +0200 [thread overview]
Message-ID: <201107041455.33023.lindner_marek@yahoo.de> (raw)
In-Reply-To: <CAJA-1Lijvt9hZVTP0QXi81bk061A54tRs=quUyztzo2_cM-LNw@mail.gmail.com>
On Monday, July 04, 2011 14:45:57 Max Ip wrote:
> sudo iptables -A INPUT -s 10.42.43.3 -j DROP
>
> When, I now run batman-adv protocol, node_1 still finds node_3 without
> node_2 being involved.
>
> Though they cannot ping and avahi doesn't run, batman-adv shows them
> as 1 hop neighbors.
>
> How can I disconnect node_1 from node_3 so that I can see the 2 hop
> patterns.
batman-adv operates on layer 2 - the mac address layer. IP addresses are
irrelevant for the mesh to work. You can remove all IP addresses and the nodes
still find each other (try batctl ping or batctl traceroute when you have no
IP addresses configured). Therefore blocking the IP traffic does not interrupt
anything. You'd have to block mac addresses via ebtables or similar tools.
Regards,
Marek
next prev parent reply other threads:[~2011-07-04 12:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-04 12:45 [B.A.T.M.A.N.] Disconnecting the nodes in batman-adv 2011.1.0 Max Ip
2011-07-04 12:55 ` Marek Lindner [this message]
2011-07-04 16:06 ` Max Ip
2011-07-04 18:22 ` Antonio Quartulli
2011-07-04 18:29 ` Sven Eckelmann
2011-07-04 18:39 ` Antonio Quartulli
2011-07-06 9:41 ` Max Ip
2011-07-06 9:47 ` Gioacchino Mazzurco
2011-07-06 9:50 ` Antonio Quartulli
2011-07-06 14:49 ` Max Ip
2011-07-06 9:47 ` Antonio Quartulli
2011-07-04 18:37 ` Marek Lindner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201107041455.33023.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.de \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox