Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2019-11-07,master
commit 60fe29c7a682444ca797c67aac0a57195ada5893 Author: Sven Eckelmann sven@narfation.org Date: Sun Oct 27 17:24:45 2019 +0000
doc: open-mesh/Advanced_Bridge_virtual_network
60fe29c7a682444ca797c67aac0a57195ada5893 open-mesh/Advanced_Bridge_virtual_network.textile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/open-mesh/Advanced_Bridge_virtual_network.textile b/open-mesh/Advanced_Bridge_virtual_network.textile index 9480a55..469ce6d 100644 --- a/open-mesh/Advanced_Bridge_virtual_network.textile +++ b/open-mesh/Advanced_Bridge_virtual_network.textile @@ -112,11 +112,11 @@ chmod +x interconnect-filter-traffic.nft sudo ./interconnect-filter-traffic.nft </code></pre>
-h2. Loss and throughput limit between nodes +h2. Throughput limit between nodes
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! +!bridge-netfilter-throughput.png!
<pre><code class="shell"> cat > interconnect-filter-traffic.nft << "EOF" @@ -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 1250 kbytes/second accept - iifname "tap2" oifname "tap1" numgen random mod 100 < 90 limit rate 1250 kbytes/second accept + iifname "tap1" oifname "tap2" limit rate 1250 kbytes/second accept + iifname "tap2" oifname "tap1" limit rate 1250 kbytes/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 "tap2" oifname "tap3" limit rate 625 kbytes/second accept + iifname "tap3" oifname "tap2" limit rate 625 kbytes/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 + iifname "tap1" oifname "tap3" limit rate 125 kbytes/second accept + iifname "tap3" oifname "tap1" limit rate 125 kbytes/second accept
meta obrname "br-qemu" drop }