2022-04-01 12:16:46 +02:00
<!DOCTYPE html>
2024-03-25 22:01:36 +00:00
< html class = "writer-html5" lang = "en" data-content_root = "../" >
2022-04-01 12:16:46 +02:00
< head >
2024-03-25 22:01:36 +00:00
< meta charset = "utf-8" />< meta name = "viewport" content = "width=device-width, initial-scale=1" />
2022-04-01 12:16:46 +02:00
< meta name = "viewport" content = "width=device-width, initial-scale=1.0" />
2022-10-31 23:26:32 +00:00
< title > < no title> — BNG Blaster 0.8 documentation</ title >
2024-03-25 22:01:36 +00:00
< link rel = "stylesheet" type = "text/css" href = "../_static/pygments.css?v=80d5e7a1" />
< link rel = "stylesheet" type = "text/css" href = "../_static/css/theme.css?v=19f00094" />
< link rel = "stylesheet" type = "text/css" href = "../_static/tabs.css?v=a5c4661c" />
< link rel = "stylesheet" type = "text/css" href = "../_static/custom.css?v=411f5019" />
<!--[if lt IE 9]>
<script src="../_static/js/html5shiv.min.js"></script>
<![endif]-->
2022-04-01 12:16:46 +02:00
2024-03-25 22:01:36 +00:00
< script src = "../_static/jquery.js?v=5d32c60e" ></ script >
< script src = "../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c" ></ script >
< script src = "../_static/documentation_options.js?v=a0e24af7" ></ script >
< script src = "../_static/doctools.js?v=888ff710" ></ script >
< script src = "../_static/sphinx_highlight.js?v=dc90522c" ></ script >
2022-04-01 12:16:46 +02:00
< script src = "../_static/js/theme.js" ></ script >
< link rel = "index" title = "Index" href = "../genindex.html" />
< link rel = "search" title = "Search" href = "../search.html" />
</ head >
< body class = "wy-body-for-nav" >
< div class = "wy-grid-for-nav" >
< nav data-toggle = "wy-nav-shift" class = "wy-nav-side" >
< div class = "wy-side-scroll" >
< div class = "wy-side-nav-search" >
2024-03-25 22:01:36 +00:00
< a href = "../index.html" class = "icon icon-home" >
BNG Blaster
< img src = "../_static/rtbrick_logo.png" class = "logo" alt = "Logo" />
2022-04-01 12:16:46 +02:00
</ a >
< div role = "search" >
< form id = "rtd-search-form" class = "wy-form" action = "../search.html" method = "get" >
2024-03-25 22:01:36 +00:00
< input type = "text" name = "q" placeholder = "Search docs" aria-label = "Search docs" />
2022-04-01 12:16:46 +02:00
< input type = "hidden" name = "check_keywords" value = "yes" />
< input type = "hidden" name = "area" value = "default" />
</ form >
</ div >
</ div >< div class = "wy-menu wy-menu-vertical" data-spy = "affix" role = "navigation" aria-label = "Navigation menu" >
< ul >
< li class = "toctree-l1" >< a class = "reference internal" href = "../install.html" > Installation</ a ></ li >
< li class = "toctree-l1" >< a class = "reference internal" href = "../quickstart.html" > Quickstart Guide</ a ></ li >
< li class = "toctree-l1" >< a class = "reference internal" href = "../interfaces.html" > Interfaces</ a ></ li >
< li class = "toctree-l1" >< a class = "reference internal" href = "../access/index.html" > Access Protocols</ a ></ li >
< li class = "toctree-l1" >< a class = "reference internal" href = "../routing/index.html" > Routing Protocols</ a ></ li >
< li class = "toctree-l1" >< a class = "reference internal" href = "../streams.html" > Traffic Streams</ a ></ li >
2023-06-30 11:07:35 +00:00
< li class = "toctree-l1" >< a class = "reference internal" href = "../http.html" > HTTP Emulation</ a ></ li >
2023-11-03 08:56:38 +00:00
< li class = "toctree-l1" >< a class = "reference internal" href = "../nat.html" > NAT / CGNAT</ a ></ li >
2022-04-01 12:16:46 +02:00
< li class = "toctree-l1" >< a class = "reference internal" href = "../reports.html" > Reports</ a ></ li >
< li class = "toctree-l1" >< a class = "reference internal" href = "index.html" > Configuration</ a ></ li >
< li class = "toctree-l1" >< a class = "reference internal" href = "../api/index.html" > API/CLI</ a ></ li >
2022-05-02 17:40:37 +02:00
< li class = "toctree-l1" >< a class = "reference internal" href = "../controller.html" > Controller</ a ></ li >
2023-02-15 21:24:51 +00:00
< li class = "toctree-l1" >< a class = "reference internal" href = "../performance.html" > Performance Guide</ a ></ li >
2022-04-01 12:16:46 +02:00
< li class = "toctree-l1" >< a class = "reference internal" href = "../troubleshooting.html" > Troubleshooting</ a ></ li >
< li class = "toctree-l1" >< a class = "reference internal" href = "../faq.html" > Frequently Asked Questions</ a ></ li >
</ ul >
</ div >
</ div >
</ nav >
< section data-toggle = "wy-nav-shift" class = "wy-nav-content-wrap" >< nav class = "wy-nav-top" aria-label = "Mobile navigation menu" >
< i data-toggle = "wy-nav-top" class = "fa fa-bars" ></ i >
< a href = "../index.html" > BNG Blaster</ a >
</ nav >
< div class = "wy-nav-content" >
< div class = "rst-content" >
< div role = "navigation" aria-label = "Page navigation" >
< ul class = "wy-breadcrumbs" >
2024-03-25 22:01:36 +00:00
< li >< a href = "../index.html" class = "icon icon-home" aria-label = "Home" ></ a ></ li >
< li class = "breadcrumb-item active" > < no title> </ li >
2022-04-01 12:16:46 +02:00
< li class = "wy-breadcrumbs-aside" >
< a href = "../_sources/configuration/interfaces.rst.txt" rel = "nofollow" > View page source</ a >
</ li >
</ ul >
< hr />
</ div >
< div role = "main" class = "document" itemscope = "itemscope" itemtype = "http://schema.org/Article" >
< div itemprop = "articleBody" >
2024-03-25 22:01:36 +00:00
< div class = "highlight-json notranslate" >< div class = "highlight" >< pre >< span ></ span >< span class = "p" > {</ span >< span class = "w" > </ span >< span class = "nt" > " interfaces" </ span >< span class = "p" > :</ span >< span class = "w" > </ span >< span class = "p" > {}</ span >< span class = "w" > </ span >< span class = "p" > }</ span >
2022-04-01 12:16:46 +02:00
</ pre ></ div >
</ div >
2023-11-03 08:56:38 +00:00
< table class = "docutils align-default" >
2022-04-01 12:16:46 +02:00
< thead >
< tr class = "row-odd" >< th class = "head" >< p > Attribute</ p ></ th >
< th class = "head" >< p > Description</ p ></ th >
</ tr >
</ thead >
< tbody >
2023-11-03 08:56:38 +00:00
< tr class = "row-even" >< td >< p >< strong > io-mode</ strong ></ p ></ td >
< td >< div class = "line-block" >
< div class = "line" > IO mode.</ div >
< div class = "line" > The supported IO modes are listed with < code class = "docutils literal notranslate" >< span class = "pre" > bngblaster</ span > < span class = "pre" > -v</ span ></ code ></ div >
< div class = "line" > but except < code class = "docutils literal notranslate" >< span class = "pre" > packet_mmap_raw</ span ></ code > all other modes are currently</ div >
< div class = "line" > considered experimental. In the default mode (< code class = "docutils literal notranslate" >< span class = "pre" > packet_mmap_raw</ span ></ code > )</ div >
< div class = "line" > all packets are received in a Packet MMAP ring buffer and sent</ div >
< div class = "line" > directly through RAW packet sockets.</ div >
< div class = "line" > Default: packet_mmap_raw</ div >
</ div >
</ td >
2022-04-01 12:16:46 +02:00
</ tr >
2023-11-03 08:56:38 +00:00
< tr class = "row-odd" >< td >< p >< strong > io-slots</ strong ></ p ></ td >
< td >< div class = "line-block" >
< div class = "line" > IO slots (ring size).</ div >
< div class = "line" > It might be also needed to increase the < strong > io-slots</ strong > to</ div >
< div class = "line" > reach the desired throughput. The actual meaning of IO slots</ div >
< div class = "line" > depends on the selected IO mode. For Packet MMAP, it defines the</ div >
< div class = "line" > maximum number of packets in the ring buffer.</ div >
< div class = "line" > Default: 4096</ div >
</ div >
</ td >
2022-04-01 12:16:46 +02:00
</ tr >
2024-02-20 15:57:36 +00:00
< tr class = "row-even" >< td >< p >< strong > io-burst</ strong ></ p ></ td >
< td >< div class = "line-block" >
2024-03-25 22:01:36 +00:00
< div class = "line" > IO burst (packets).</ div >
< div class = "line" > Default: 256 Range: 1 to 65535</ div >
2024-02-20 15:57:36 +00:00
</ div >
</ td >
</ tr >
< tr class = "row-odd" >< td >< p >< strong > qdisc-bypass</ strong ></ p ></ td >
2023-11-03 08:56:38 +00:00
< td >< div class = "line-block" >
< div class = "line" > Bypass the kernel’ s qdisc layer.</ div >
2024-02-20 15:57:36 +00:00
< div class = "line" > It’ s currently not recommended to change the default (issue #206)!</ div >
2023-11-03 08:56:38 +00:00
< div class = "line" > Default: true</ div >
</ div >
</ td >
2022-04-01 12:16:46 +02:00
</ tr >
2024-02-20 15:57:36 +00:00
< tr class = "row-even" >< td >< p >< strong > tx-interval</ strong ></ p ></ td >
2023-11-03 08:56:38 +00:00
< td >< div class = "line-block" >
< div class = "line" > TX polling interval in milliseconds.</ div >
2024-02-20 15:57:36 +00:00
< div class = "line" > Default: 0.1 Range: 0.0001 to 1000</ div >
2023-11-03 08:56:38 +00:00
</ div >
</ td >
2022-04-01 12:16:46 +02:00
</ tr >
2024-02-20 15:57:36 +00:00
< tr class = "row-odd" >< td >< p >< strong > rx-interval</ strong ></ p ></ td >
2023-11-03 08:56:38 +00:00
< td >< div class = "line-block" >
< div class = "line" > RX polling interval in milliseconds.</ div >
2024-02-20 15:57:36 +00:00
< div class = "line" > Default: 0.1 Range: 0.0001 to 1000</ div >
2023-11-03 08:56:38 +00:00
</ div >
</ td >
2022-10-31 23:26:32 +00:00
</ tr >
2024-02-20 15:57:36 +00:00
< tr class = "row-even" >< td >< p >< strong > tx-threads</ strong ></ p ></ td >
2023-11-03 08:56:38 +00:00
< td >< div class = "line-block" >
< div class = "line" > Number of TX threads per interface link.</ div >
< div class = "line" > Default: 0 (main thread)</ div >
</ div >
</ td >
2022-04-01 12:16:46 +02:00
</ tr >
2024-02-20 15:57:36 +00:00
< tr class = "row-odd" >< td >< p >< strong > rx-threads</ strong ></ p ></ td >
2023-11-03 08:56:38 +00:00
< td >< div class = "line-block" >
< div class = "line" > Number of RX threads per interface link.</ div >
< div class = "line" > Default: 0 (main thread)</ div >
</ div >
</ td >
2022-04-01 12:16:46 +02:00
</ tr >
2024-02-20 15:57:36 +00:00
< tr class = "row-even" >< td >< p >< strong > capture-include-streams</ strong ></ p ></ td >
2023-11-03 08:56:38 +00:00
< td >< div class = "line-block" >
< div class = "line" > Include traffic streams in the capture.</ div >
< div class = "line" > Default: false</ div >
</ div >
</ td >
2022-04-01 12:16:46 +02:00
</ tr >
2024-02-20 15:57:36 +00:00
< tr class = "row-odd" >< td >< p >< strong > mac-modifier</ strong ></ p ></ td >
2023-11-03 08:56:38 +00:00
< td >< div class = "line-block" >
< div class = "line" > Third byte of access session MAC address (0-255). This option</ div >
< div class = "line" > allows to run multiple BNG Blaster instances with disjoint session</ div >
< div class = "line" > MAC addresses.</ div >
< div class = "line" > Default: 0</ div >
</ div >
</ td >
2022-04-19 10:52:03 +02:00
</ tr >
2022-04-01 12:16:46 +02:00
</ tbody >
</ table >
</ div >
</ div >
< footer >
< hr />
< div role = "contentinfo" >
2024-02-23 20:14:00 +00:00
< p > © Copyright 2020-2024, RtBrick, Inc..</ p >
2022-04-01 12:16:46 +02:00
</ div >
Built with < a href = "https://www.sphinx-doc.org/" > Sphinx</ a > using a
< a href = "https://github.com/readthedocs/sphinx_rtd_theme" > theme</ a >
provided by < a href = "https://readthedocs.org" > Read the Docs</ a > .
</ footer >
</ div >
</ div >
</ section >
</ div >
< script >
jQuery ( function () {
SphinxRtdTheme . Navigation . enable ( true );
});
</ script >
</ body >
</ html >