IPoE authentication with CPE source mac address

IPoE related questions
Post Reply
giganet
Posts: 5
Joined: 08 Mar 2021, 09:26

IPoE authentication with CPE source mac address

Post 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.
dimka88
Posts: 866
Joined: 13 Oct 2014, 05:51
Contact:

Re: IPoE authentication with CPE source mac address

Post by dimka88 »

Hi, does this CPE support DHCP opton 82 insertions?
giganet
Posts: 5
Joined: 08 Mar 2021, 09:26

Re: IPoE authentication with CPE source mac address

Post 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.
Post Reply