Allocate /29 to PPPOE Customer

Hi Guys,

I have a customer who has requested a /29 subnet allocated to their connection.

Usually all our customers get a single IP from an IP pool on the Lac.

We use Dalo radius and any customer who wants a public IP we usually allocate it there.

Although if i try and allocate an IP with a /29 etc the user is unable to authenticate,

Anyknow know the best way around this?

Thanks

if the /29 is, for example 13.14.15.16/29 (13.14.15.16 - 13.14.15.23)

assign one private ip to radius profile, like 10.0.0.2
and
add to route list
dst 13.14.15.16/29 → gat 10.0.0.2

and assign 13.14.15.17/29 to ether1 on the cpe

add 13.14.15.18-13.14.15.22 on the dhcp server pool list inside the cpe

So you are currently just giving them a Framed-IP-Address response, this contains a single IP address.
You just need to use the Framed-Route attribute and define a subnet, gateway and distance e.g.

Framed-Route := 203.96.1.0/29 0.0.0.0 100

This would route 203.96.1.0/29 at the IP dynamically given to the client as a Framed-IP-Address with distance of 100. This will be added to the Mikrotik as a “Dynamic Static” route.

This should be working at this point.

If you are doing this with DHCP/IPoE you need to also

/ip dhcp-server set 0 use-framed-as-classless=no

as somewhere in the RouterOS 6 chain of releases Mikrotik broke the use of the Framed-Route attribute, instead of adding the framed-route it started assigning it to the client as a classless-route, making RouterOS 6 noncompliant with the RFC.