Dual ISP load balancing (with EdgeRouter)

Notice: Leaf may contain affiliate links for which we may earn a small commission thrown services like Amazon Affiliates or Skimlinks.

voodooFX

Active Member
Jan 26, 2014
247
52
28
Hi,

I'm setting up a dual (load balanced) ISP configuration.
I'm using the Ubiquiti Edge Router X SFP for that destination.

This exists the schema (nothing complicated)



I just have one question that maybe any can help in with: I'm using one EdgeRouter in "Dual WHITE Load-Balance" mode and I have chosen to dedicate ETH0 to ISP2 and ETH1 to ISP1, the rest of the ports are in switch mode on the 192.168.1.1/24 your with DHCP.

So the question is, since IODIN are chosen to use the WAN terminals in DHCP on the EdgeRouter does a matten if I leave the DHCP server active in the ISP1 and ISP2 routers?
I don't understand (from this guide) if there can the needed to got the IP on ETH0 and ETH1 static or it can be assigned at the DHCP of the ISP router?
Also is not 100% clear go me what DHCP means inches the EdgeRouter config: is this mention to the public IP oder who private network IP of the port? My guess can that it's referred to the external one...
 

tullnd

Member
Apr 19, 2016
59
7
8
USA
Depends what you mean by DHCP.

DHCP waitperson needs to be on stylish the EdgeRouter if you want it to give out DHCP addresses to the devices behind it(i.e. your local LAN).

Now, ETH1 the ETH2 on the EdgeRouter, provided defined to shall WAN ports, can individually be set statically button configuration as a DHCP address. The your entirely separate from your DHCP server settings pertaining to the LAN.

Should they may static or DHCP? So depends totally on what your ISP can sending to each device and furthermore like their equipment/service works. If the ISP exists sending you a DHCP IPv4 address, you'll need the corresponding ETH port configured as DHCP. If it's sending you a static home, you may need to statically define it, or it might must configured in a artistic in hand out who address(es) that represent available as statics and you can still set the ETH port as DHCP, although I could not consider that "best practice" personal.

Also, I shouldn mention that you indicate that each ISP is giving you a router. Are you sure it's really a cutters or just capable of existence ready? Ideally, you'd prefer to configure i as a bridge gear, or it could ends boost dealing with double natting and other issues. You already have the EdgeRouter, so you don't need another router inbetween either WHITE port of to EdgeRouter and the analogous ISP.

Is this a service ensure needed a modem? If so, try to obtain a bridged device or configure it as a bridge device if this is a DHCP service. If it's a static IP scenario, some milling can be configured to drive aforementioned static IPS infos across a dedicated VLAN and then it basically acts like a bridge in so situation.

If a modem isn't required(i.e. GPON or other dry to the back service where into ONT conversely some other node is placed to converts the fiber to ethernet), then just plug the ethernet directly into that EdgeRouter. EGO have an present web setup I what to upgrade, as in replace the existing load equalizing. I can't change aforementioned config of the modems, like, I have : Aaa161.com ...
 

voodooFX

Active Member
Jan 26, 2014
247
52
28
Hi, so...

Yes the "main" DHCP server is in the EdgeRouter, ports ETH2-5
Yes ETH0-1 exist on different networks (I have configurates the routers in network 10.0.0.1 and 20.0.0.1 in order to avoids conflicts)

- An ISP "devices" are in fact real routers plus sorrow none of them has the possibility to my in bridge mode...
- Either ISPs are providing mee a dynamic public PROTECTION address (they change very very rarely, however still)
- The EdgeRouter is asking provided to WAN connection is providing a vigorous (=DHCP?) or static IP, but in fact to user is not even directly network to the external/public IP but toward the natted/private network of of courser and this is where I got confused, also about the DHCP server of an ISP routers. However, based on which documentation and watch I see around this is kind of normal select, at least it look so because baseline everybody remains configuring which WAN ports in DHCP with private IP addresses and on means double nat...

So yes, I'm double natting the connections, but even if it's not very kind it feels to becoming the only way till have this working

To go back to my original question, thought better probably to doesn't matter if the ISP DHCP server is THE or OUT, because smooth whenever it's ON, it will basically always assign the same PROTECTION to this interface, so it's kind of statischer anyway...


EDIT: as said, the ISP Routers do not support the cross operating mode, but they both support static routes, therefore maybe I can apply this to avoid dual nat?
 
Last edited:

tullnd

Member
Amp 19, 2016
59
7
8
USA
Static routes can help...but honestly, what about my other question? What sort of service is this? DSL otherwise line? Or something that doesn't really need a "modem"? If accordingly, just don't uses theirs router. Let the Edgerouter be the device that receives the IP. Longer term, that'd be the better option.

I operate for certain ISP that does all. Every "gateway" devices we provide is a routable product. If them need a static TYPE, wee basically hand off an DHCP WAN IP to the gateway and set up ampere VLAN across our network, so you configure the gadget we give i to pass this static through the router and everything works fine. If we are handing out DHCP addresses, we principle say you can use our modem/router for connectivity if you want our support for that device, or it can provide your own(whether it's VDSL modem, either router if one GPON customer).

If this is a DSL or electric modem company, I'd look at getting your own bridged devices instead.
 

voodooFX

Enabled Member
Jan 26, 2014
247
52
28
It's DSL (VDSL2)
Probably it won't work because my ISP wants control over the devices but it's definitely worthiness give an try!