r/Ubiquiti•
bitshard

LTU Shaping & Aggregation - IP Tracking in Bridge Mode?

Question

Hi r/Ubiquiti,

Has anyone come up with a good solution for tracking a client's IP address in UISP for LTU devices in bridge mode? As far as I can tell, the only two effective ways of doing this are:

  1. To allocate each customer to a separate VLAN (in their CPE radio & on core EdgeRouter) and then make a DHCP server for that VLAN with only one available IP address. That way no matter what router/etc they plug into their CPE radio, they will receive the same IP address; you could then set that IP address in UISP as a router attached to their network, and gateway shaping would work correctly. The biggest problem I can see with this is that (when using /31 subnets) each customer will consume two IP addresses. Since public ipv4 addresses are in short supply at the moment, it would be nice to be able to avoid this situation.
  2. Sell each customer an airCube router, and adopt it into UISP. Problems with this: they're expensive, a customer could still potentially swap their airCube for another third party device, and they would no longer be shaped or suspended.

Other ways of shaping:

  1. Using the setting in the LTU CPE management web-interface. Problems with this include the manual nature of it, it would still consume airtime until TCP random back-off takes over, and I don't think shaping only on the CPEs will help with aggregation.
  2. Manually track the MAC address of each client's router and assign them static DHCP leases, this would also cause problems if the client decided to swap or upgrade their router.
  3. Put the CPE radio into router mode, enable the DHCP server, and make only one IP address available, then DMZ that IP address in the CPE radio. This seems kind of hack-y and I haven't really investigated the other consequences of doing this, either (double NAT for example).
  4. PPPoE connections? I haven't investigated this either, I have no idea what UISP's behavior is with clients that are connected via PPPoE. I believe that it creates some overhead though.
  5. Give clients a CG NAT IP by default, and only sell clients who want/need a public IP one, and charge them for the "luxury" of consuming two public IP's

Has anyone found a nice, clean way of achieving this? Or a way of getting around /31 subnets consuming two IP addresses per?

Thanks, I really appreciate your input.

Posted Jul 5, 2022, 5:20 AM UTC

58
Loading comments…