Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#11192 closed enhancement (fixed)

Support for TEQL load balancing

Reported by: dwmw2@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


I have a setup with dual ADSL lines. This is *not* MP-PPP, since that requires the lines to remain in sync. It's just bonded routing; any given packet from the ISP may come down one link *or* the other.

To make optimal use of the available upstream bandwidth, I need to do the same. I can't use ip route add default nexthop dev pppoa-ppp0 nexthop dev pppoa-ppp1' because that doesn't do proper load-balancing. Any given connection will end up on *one* device, and will only use that device.

So I'm using TEQL, which works nicely after I fix the PPP code (

The attached hotplug script (/etc/hotplug.d/iface/01-teql) makes the system to automatically add slave devices to the TEQL master when they come up. Now I can just configure the teql0 device as a normal network device, with my public-facing IP{,v6} addresses and default routes, then:

uci set network.ppp0.teql=teql0
uci set network.ppp1.teql=teql0
uci commit

And when the individual PPP devices come up they'll be added to the TEQL master automatically.

Attachments (1)

01-teql (486 bytes) - added by dwmw2@… 6 years ago.
hotplug script for teql

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by dwmw2@…

hotplug script for teql

comment:1 Changed 6 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

added in r31311

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.