I recently got a Second ADSL Line becaus the Upload of the First one was almost unuseable.
Now i got myself a RB750UP for the Bonding after screwing Around with OpenWRT for almost a week.
Now i just need help with the Configuration. Maybe someone knows a Tutorial Somewhere.
This is what I want to do:
I wish to Bond the two ADSL Lines with a VPN Connection to my Root Server. A Simple Load Balancing wont do it because i need a Single IP for my Applications. I know it is Possible as there are Products out there wich can do this. viprinet as a example.
Here is a rough plan of how it should look:
Plan.PNG
Sorry for my extremly bad English. I would be very grateful for every help i could get.
A Load Balancing where Traffic is balanced between two Public IPs isnt much use for me becaus I need the Upload for Streaming and Remote Control via Teamviewer and Remote Desktop.
I also noticed that uploading my Game Project to Git with Load Balancing only uses one Line. So the Second line is pretty Useless for my.
It looks like your are looking for bonding with a per packet loadblancing. As you would have a lot of packets which arrive out of order it would be bad for the TCP performance.
I suggest to use VPN tunnels as you mentioned. On top of that you can do a ECMP routing or policy based routing.
The WAN1 and WAN2 (wich are the DSL Connections) are bonded to “WAN” with “balance-rr”
I set up two L2TP Connections from the Router to the Server. Named:
“VPN1” (Router IP: 10.0.0.2 / Server IP: 10.0.0.1)
“VPN2” (Router IP: 10.0.1.2 / Server IP: 10.0.1.1)
Over the two VPN Connections, I build the two EoIP Tunnels. “EoIP1” and “EoIP2”
I bond them togheter into “EoIPBond” with the IP 10.0.10.1 on the Router Side and 10.0.10.2 on the Server Side.
My only Problem now is the Routing. I have no clue where to route all this and how.
Your bonding interface is treated as your wan now. You will need to use your server side router for egress. So you should set your default route with the server side IP as your gateway.
Make sure you don’t have defaults on each connection, add in a specific route for each connection → server so that they can still l2tp to it.
Is there a reason you used l2tp? You’re encapsulating twice now which will be even more overhead
I cant use EoIP directly because my Two DSL Lines have Dynamic IPs with IP Changings every 24h.
Is there a way to use a DynDNS Adress? Maybe a Script wich updates the IP after a Reconnect?
Easier? i don’t know, i think the effort you need to put in is the same. My experience with dyndns services is not only good, therefore i choose a solution which does not involve a service i don’t control. anyway updating you tunnel config with a script or api is somehow a dirty hack. but it works.