Project

General

Profile

Actions

Regression #14885

closed

PPPoE clients macro does not work

Added by Marcos M 7 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Aliases / Tables
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
23.09
Release Notes:
Force Exclusion
Affected Version:
2.8.0
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

Actions #1

Updated by Marcos M 7 months ago

  • Status changed from In Progress to Pull Request Review
Actions #2

Updated by Marcos M 7 months ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Marcos M 7 months ago

  • 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" 

Actions #4

Updated by Jim Pingle 6 months ago

  • Target version changed from 2.8.0 to 2.7.1
Actions

Also available in: Atom PDF