This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Uplink Balancin troubles V2

Hi,

This post will be a bit similar to my first one, but I think it worth making a new one as the problem is different.

I have two ASG220's (failover) on 9.308-1, three internal networks (Guests, Staff and office) and two wan connections(WAN1 and WAN2.

I want one of the internal networks(Guests) to go on WAN1 connection and the two others to go on the WAN2. At this point I don't want any balancing.

So uplink balancing plus multipath interface rules seem to be good.
It works for some time and after a couple of hours all of the traffic from office and staff internal networks are routed to WAN1 for a couple of hours, then back to WAN2 as normal, and back to WAN1 and continuously back and forth.

I don't understand why it does this, and I don't know how to determine what is causing it. I also tried making static routes for each network, but that didn't have any effect.

Any help would be greatly appreciated!


This thread was automatically locked due to age.
  • Probably, a look in the logs would show that WAN2 goes down, causing a failover to WAN1.  What do you want to happen when that occurs?  Read about Monitoring Hosts in the Help for the 'Uplink Balancing' tab in the 'Interfaces' section.

    Cheers - Bob
  • Hi Bob,

    Which log will show the host monitoring?

    This would be the wanted behavior but it should switch back much faster.
    For example yesterday it switched over around 2:40 PM and hasn't switched back at 8 am.

    Now if disable the interface and re enable it, it will go back to normal.

    For testing purposes I now disabled host monitoring i will see how it goes.

    Thanks,

    Kona
  • Kona, you can't disable Uplink Monitoring.  Please do look at the Help and decide what 'Interval' and 'Timeout' you want.

    Cheers - Bob
  • Bob,

    I chose none as the type of monitoring. Doesn't that disable it ?
    Also what logs should i look for? I cant find the one with the uplink monitoring.

    Thanks,

    Kona
  • Check Service Monitor log for loadbalancing events.
  • Thanks vilic,

    So today at around 4am it swaped again, and since I put the monitoring to none the Service Monitoring Deamon log is empty for today.

    Any thoughts ?

    Cheers.
  • Is automatic monitoring checked ?
  • Vilic,

    No, Automatic monitoring is not ticked, and I have no hosts defined.
    Also the switch at the main page for uplink monitoring is off.

    Alternatively, is there a way to do the same thing without uplink balancing ? Just static routes ? I tried but I cant get it to work.

    Also, any other log files you think could give me some info ? 

    Thanks.
  • If you don't want any multipath or switching just simly create your MASQ rules like this:

    Guest -> WAN1
    Staff -> WAN2
    Office -> WAN2

    Don't use "Uplink interfaces" in MASQ and no switching will ever occur (but no failover in case of a WAN problem either).
  • Hi,

    So I have edited my masquerading rules as said and still got a swap
    swap.PNG
    On the screen shot i attached you can clearly see that the traffic from the staff lan between 17:00 and 23:00 was routed to the guest wan 1 which is wrong.
    I have attached my multipath rules and my masq rules.
    masq.PNG
    multipath.PNG

    Any ideas ? Am I missing something here ?

    Thanks