› Forums › Network Management › ZeroShell › Net Balancer speed test problem
- This topic is empty.
-
AuthorPosts
-
February 28, 2012 at 4:38 pm #43291
novaside
MemberHi,
I have 8mb adsl and I have 10 mb cablenet. Since Sunday I’am using zeroshell. Sometimes I see the sum of these two lines sometimes I can not see ( for example I saw 30 mins. ago 17 mb but I saw 10 mins ago 7 mb. I use the speedtest.com )
Any problem or is that normal?
Many thanx
February 28, 2012 at 5:36 pm #52220atheling
MemberNot sure if you are using my net balancing and QoS patch or not but… I would expect your speed test to match the data rate of one of your interfaces, not the sum of all of them.
Internet traffic is between specific IP addresses. And TCP connections over IP require fixed end points. The end result is that once your router, Zeroshell in this case, picks an interface to use for the speed test it should send all the traffic for that connection by that interface. So net balancing only balances connections between interfaces. It does not and cannot balance data between interfaces except in the roughest possible way. Net balancing will help you if you have multiple TCP connections going to many different destinations, but not multiple TCP connections going to the same destination.
Further, if you are using my patch or a non-Zeroshell router, connections can be “sticky”. That is if a connection to server A used interface 1, the subsequent connections to server A will use that same interface. You need this so that sites that use HTTPS will work.
If you wish to aggregate multiple interfaces in a way that will balance the data rates on multiple links then you will need to look into “bonding” rather than “net balancing”. This allows one IP address to be shared among multiple Ethernet adaptors. Bonding only works on interfaces that look like Ethernet adaptors to the Linux operating system. And bonding takes set up on both ends so you will need a service provider or other entity on the other side to set up a compatible configuration for you.
You can make your two different ISP connections look like Ethernet interfaces by setting up VPNs on each interface to an appropriately configured service provider (the VPN software simulates an Ethernet interface to Linux) and then bond the multiple VPN interfaces into one logical Ethernet interface to be used for actual traffic.
So to make bonding work you will need a server some place on the Internet that you can route all your traffic through. And that server will need to be set up to allow you multiple VPN connections and then bond those VPN connections into one logical Ethernet interface. Needless to say most people don’t have a way to do this. I’ve only really seen this done for setting up remote office access to headquarters. This works because you have one IT department that is responsible for setting up both ends of each link and who can dedicate appropriate equipment to the service.
February 28, 2012 at 8:58 pm #52221novaside
MemberAthelink thank you. But our problem is different and interesting. We tested 2 day zeroshell.
Topology
Eth0= 192.168.1.15
Eth1= 192.168.0.254 cablenet 10 mbit
Eth2= 192.168.2.254 ADSL 8 mbitNet balancer module
Cable= 192.168.0.1 weight=1 active
ADSL= 192.168.2.1 weight=1 activeNat= eth0,eth1,eth2
Without no user use internet AND we tested the speed. Sometimes the result of these speed test result we have sum two line (18 mbit), sometimes we can see single line bandwidth. (10 or 8)
When we see that 10 or 8 lines works we actually see that other line work. What is our problem? Why we could not see everytime that these 2 lines sum work ( 18 mbit)
February 29, 2012 at 10:25 am #52222dpbeaton
MemberHi
we have a slightly different issue – and are using a client / server model to connect a regional office to a data centre (over 3g)
Our bandwidth drops when we try and use Netbalancer – to bond / aggregate – should we be using Net balancer at both ends?
Thanks
David
February 29, 2012 at 4:18 pm #52223atheling
Member@dpbeaton wrote:
Hi
we have a slightly different issue – and are using a client / server model to connect a regional office to a data centre (over 3g)
Our bandwidth drops when we try and use Netbalancer – to bond / aggregate – should we be using Net balancer at both ends?
Thanks
David
In your situation I’d look into setting up multiple VPNs, one on each link, between your regional office and the data center. And then use bonding, not net balancing, to create one virtual link between the office and the data center. I haven’t used bonding on Zeroshell but in a previous life I used it between a Linux based storage device and some servers. If I recall correctly there are a number of bonding options including some designed for load balancing.
-
AuthorPosts
- You must be logged in to reply to this topic.