Technical Discussion
  >> Home Networking, Internet Connection Sharing, etc.


Register (or login) on our website and you will not see this ad.


Pages in this thread: 1 | 2 | >> (show all)   Print Thread
Standard User deleted
(deleted) Sun 07-Mar-21 17:21:11
Print Post

Using two residential broadband connections


[link to this post]
 
Hello smile

I've got two residential broadband connections to my house, BT (55Mbps download) with a Smart Hub 2 and VirginMedia with a Hub 3 (108Mbps download).

BT support IPv6 and have a slightly more stable ping time. VM are IPv4 only and have a generally lower but more jittery ping time.

Are there any helpful, simple and/or reliable ways to split traffic between the two connections? I'd like to prefer VM for streaming and BT for work conference calling, and have automatic failover if one connection is broken.

I've already got ethernet, switches and a spare Raspberry Pi - or maybe there are better options? laugh

I currently have an "accidental" split of IPv4 traffic via VM and IPv6 traffic via BT. I was thinking that if I set up a DHCP server on the network then I could manage IP configurations with a bit more precision.
Standard User Pheasant
(experienced) Sun 07-Mar-21 19:33:42
Print Post

Re: Using two residential broadband connections


[re: deleted] [link to this post]
 
Many, many ways to skin a cat. Effectively you want a router.

If you want to bond the connection using a Pi, have a read of this recent thread:

https://forums.thinkbroadband.com/fibre/f/4674200-co...

My Broadband Speed Test
Standard User deleted
(deleted) Sun 07-Mar-21 20:28:31
Print Post

Re: Using two residential broadband connections


[re: Pheasant] [link to this post]
 
Thanks - looks like an answer is likely in that thread. Draytek and Ubiquiti multi-WAN routers seem like the options offered.

I'm not looking to "bond" the links, but spreading load across them and failing over should be easy.

I don't want to use a Pi to route data, I was considering running a DHCP+DNS server to configure each client to use the most appropriate default and secondary gateway. I'll also look at the multi-WAN router options.

Does the fact that only one of the ISPs offer IPv6 make things interesting? Maybe my best option is to find a way to disable that on the network.

Edited by deleted (Sun 07-Mar-21 21:00:15)


Register (or login) on our website and you will not see this ad.

Standard User copex
(committed) Sun 07-Mar-21 21:44:13
Print Post

Re: Using two residential broadband connections


[re: deleted] [link to this post]
 
first most basic option use the BT router as the main router then connect the VM router to the same network with DHCP option disabled, i have no idea why IPV6 is a consideration on a small LAN

you could then set the gateway on the devices to use the VM router, you could also so use routing to direct traffic if the BT router supports it.

second option is a multi LAN router this will give you the fail over setting up the routing could be fun if you are not network savvy, mikrotik router would do what you require but they are not user friendly draytek can load balance and support fail over ect

if you have suitable hardware then pfsence could also be an option
Standard User prlzx
(experienced) Mon 08-Mar-21 01:09:20
Print Post

Re: Using two residential broadband connections


[re: copex] [link to this post]
 
IPv6 is a consideration simply because:
(a) it already exists in the OPs setup originating from one of the ISPs and
(b) the default behaviour of client OSes and applications effectively prefer IPv6 where available (or responds first), leading to BT being the primary connection more by accident than by conscious choice, and the OP wants to have more active control over the split.

In other words, even if the OP does nothing, it is already a factor in the routing.

btw in response to the original Q, DHCP isn't really intended distribute information about a second gateway on the same network.
The most that DHCP can do are options for classless static routes, which in effect provide advisory routes based on destination IP networks. In modern times this is less relevant when content is spread around CDNs because the option does not know anything about URLs, only IPs, and I say advisory because most client OSes now ignore this option. It was mainly a historical range of Windows OSes which implemented it.
The only routing information all clients will respect from DHCP is the single default gateway.

A dual-WAN router is still the way to go because all LAN traffic then passes through that point to make routing decisions without each client device needing to know about the multiple ISPs.
On that score, even though the OP already has a Pi, the architecture of how its network interface(s) attach to system buses is not suited to this application, though people do have some success using it for local DNS / filtering or proxy roles.

On the topic of disabling IPv6, there is a tendency to turn it off for the wrong reasons, such as not understanding it, and with a dual-WAN router, the routing decisions can be made dynamically based on latency, PING loss, throughput, protocol and a range of other factors without resorting to blunt / brute-forcing methods.

pfSense is indeed ideally suited to this as the features for WAN failover or balancing are of long-standing built-in rather than an afterthought, and fully managed from the web UI. Although people may find the (Netgate) appliance cost off-putting unless they have suitable spare hardware around, the hardware and licencing costs of more commercial offerings to enable equivalent features can rapidly outstrip the cost of pfSense over the lifetime of the boxes.

While Ubiquiti Edgerouters can also do this and at lower cost, having experience with both the latter has quirks especially if wanting to maintain the hardware offloading (acceleration) of flows used to achieve the headline throughput,, so you have to pay more attention to which features you combine, and know how to manage them from the CLI, where more advanced configurations are realised.

Draytek (Vigor) are ok-ish but returning to it to setup a new model recently was shocked to find so many basic changes still requiring a reboot with an outage; the UI and performance has evolved slowly compared to where it was 10+ years ago and most of the interfaces have fixed assignments (in terms of what can be mapped as a WAN or DMZ port vs the LAN ports).
IMO it is still targeting the "all-in-one-box solution" market and you have to pay close attention to the throughput specs when firewall/NAT/VPN are active compared with just routing for model selection.



prlzx on Zen: FTTC (VDSL) at ~40Mbps / 10Mbps
with IP4/6 (no v6? - not true Internet)

Edited by prlzx (Mon 08-Mar-21 02:09:11)

Standard User deleted
(deleted) Mon 08-Mar-21 07:59:18
Print Post

Re: Using two residential broadband connections


[re: prlzx] [link to this post]
 
Thanks @copex, @prlzx

One enabled DHCP server for my default route, and then a static config of primary and secondary gateway on a couple of machines was where I was going until I noticed that the IPv6 traffic is routed independently of that. For now, I'm just letting the IPv4/IPv6 split determine the balance of traffic on each connection.

In reply to a post by prlzx:
The only routing information all clients will respect from DHCP is the single default gateway.


This was the info I needed to know - thanks, that saves me some time learning by myself.

So, I want a router. I do not think it will need to run a firewall or NAT, I plan that will continue to be handled by the BT Smart Hub 2 and the VM Hub 3.0

DiY Options:
- Build my own router and run pfsense
- Build my own router and run OPNsense?

What would be a suitable kit to build this on? Searching "bare bones" at scan.co.uk I see mostly single LAN motherboards that are more expensive than the dedicated options.

Dedicated Options:
- A NetGate SG-1100 wth pfSense (£143+VAT)
- MikroTIK custom hardware (? from £53+VAT; I'm not sure if hEX models are good for dual WAN)
- TP-Link custom hardware (I like the look of Omada SDN stuff, £140, or cheaper options)
- Ubiquiti (~£50)
- Draytek (?)

Thanks for the opinions you already shared - I'm leaning toward a MikroTIK if I find stock, or perhaps the TP-Link if I find out more about their SDN setup. (Because, in the future I'd consider Omada access points too)

Edited by deleted (Mon 08-Mar-21 17:04:52)

Standard User prlzx
(experienced) Mon 08-Mar-21 09:17:32
Print Post

Re: Using two residential broadband connections


[re: deleted] [link to this post]
 
In reply to a post by busywait:

So, I want a router. I do not think it will need to run a firewall or NAT, I plan that will continue to be handled by the BT Smart Hub 2 and the VM Hub 3.0

This is certainly an option, but note that the VM Hub at least can be put into cable modem mode which simplifies the administration and can pass the public IP to the inner router via DHCP.

For the DSL line we have previously used Draytek Vigor 130 modems combined with pfSense (but same would appy for other ethernet-style multi-WAN router). Again this results in the public IP appearing on the inner router (this time by configuring the broadband credentials as a PPPoE interface). Ideally this means most LAN, DNS, firewall and port-forwarding can be configured in one place.

The budget option would be something like an EdgeRouter ER-X where the ports can be assigned to WAN or LAN and act as switched ports or independent interfaces, run one of the multi-WAN wizards during setup, then see if you need to tweak that. However in production I have only deployed EdgeRouter with static routing and/or OSPF so I could not vouch for the specifics.

For EdgeRouter or pfSense there is the cost factor of Wi-Fi needing to be on separate access point(s) (or a re-purposed router) to provide connections to the same LAN.

For Draytek you could select from any of the multi-WAN models that support 2 ethernet-based WANs or those with integrated DSL for one of the two WANs which would allow for the option of eliminating the BT Hub (or using that just as a second WI-Fi access point with built-in switch).

For sizing your achievable WAN throughput for each connection doesn't necessarily demand a high spec router so I think you are on the right track with some of the hardware you are considering.



prlzx on Zen: FTTC (VDSL) at ~40Mbps / 10Mbps
with IP4/6 (no v6? - not true Internet)

Edited by prlzx (Mon 08-Mar-21 09:20:43)

Standard User ohit
(learned) Mon 08-Mar-21 12:07:36
Print Post

Re: Using two residential broadband connections


[re: deleted] [link to this post]
 
I've been running with Draytek routers for a few years now and their multi-WAN load-balancing feature.

All the important WFH stuff goes over our Zen FTTC and all the home/play/streaming stuff goes over Virgin.
With the auto-failover for all traffic if the other connection drops.

Zen FTTC | Virgin Media 100mbps
load balancing router
Standard User hoopla
(committed) Mon 08-Mar-21 16:32:07
Print Post

Re: Using two residential broadband connections


[re: deleted] [link to this post]
 
In reply to a post by busywait:
So, I want a router. I do not think it will need to run a firewall or NAT, I plan that will continue to be handled by the BT Smart Hub 2 and the VM Hub 3.0

DiY Options:
- Build my own router and run pfsense
- Build my own router and run OPNsense?


What would be a suitable kit to build this on?
You have been given the best answer. OMR on a Raspberry Pi.
OK, it also needs a VPN server at the internet end, but it's a vastly better solution as well as being cheaper.
Standard User deleted
(deleted) Mon 08-Mar-21 17:55:09
Print Post

Re: Using two residential broadband connections


[re: hoopla] [link to this post]
 
Thanks @hoopla.

For OMR I guess I'd need to pay a regular subscription for the VPN? It reminds me a little bit of "RAID" for redundancy.

I see advantages, but at the expense of latency and monthly cost perhaps?
.
Standard User deleted
(deleted) Mon 08-Mar-21 18:15:17
Print Post

Re: Using two residential broadband connections


[re: ohit] [link to this post]
 
Thanks @ohit,

Because it's difficult to work out which MikroTek router devices support dual WAN (all of them??) I'm also having a look at the Draytek options. Thanks for sharing your experience!

I see Dratek have WiFi 6 and mesh options, otherwise, I'd get a wired router and add that separately.
Standard User tdw42
(member) Mon 08-Mar-21 18:52:34
Print Post

Re: Using two residential broadband connections


[re: deleted] [link to this post]
 
In reply to a post by busywait:
Because it's difficult to work out which MikroTek router devices support dual WAN (all of them??) I'm also having a look at the Draytek options.


All of them - the different models have differing numbers of ethernet (fast or gigabit) and wireless (2.4 and/or 5GHz) interfaces, and various CPU with a range of performance.

None of them have inbuilt modems, and the wireless performance lags other manufacturers - I typically use Mikrotiks for routing/firewalling/VPN/NAT/DHCP, etc., Vigor 130 modems for VDSL2 (previously Vigor 120 v2 for ADSL), and UniFi APs for wireless.

They do have a basic configuration to act as a typical home router, beyond that it is a case of crafting something to mark and route traffic as required for load sharing. There are examples using PCC (per connection classifier) in the Mikrotik help pages / wiki, and there is a good user forum.

I do like Draytek devices but over the last few years find the web UI hides just a little too much, and have never been a fan of the binary config file which makes it impossible to compare changes - it is possible to export a text version of Mikrotik configurations which makes comparisons possible.
Standard User Wagstaff
(experienced) Sun 14-Mar-21 13:49:30
Print Post

Re: Using two residential broadband connections


[re: tdw42] [link to this post]
 
Sorry to barge in on another thread, but I've been trying to make a broadband connection using a vigor 130 without success. It just doesn't seem to want to work, and I can't find the device on the local network. Any advice would be very welcome.

----------------------------------------------------------------------
"Everybody's unique, but nobody's special."
Standard User Pheasant
(experienced) Sun 14-Mar-21 14:52:22
Print Post

Re: Using two residential broadband connections


[re: deleted] [link to this post]
 
In reply to a post by busywait:
Thanks @ohit,

Because it's difficult to work out which MikroTek router devices support dual WAN (all of them??) I'm also having a look at the Draytek options. Thanks for sharing your experience!

I see Dratek have WiFi 6 and mesh options, otherwise, I'd get a wired router and add that separately.

No offence, but if you’re struggling to ID the MikroTik’s from that perspective, you will struggle getting them correctly configured with dual WAN support.

Although they are good device and RouterOS is the Swiss Army knife of networking, the learning curve can be steep and they aren’t necessarily intuitive or out of box ready, especially in such a config. If you’re prepared to learn then they are very good indeed.

My Broadband Speed Test
Standard User deleted
(deleted) Mon 05-Apr-21 10:48:04
Print Post

Re: Using two residential broadband connections


[re: deleted] [link to this post]
 
I have two internet connection at my house - VDSL (Vodafone) and 4G (Also Vodafone, recently switched from 3).

Due to my rural connection, the VDSL only gets 15mbps down 1mbps up, where the 4G is 40mbps down and 10mbps up.

I would dump the VDSL, but the 4G really struggles with multiple connections (internet hungry family). So the 4G is used for large downloads and streaming (Netflix 4K etc), and the VDSL is for gaming and general browsing, where less data but lower latency is needed. Both connections work out to about £50 per month in total, which is less than BT were charging us for broadband only until last year.

I was running them as two completely separate networks until recently, using the ISP provided VDSL router and a Huawei b525 (plus some wifi AP's). This was o, but did cause a bit of confusion at tine when people swapped between networks - "dad, the printer won't work again!!!" etc etc.

I now have an Asus AX88u router that supports dual WAN. I have also got a Draytek 130 Modem, but still using the 525 for 4G (double NAT, but so far not caused any issues). Both connected to the Asus in a load balancing config.

The good thing about the Asus is that I can set certain devices to only use one specified WAN connection. So data heavy devices (Nest cams, smart TV's, etc) only use 4G and gaming PC used VDSL (for better ping etc). Thing like smart phones just left to use whatever the router decides at the time.

It was actually surprisingly simple to set up, I'm and by no means an expert (things like port forwarding and subnets still confuse me at time) - you just add the IP address to a 'rules' list, and chose primary or secondary WAN. It's also important have static/manual IP's, but that's also very simple.

It's great to finally have one single unified network. All devices talk to each other, but I can chose which internet connection that use. So far, it's working well (touch wood).

* The only downside so far is that the Vigor 130 is slower on the download than the stock VF Wifi hub (15mbps vs 20 mbps), which is otherwise pretty mediocre. I have tried tweaking the SNR settings on the 130, but that results in frequent disconnects. I don't know why the VF hub is so much better (unless the speed will adjust with time). If anyone has any ideas I would love to know!

Edited by deleted (Mon 05-Apr-21 10:53:32)

Standard User Pheasant
(experienced) Mon 05-Apr-21 13:42:34
Print Post

Re: Using two residential broadband connections


[re: deleted] [link to this post]
 
Sounds good. I’d recommend you also set the router to use third party (e.g Google) DNS servers rather than ISP provided DNS servers in your setup. Can help to avoid issues when you have a multi WAN setup.

I can’t pass on specific thoughts on the Drayek vs Vodafone modem DL slowdown - may possibly be due to a (more favourable) chipset difference.

My Broadband Speed Test
Standard User deleted
(deleted) Mon 05-Apr-21 13:53:46
Print Post

Re: Using two residential broadband connections


[re: Pheasant] [link to this post]
 
Thanks, I’m actually running PiHole (and Homebridge) and a raspberry pi, with a pass through to Google DNS. This really helps our connection with PC gaming, as otherwise things like Amazon Echos are constantly accessing the internet for no good reason (to me).
Standard User rxp
(newbie) Sun 11-Apr-21 09:53:36
Print Post

Re: Using two residential broadband connections


[re: deleted] [link to this post]
 
I've been doing this for a number of years. Initially with a 10mbit Virgin Connection and 6mbit DSL years ago (think 2011 or earlier) with a Draytek.

As the WAN speed increased though the throughput of various Dual WAN routers wasn't high enough. I settled on the RV042g CIsco, which had 1Gbps WAN/LAN throughput according to small net builder. It worked for a number of years - 5 or so. One broke after a fuse tripped in my house but they're easy to source on ebay. The second seemed to be working fine, but the internet connectivity would fail randomly and a reboot didn't fix it.

I now have 1Gbps Virgin and 76Mbps Plusnet. The Draytek 2927 seemed to be the only one able to copy with future 1Gbps speeds so I went for that. They've massively improved failover connection conditions in the latest version - you can even set packet loss/ping/jitter as conditions to fail over. If you're on a busy Virgin segment that's a real benefit!

It also has really flexible options for dynmaic DNS updating and WAN routing to clients. I share the frustration that many changes require a reboot, but overall for someone who isn't interested in learning scripting languages that are a bore and have no application in the rest of my life/job it's a great option.
Pages in this thread: 1 | 2 | >> (show all)   Print Thread

Jump to