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