Traffic streams topology #128
-
Hi guys, We have a good setup for bngblaster working to test all control plane protocols and their scale. Next up would be have a look at load-testing a proposed new BNG deployment, however the topology for the traffic streams eludes me so far. Is it possible to have traffic streams both directions (tx/rx) without a 'network' type interface? Is it a requirement to have the streams 'loop' through the DUT and back to the bngblaster? many thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
The notion of 'network' interface means that this is where DUT is connected to the core and BNG Blaster may simulate the core with IS-IS and BGP and or a more static setup with no routing protocols at all, albeit with a static 0/0 route from DUT to blaster. |
Beta Was this translation helpful? Give feedback.
-
Hi. Additionally used 'session-traffic' however that does not seem to give the desired result, but at least got it working. Looks like the pps configured gets divided amongst the total amount of sessions. Thus aiming for ~2,5Mbps per session needs about 3500 pps. Had to set 1750000 pps, but bngblaster did not reach that high? Excerpt from the report after the json. How does bngblaster know to generate traffic according to the 'streams' config? The API/CLI result when using the json as shown:
json config: {
"interfaces": {
"network": {
"interface": "bond0",
"address": "100.127.6.6/30",
"gateway": "100.127.6.5",
"vlan": 99
},
"access": {
"__comment__": "PPPoE Client",
"interface": "bond0.702",
"type": "pppoe",
"stream-group-id": 1,
"vlan-mode": "N:1"
}
},
"session-traffic": {
"ipv4-pps": 1750000,
"ipv6-pps": 0,
"ipv6pd-pps": 0
},
"streams": {
"name": "BestEffort",
"stream-group-id": 1,
"type": "ipv4",
"direction": "both",
"pps": 1000,
"network-interface": "bond0"
},
"pppoe": {
"reconnect": true
},
"ppp": {
"mru": 1492,
"authentication": {
"username": "test@bng2",
"password": "password",
"timeout": 3,
"retry": 5,
"authentication-protocol": "PAP"
},
"lcp": {
"conf-request-timeout": 1,
"conf-request-retry": 10,
"keepalive-interval": 30,
"keepalive-retry": 3
},
"ipcp": {
"enable": true,
"request-ip": true,
"request-dns1": true,
"request-dns2": true,
"conf-request-timeout": 1,
"conf-request-retry": 10
}
}
} Excerpt from report after using 'session-traffic' as per above:
|
Beta Was this translation helpful? Give feedback.
-
Hi Christian, Sincere thanks for the hints. We have tried those however no go yet. Also to note upgraded to the latest version available. From the top:
{
"interfaces": {
"rx-threads": 22,
"tx-threads": 22,
"io-slots": 16384,
"network": {
"interface": "bond0",
"address": "100.127.6.2/24",
"gateway": "100.127.6.1",
"vlan": 99
},
"access": {
"interface": "bond0",
"type": "pppoe",
"stream-group-id": 1,
"vlan-mode": "N:1",
"outer-vlan": 702
}
},
"session-traffic": {
"ipv4-pps": 4500,
"ipv6-pps": 0,
"ipv6pd-pps": 0
},
"pppoe": {
"reconnect": true
},
"ppp": {
"mru": 1492,
"authentication": {
"username": "test@bng2",
"password": "password",
"timeout": 3,
"retry": 5,
"authentication-protocol": "PAP"
},
"lcp": {
"conf-request-timeout": 1,
"conf-request-retry": 10,
"keepalive-interval": 30,
"keepalive-retry": 3
},
"ipcp": {
"enable": true,
"request-ip": true,
"request-dns1": true,
"request-dns2": true,
"conf-request-timeout": 1,
"conf-request-retry": 10
},
"ip6cp": {
"enable": false
}
},
"dhcpv6": {
"enable": false
}
}
{
"interfaces": {
"rx-threads": 22,
"tx-threads": 22,
"io-slots": 16384,
"network": {
"interface": "bond0",
"address": "100.127.6.2/24",
"gateway": "100.127.6.1",
"vlan": 99
},
"access": {
"interface": "bond0",
"type": "pppoe",
"stream-group-id": 1,
"vlan-mode": "N:1",
"outer-vlan": 702
}
},
"streams": {
"name": "general",
"stream-group-id": 1,
"type": "ipv4",
"direction": "both",
"pps": 1000,
"network-ipv4-address": "100.127.6.10"
},
"pppoe": {
"reconnect": true
},
"ppp": {
"mru": 1492,
"authentication": {
"username": "test@bng2",
"password": "password",
"timeout": 3,
"retry": 5,
"authentication-protocol": "PAP"
},
"lcp": {
"conf-request-timeout": 1,
"conf-request-retry": 10,
"keepalive-interval": 30,
"keepalive-retry": 3
},
"ipcp": {
"enable": true,
"request-ip": true,
"request-dns1": true,
"request-dns2": true,
"conf-request-timeout": 1,
"conf-request-retry": 10
},
"ip6cp": {
"enable": false
}
},
"dhcpv6": {
"enable": false
}
}
{
"streams": {
"name": "general",
"stream-group-id": 1,
"type": "ipv4",
"direction": "both",
"pps": 1000,
"network-interface": "bond0:99"
}
}
Any further thoughts perhaps? Can show you a lot of output from the running bngblaster instance, however it will only serve to confirm my statements between session-traffic vs traffic streams. Let me know if there is additional output that would be useful. many thanks Christian |
Beta Was this translation helpful? Give feedback.
Hi Christian,
Sincere thanks for the hints. We have tried those however no go yet. Also to note upgraded to the latest version available.
From the top:
session-traffic
only for now. This works as expected. Note the additional threads and io-slots added as well.