Page 1 of 1

IPoE authentication with CPE source mac address

Posted: 11 May 2021, 10:35
by giganet
hi,
the network scheme:
router (DHCP) -----> CPE (ubiquiti) -----> accel-ppp


How can I get the lua script to pass the CPE mac address to radius as the username, not the router MAC address ?

In CPE, I have already set the source address to be the CPE mac address.

Re: IPoE authentication with CPE source mac address

Posted: 20 May 2021, 13:14
by dimka88
Hi, does this CPE support DHCP opton 82 insertions?

Re: IPoE authentication with CPE source mac address

Posted: 23 May 2021, 06:26
by giganet
It has option82, but we cannot use it for other reasons.

PS.:
If I turn on option82 in CPE, it makes a firewall rule that catches DHCP requests from the client, so dhcp-forwarder forwards the DHCP request.
The concentrator gives it an IP to establish the IPoE interface, but since the CPE firewall blocks DHCP requests, the DHCP-renew requests no longer reach the concentrator, so the IPoE interface will timeout and rebuild, but until then the client has no network.
If I take out the firewall rule, then, two DHCP requests reach the concentrator (one from the client behind the CPE, one from the DHCP-forwarder), so the accel-ppp can't establish the connection, or only after a long timeout, which is also not good.