| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| en:dpi:bras_bng:bras_l2_vlan_term [2025/09/29 12:36] – elena.krasnobryzh | en:dpi:bras_bng:bras_l2_vlan_term [2026/03/12 14:41] (current) – [PPPoE traffic termination] elena.krasnobryzh |
|---|
| |
| ===== PPPoE traffic termination ===== | ===== PPPoE traffic termination ===== |
| During the SSG operation in PPPoE server mode (''bras_pppoe_enable=1'') the following PPPoE packet manipulation are applied: | <note important>For correct termination, the parameter ''bras_terminate_l2=1'' must be set.</note> |
| | |
| | During the SSG operation in [[en:dpi:bras_bng:bras_pppoe|PPPoE server mode]] (''bras_pppoe_enable=1'') the following PPPoE packet manipulation are applied: |
| * towards LAN -> WAN: PPPoE/PPP headers are deleted from the packet, ''srcMAC := bras_arp_mac'', ''dstMAC := bras_gateway_mac'' | * towards LAN -> WAN: PPPoE/PPP headers are deleted from the packet, ''srcMAC := bras_arp_mac'', ''dstMAC := bras_gateway_mac'' |
| * towards WAN -> LAN: PPPoE/PPP headers are added to the packet, ''srcMAC := bras_arp_mac'', ''dstMAC := subscriber's MAC address''. If the PPPoE session is not found by its IP address, the packet will be dropped. | * towards WAN -> LAN: PPPoE/PPP headers are added to the packet, ''srcMAC := bras_arp_mac'', ''dstMAC := subscriber's MAC address''. If the PPPoE session is not found by its IP address, the packet will be dropped. |
| |
| All the traffic termination features are supported, including VLAN/Q-in-Q tags in PPPoE traffic along with its termination. | All the traffic termination features are supported, including VLAN/Q-in-Q tags in PPPoE traffic along with its termination. |
| |
| <note important>The option ''bras_terminate_l2=1'' is not applied to PPPoE sessions: L2 packet headers within the PPPoE-sessions are always manipulated as described above.</note> | |
| |
| The [[en:dpi:bras_bng:bras_l2_vlan_term:bras_l2_vlan_term_as|AS termination]] mode is not applied to PPPoE traffic, since the PPPoE packets don't alway contain the IP address, so generally the AS cannot be recognized. | The [[en:dpi:bras_bng:bras_l2_vlan_term:bras_l2_vlan_term_as|AS termination]] mode is not applied to PPPoE traffic, since the PPPoE packets don't alway contain the IP address, so generally the AS cannot be recognized. |
| |