leacho
November 23, 2019, 7:31am
1
Good Morning,
Does the VyOS pppoe-server accept reply attributes from a radius server? - I can establish a solid connection from a client no problem, but I want to include the framed-ip-address reply attribute from freeradius to ensure that my customers get the same internal IP address every time they connect.
I am using the current rolling release.
Many Thanks
Dmitry
November 23, 2019, 10:34am
2
Hello @leacho ,
Yes, you can send framed-ip-address
and other radius attributes. Radius attributes more priority than attributes in config.
leacho
November 23, 2019, 10:35am
3
@Dmitry - that’s good news! - now I’ve just got to work out why its not working
Dmitry
November 23, 2019, 10:42am
4
Hm, I found why.
We need set module radius in config before ippool.
Try for test to modify file /usr/libexec/vyos/conf_mode/accel_pppoe.py
and move following strings before ippool
https://github.com/vyos/vyos-1x/blob/current/src/conf_mode/accel_pppoe.py#L66-L68
leacho
November 23, 2019, 10:45am
5
just to confirm - place between pppoe and ippool?
Dmitry
November 23, 2019, 10:47am
6
You can get modified file from https://raw.githubusercontent.com/DmitriyEshenko/vyos-1x/current/src/conf_mode/accel_pppoe.py
If this will work correct, please, create bug report on phabricator.
upd:/ After this changes you need reconfigure your service pppoe
or reboot router.
leacho
November 23, 2019, 10:55am
7
@Dmitry - absolutely spot on thank you so much for that - works a treat now!
Dmitry
November 23, 2019, 10:57am
8
Don’t forget create bug report on https://phabricator.vyos.net/
leacho
November 23, 2019, 11:52am
9
T1821 logged, thanks again