Download files issue when enable Netbalancer

Home Page Forums Network Management ZeroShell Download files issue when enable Netbalancer

This topic contains 2 replies, has 0 voices, and was last updated by  hminkoong 9 years, 7 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #41906

    hminkoong
    Member

    Dear Guys

    I have a problem and need your help.
    I just noticed that whenever i turned on Netbalancer , i faced a download file problem.


    My Scenario (For example):
    My zeroshell has 2 physical interfaces
    One interface (ETH00) connect to LAN and another (ETH01) connect to internet .

    For Load Balance purpose:

    1st
    I added ip alias to ETH01 so that ETH01 has 2 ip address i.e.
    ETH01:00 = 192.168.7.38/24
    ETH01:01 = 192.168.8.38/24

    2nd
    I connected ETH01 to two Gateways (ADSL Router) via switching hub.
    GW1 = 192.168.7.1/24
    GW2 = 192.168.8.10/24

    Please see image below for network diagram

    Then i configured Zeroshell to use Netbalancer (Load balance and failover)
    to these two GW.


    The problem is that whenever i enabled Netbalancer on these two GW ,
    i couldn’t successfull download a file . When i started download ,i could
    download only few minutes and then dead. However if i used only one
    GW, i could download successfull everytime.

    * I’m quite sure that the problem caused by the outside servers confused
    about the ip address (GW1 or GW2) that connect to them i.e.
    When i started download the file , Zeroshell used GW1 connect to the outside
    server however after few minutes Zeroshell used GW2 connect to the
    server. *

    *Are there any solutions to lock state i.e. force Zeroshell to use only one
    GW (either GW1 or GW2 ) until download complete *

    Thanks in advance

    Best Regards
    Hminkoong

    #48725

    giancagianca
    Member

    If you set weight to 99 you can minized this problem.

    Bye.

    #48726

    ppalias
    Member

    There is already a discussion about this problem in the forum.
    A quick resolution would be to apply netbalancing rules according to the source IP. For example if the source is coming from ETH00 and is 192.168.75.0/25 use GW1 otherwise if it is 192.168.75.128/25 use GW2.

    #48727

    hminkoong
    Member

    Thank you so much for your advice

    Best Regards
    Hminkoong

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.