WAN and VLANS

Gel
Gel Posts: 28  Freshman Member
First Comment Friend Collector Third Anniversary

Hey everyone, how are you? I need some more help. Look, I have two WANs, WAN1 and WAN2, and I also have two VLANs, VLAN40 and VLAN50. VLAN40 goes through WAN1, and VLAN50 goes through WAN2. I'd like to create a rule that when WAN1 goes down, VLAN40 automatically switches to WAN2, and when it comes back up, VLAN40 returns to WAN1. How could I do this?

All Replies

  • PeterUK
    PeterUK Posts: 3,946  Guru Member
    100 Answers 2500 Comments Friend Collector Seventh Anniversary
    edited August 15

    The way it can be done is routing rules with ping check

    so in order
    rule 1
    incoming VLAN40
    next hop WAN1
    ping check to some reliable IP that routed some hops a away.

    rule 2
    incoming VLAN40
    next hop WAN2

    and thats it when ping fails for rule 1 rule 2 takes over and you can do the same for VLAN50

  • Gel
    Gel Posts: 28  Freshman Member
    First Comment Friend Collector Third Anniversary

    Sorry, I'm using the USG FLEX 200. Could you show me with pictures how to do this setup?

  • PeterUK
    PeterUK Posts: 3,946  Guru Member
    100 Answers 2500 Comments Friend Collector Seventh Anniversary
    Screenshot 2025-08-15 192857.png

    the status goes red when ping fail going to the next rule 2 and when ping is back up rule 1 takes over again

    Screenshot 2025-08-15 192725.png

    Screenshot 2025-08-15 192805.png