Regression #14885
closed
PPPoE clients macro does not work
Added by Marcos M about 1 year ago.
Updated about 1 year ago.
Category:
Aliases / Tables
Plus Target Version:
23.09
Release Notes:
Force Exclusion
Affected Architecture:
All
Description
The PPPOE system alias is missing, and creating a rule with the PPPoE clients
macro and gateway results in the following error:
There were error(s) loading the rules: /tmp/rules.debug:717: macro 'PPPOE__NETWORK' not defined - The line in question reads [717]: pass in quick on $pppoe inet from $PPPOE__NETWORK to <negate_networks> ridentifier 10000015 keep state label "NEGATE_ROUTE: Negate policy routing for destination" label "id:1427511904" label "gw:XFINITY_DHCP" @ 2023-10-16 12:24:44
- Status changed from In Progress to Pull Request Review
- Status changed from Pull Request Review to Feedback
- % Done changed from 0 to 100
- Status changed from Feedback to Resolved
Patch tested by @cjl and the system table now populates correctly:
pppoe = "{ pppoe }"
table <PPPOE__NETWORK> persist { 172.25.227.2/28 172.25.242.1/28 }
PPPOE__NETWORK = "<PPPOE__NETWORK>"
pass in quick on $pppoe inet from $PPPOE__NETWORK to <negate_networks> ridentifier 10000017 keep state label "NEGATE_ROUTE: Negate policy routing for destination" label "id:1427511904" label "gw:XFINITY_DHCP"
pass in quick on $pppoe $GWXFINITY_DHCP inet from $PPPOE__NETWORK to any ridentifier 1427511904 keep state label "USER_RULE" label "id:1427511904" label "gw:XFINITY_DHCP"
- Target version changed from 2.8.0 to 2.7.1
Also available in: Atom
PDF