Closed ArunPrakashThangaraj closed 6 months ago
Expected downstream traffic: (For subscriber with inner/outer-vlan 7/7)
2024-03-01T09:47:07.822173+0000 12:70:ab:70:37:53 > 7a:00:b2:c0:00:02, ethertype IPv4 (0x0800), length 128: (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 114) 134.1.1.11.1701 > 182.168.1.1.1701: l2tp: {IP (0x0021), length 80: (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 76) 10.0.0.10.65056 > 10.10.10.10.65056: UDP, length 48} supervisor@C1-STD-26-2701>bm13-tst.fsn.rtbrick.net: op>
Actual downstream traffic:
2024-03-01T09:58:39.489320+0000 12:70:ab:70:37:53 > 7a:00:b2:c0:00:02, ethertype IPv4 (0x0800), length 90: (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 76) 132.1.1.3.65056 > 10.100.128.6.65056: UDP, length 48
2024-03-01T09:58:39.489391+0000 12:70:ab:70:37:53 > 7a:00:b2:c0:00:02, ethertype IPv4 (0x0800), length 90: (tos 0x0, ttl 64, id 0, offset 0, flags [none], proto UDP (17), length 76) 132.1.1.3.65056 > 10.10.10.10.65056: UDP, length 48
The header with source-ip as LNS and dest-ip as LAC is missing in this traffic.
134.1.1.11.1701 > 182.168.1.1.1701: l2tp:[] --> This is missing for this subscriber.
Steps:
supervisor@SN1-STD-26-2701:~ $ sudo bngblaster -C config.json -I -S run.sock -P test.pcap -l pppoe -l l2tp -l ip -lag -L report.log
Reboot container (it has last-load-config: true) and the configs will be played after rebooting.
Ensure that 5 subscribers each for IPoE/PPPoE/L2TP are established
Clear subscribers as follows clear pppoe session all clear ipoe subscriber all clear l2tp tunnel all
After step4, all 15 subscribers will be established again
Reset/Start/Stop session traffic for the inner/outer-vlan pairs 6:6, 7:7, 8:8
For 8:8 alone verified stream will be 1 (for 6:6 & 7:7, it will be 2) as the downstream traffic does not work for 8:8. This will be confirmed when you capture on the container C1-STD-26-2701 as the header has the following problem.
Fixed with 7e65668ff194c62046186dc73ee24690b2eeb5da!
Describe the bug
After clearing pppoe/ipoe subscribers and l2tp tunnel, downstream traffic from the blaster looks incomplete.
To Reproduce
Version (
bngblaster -v
):JSON configuration:
Steps to reproduce the behavior:
Expected behavior
Header part featuring the IP addresses of LNS & LAC must be present in the downstream traffic