PPPoE Gateway

Hi,
one question about freeradius & mikrotik attributes:
I need to pass in autentication section different IP, Netmask & gateway to my client without use “service name”.
now,
for IP → framed-IP-address
for netmask → framed-netmask
for gateway? Framed Route? But in the manual I dont see the regular expression to insert in the Framed-Route (or
Framed-Routing) field..

Thanks in advance.

I.M.

Yes, for Gateway Framed-Route is used, As in RADIUS documentation specified, you need to look at RFC for the Framed-Route format,

From the RFC,
For IP routes, it SHOULD contain a destination prefix in dotted quad form optionally followed by a slash and a decimal length specifier stating how many high order bits of the prefix to use. That is followed by a space, a gateway address in dotted quad form, a space, and one or more metrics separated by spaces. For example, “192.168.1.0/24 192.168.1.1 1 2 -1 3 400”. The length specifier may be omitted, in which case it defaults to 8 bits for class A prefixes, 16 bits for class B prefixes, and 24 bits for class C prefixes. For example, “192.168.1.0 192.168.1.1 1”.

Whenever the gateway address is specified as “0.0.0.0” the IP address of the user SHOULD be used as the gateway address.

Thank Sergejs but this don’t work.

I’ve:
PPPoE Server with FreeRadius reply & SQL database. I’ve created a dummy account in the database,
this account return a MikroTik Framed-IP=192.168.1.2 and Framed-Route=192.168.1.0 192.168.1.1 1
In the PPPoE Server default profile I NOT set the Local address, client connection not start!
Where are error?
How to pass the local address (pppoe gateway)?

Thanks..

Is possible pass “PPPoE Local Address” with FreeRadius attribute?