Fail over without NAT
So someone said about this for a switch and I said there is no WAN fail over but then something happened to me my ISP went down I had a backup but this did not work due to my PC getting the WAN over a USG bridge and when the internet went down ARP to the WAN gateway still happened so that the NIC still used the my main connection so to get it working I block ARP which the PC then failed over. And that got me thinking for this idea.
With a managed switch it has a IP and gateway behind NAT mainly for NTP but what if you put a ping check to check say 1.1.1.1 then when ping fails you block ARP on given ports which the PC will then fail over.
What you think?
Here is a example of how it would work setup
Ping check from 192.168.255.245 to 1.1.1.1 out port 14 to LAN1 on USG SNAT out OPT to port 28 out port 27 to port 5 out port 8 internet
PC in port 21 out port 22 to DMZ bridge out WAN to port 1 out port 8 for internet.
When ping to 1.1.1.1 fail ports 21 and 22 block ARP then PC on another NIC to 4G for backup internet.
All Replies
-
Hi @PeterUK,
I think "ping check" is a gateway/firewall function. Why not add another gateway/firewall in this scenario?
Zyxel Melen0 -
If you read the scenario it will not work the idea is to block ARP on given ports of the switch when ping check fails in order for the device to fail over.
0 -
Hi @PeterUK,
Thanks for sharing your idea. However, the ping check function is more common on routers/firewalls. Or you can write a script to do a ping check and do a failover on the PC.
We will monitor the reply and vote in your idea post to check if other users also need this function.
Zyxel Melen0 -
If done right I think it be useful for some.
A script to do a ping check and do a failover on the PC is a good idea but after thinking about it it might not work the way I hope the problem with ping check on routers/firewalls is this will not work for a bridge that the PC goes through
0 -
Just showing how it could be implemented
0 -
Hi @PeterUK,
Failover is more common on layer 3 devices. I want to share that our XS3800 has failover features like route failover (a new feature on 4.80 firmware) and VRRP. You can consider it.
Zyxel Melen0 -
But picture the problem this solves your PC gets a WAN IP you ARP to the gateway the internet goes down but ARP to the gateway is up the PC has no way of knowing internet is down use a USG as a bridge firewall for the PC to go through have no way of re-routing or fail over of the bridge so need the ARP to the gateway needs to fail which is layer 2 for the PC to fail over on another NIC
0 -
Hi @PeterUK,
After conducting a local lab test, I discovered that the PC automatically switches to a different adapter when the Internet connection through the firewall is disconnected. Can you please confirm if your PC exhibits a similar behavior? If so, there is no need to configure your switch or firewall.
Zyxel Melen0 -
Windows 11 does not switch to a different adapter IF ARP to the gateway is good
NIC with WAN IP ARP to WAN gateway is fine but no internet
NIC with backup only gets used if NIC above ARP fails
0
Categories
- All Categories
- 415 Beta Program
- 2.4K Nebula
- 147 Nebula Ideas
- 96 Nebula Status and Incidents
- 5.7K Security
- 262 USG FLEX H Series
- 271 Security Ideas
- 1.4K Switch
- 74 Switch Ideas
- 1.1K Wireless
- 40 Wireless Ideas
- 6.4K Consumer Product
- 249 Service & License
- 387 News and Release
- 84 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.5K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 73 Security Highlight