Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2019-11-07,master
commit 0adf3bf0d5f24699cbe390c90f19fc7364a31cbd Author: Sven Eckelmann sven@narfation.org Date: Sun Oct 27 17:21:23 2019 +0000
doc: open-mesh/Advanced_Bridge_virtual_network
0adf3bf0d5f24699cbe390c90f19fc7364a31cbd open-mesh/Advanced_Bridge_virtual_network.textile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/open-mesh/Advanced_Bridge_virtual_network.textile b/open-mesh/Advanced_Bridge_virtual_network.textile index bfbf9b4..9480a55 100644 --- a/open-mesh/Advanced_Bridge_virtual_network.textile +++ b/open-mesh/Advanced_Bridge_virtual_network.textile @@ -75,7 +75,7 @@ chmod +x interconnect-filter-traffic.nft sudo ./interconnect-filter-traffic.nft </code></pre>
-h2. Allow communication between specific nodes with loss +h2. Loss between nodes
The chain setup is already a nice test for mesh setups. But other characteristics of a link might be interesting for a mesh protocol. A probability of packet loss is one of such a link characteristics.
@@ -112,9 +112,9 @@ chmod +x interconnect-filter-traffic.nft sudo ./interconnect-filter-traffic.nft </code></pre>
-h2. Allow communication between specific nodes with loss and throughput limit +h2. Loss and throughput limit between nodes
-It is also possible to limit the maximum throughput per second for a link. +It is also possible to limit the maximum throughput per second for a link. The limits are specified in bytes per second and bits per second have to be converted manually to this unit.
!bridge-netfilter-loss-throughput.png!
@@ -128,14 +128,14 @@ table bridge filter { chain FORWARD { type filter hook forward priority -200; policy accept;
- iifname "tap1" oifname "tap2" numgen random mod 100 < 90 limit rate 10 mbytes/second accept - iifname "tap2" oifname "tap1" numgen random mod 100 < 90 limit rate 10 mbytes/second accept + iifname "tap1" oifname "tap2" numgen random mod 100 < 90 limit rate 1250 kbytes/second accept + iifname "tap2" oifname "tap1" numgen random mod 100 < 90 limit rate 1250 kbytes/second accept
- iifname "tap2" oifname "tap3" numgen random mod 100 < 90 limit rate 5 mbytes/second accept - iifname "tap3" oifname "tap2" numgen random mod 100 < 90 limit rate 5 mbytes/second accept + iifname "tap2" oifname "tap3" numgen random mod 100 < 90 limit rate 625 kbytes/second accept + iifname "tap3" oifname "tap2" numgen random mod 100 < 90 limit rate 625 kbytes/second accept
- iifname "tap1" oifname "tap3" numgen random mod 100 < 60 limit rate 1 mbytes/second accept - iifname "tap3" oifname "tap1" numgen random mod 100 < 60 limit rate 1 mbytes/second accept + iifname "tap1" oifname "tap3" numgen random mod 100 < 60 limit rate 125 kbytes/second accept + iifname "tap3" oifname "tap1" numgen random mod 100 < 60 limit rate 125 kbytes/second accept
meta obrname "br-qemu" drop }