Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Having trouble with EdgeOS Loadbalancing

Hey LTT!

I'm trying to set my EdgeRouter X to segregate my network to the following:

I have two WAN's: a 25 Mbps DHCP connection and a 1.5 Mbps PPPoE connection (I know it's really old, we're in the middle of nowhere)

We're trying to set the router up so that all devices on it get the slower connection other than a few 'promoted' devices which get both the 25 and 1.5 lines with load balancing (25 has only 1.5 Mbps upload and 1.5 has 0.5 upload so we're trying to obtain more overall upload bandwidth), with failovers when one connection fails.

Currently I have the following settings:

firewall {
  group {
    address-group {
      GOD_TIER {
        ~~promoted IP's here~~
      }
    }

  modify {
    balance {
      rule {
        10 {
          destination {
          	network-group = PRIVATE_NETS
          }
          modify {
          	table = main
          }
        }

        20 {
          destination {
          	address-group = ADDRv4_eth0
          }
          modify {
          	table = main
          }
        }

        30 {
          destination {
          	address-group = ADDRv4_pppoe1
          }
          modify {
          	table = main
          }
        }

        41 {
          destination {
          	address-group = GOD_TIER
          }
          modify {
          	lb-group = G
          }
        }

        42 {
          destination {
          	address-group = PRIVATE_NETS
          }
          modify {
          	lb-group = B
          }
        }

        50 {
          modify {
          	table = main
          }
        }
      }
    }
  }
}

interfaces {
  switch {
    switch0 {
      firewall {
        in {
          modify = balance
        }
      }
    }
  }
}

load-balance {
  group {
  	G {
      interface {
      
      	pppoe1
        eth0
        
      }
    B {
      interface {

        pppoe1

      }
    }
  }
}

Plus other defaults from the load-balancing 1 wizard

 

What I expect to happen is that when one device is removed from the GOD_TIER list it only gets internet access from pppoe1 but what actually happens is that no matter whether a device is added to the GOD_TIER or not it uses the G load-balance group. If I remove eth0 from that group then the entire network is restricted to only pppoe1. Does anyone have any suggestions? Thx!

Big gaming much youtube video making

 

i7 4790k @ 4.8 GHz -- Corsair H100i   |   2x8 HyperX fury + 2x4 another HyperX = 24 Gb: very cursed I know

EVGA GTX 980 with very boring   |   1 TB Rocket Q + 8 TB spinning metal and a 1 TB server out of garbage

Define R4 + tape to plug up holes   |   1,000 EVGA Supernova   |   Maximus 7 (VII) Hero   |   still have an optical drive

 

Quickfire TK and OG g502, the mouse I simp for

I dual-boot Ubuntu and Windows with a history of dual-booting Manjaro. not cool enough to use arch btw

 

Surface Pro 4 and iPhone X (not a sheep I swear)

 

Find me at https://www.youtube.com/channel/UCM2eCQho7OrnnIRDDcHjWWQ

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×