Add /32 routes on DHCP leases

Hi.
I’m doing a lab in which a router installs a /32 route to the lease ip with a script.
I use arp-proxy in order to allow communication between hosts. It’s a way to configure a kind of IPoE server in RouterOS.
It works really well but I’m wondering if it’ll work in a larger scale.
Have someone deployed something like this before?

IPoE is legacy like PPPoE.

You should use DHCP as is with RADIUS and option 82 + any other option that you need.

https://docs.splynx.com/networking/authentication_of_customers/mikrotik_dhcp_radius

I think I haven’t explained well. I want to assign the addresses “one by one” in /32 like in popoe or ipoe. I want to use the same subnet in multiple interfaces or different BNG.

I wouldn’t call IPoE legacy exactly. It’s still the primary L2 mode for UNI ports on most of the Metro Ethernet gear out there like Calix, Adtran, Ciena, etc. Lots of BNG deployments use IPoE

Why would you do that? Just use 100.64.0.0/10 per BNG, slice it as required. Customers talking to each other will go via the NATted public IP or IPv6.

The customer will always get a “/32” with DHCP out of the box. Which should be handled by RADIUS.

i guess /32 route creation is to propagate it on IGP

I think it’s as legacy as IPv4. They’ll be there for a few decades.
I use IPoE with Vyos in a pair of BNG and I was looking to do something similar on Mikrotik. I’m trying to replicate IPoE with /32 routes and arp-proxy. It obviously works but I’m not sure if it’ll work on a BNG with thousands of customers.

Why bother with proxy ARP and the likes? You’re adding complexity that does not really give much benefit. I’d suggest keeping it simple and effective via the RADIUS solution along with option 82 for security on your end<>customer end.

The more you try to do exceptional work in layer 2 than actually needed, the more scalability issues you create for yourself in the long run. Today, 1000s customers, 5 years later, you have 10k users. Think ahead.

I mean, IPoE (static IP mapping/config on CPE side) is a PITA and that’s legacy for me, why not just DHCP everything? Why let vendors decide that for you? We’re in Tik forums, do as we please yes? :slight_smile: