mirror of
https://github.com/rtbrick/bngblaster.git
synced 2024-05-06 15:54:57 +00:00
update IPoE docu
This commit is contained in:
committed by
Christian Giese
parent
5fd4c04844
commit
de07ac33b8
@@ -51,13 +51,12 @@ upstream direction (from U to A10-NSP interface). Those headers allow the wholes
|
||||
the actual U interface for traffic received on the A10-NSP interface. This functionality is referred to
|
||||
as the intermediate agent functionality.
|
||||
|
||||
|
||||
The BNG Blaster A10NSP interface emulates such a layer two provider interface. This interface type accepts
|
||||
all PPPoE sessions received to verify forwarding and PPPoE header enrichment.
|
||||
all DHCPv4 and PPPoE sessions received to verify forwarding and header enrichment.
|
||||
|
||||
.. note::
|
||||
It is also planned to emulate a lightweight DHCPv4 and DHCPv6 server
|
||||
to verify IPoE forwarding and header enrichment.
|
||||
It is also planned to emulate a lightweight DHCPv6 server
|
||||
to verify IPv6 forwarding and header enrichment for IPoE.
|
||||
|
||||
Following a basic PPPoE/A10NSP configuration example which is
|
||||
detailed explained in the configuration section.
|
||||
|
||||
@@ -45,7 +45,7 @@ one more :ref:`traffic stream <streams>` bound to the sessions.
|
||||
],
|
||||
"access": [
|
||||
{
|
||||
"__comment__": "PPPoE",
|
||||
"__comment__": "PPPoE Client",
|
||||
"interface": "veth1.2",
|
||||
"type": "pppoe",
|
||||
"outer-vlan-min": 1,
|
||||
@@ -193,6 +193,63 @@ You can also try other :ref:`commands <api>` to get familiar with the API.
|
||||
After the test has stopped, you can also check the final JSON report (``jq . report.json``),
|
||||
log, and PCAP files.
|
||||
|
||||
DHCP
|
||||
----
|
||||
|
||||
Let's repeat all the steps from the PPPoE example before but with the following
|
||||
IPoE DHCP configuration.
|
||||
|
||||
**dhcp.json:**
|
||||
|
||||
.. code-block:: json
|
||||
|
||||
{
|
||||
"interfaces": {
|
||||
"a10nsp": [
|
||||
{
|
||||
"__comment__": "DHCP Server",
|
||||
"interface": "veth1.1"
|
||||
}
|
||||
],
|
||||
"access": [
|
||||
{
|
||||
"__comment__": "DHCP Client",
|
||||
"interface": "veth1.2",
|
||||
"type": "ipoe",
|
||||
"ipv6": false,
|
||||
"outer-vlan-min": 1,
|
||||
"outer-vlan-max": 4000,
|
||||
"inner-vlan": 7,
|
||||
"stream-group-id": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"access-line": {
|
||||
"agent-remote-id": "DEU.RTBRICK.{session-global}",
|
||||
"agent-circuit-id": "0.0.0.0/0.0.0.0 eth 0:{session-global}"
|
||||
},
|
||||
"dhcp": {
|
||||
"enable": true,
|
||||
"broadcast": false
|
||||
},
|
||||
"session-traffic": {
|
||||
"ipv4-pps": 1
|
||||
},
|
||||
"streams": [
|
||||
{
|
||||
"stream-group-id": 1,
|
||||
"name": "S1",
|
||||
"type": "ipv4",
|
||||
"direction": "both",
|
||||
"priority": 128,
|
||||
"length": 256,
|
||||
"pps": 1,
|
||||
"a10nsp-interface": "veth1.1"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
ISIS
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user