Hello,
I have multiple VLAN on my homelab and the gateway of each VLAN is an Opnsense interface.
Opnsense is also used for the WAN access (PPPOE)
When there is a problem with my ISP and I loose my internet connexion, I also loose the connexion between my internal VLAN.
Maybe I need to activate this option on internal Interfaces-> "Dynamic gateway policy | This interface does not require an intermediate system to act as a gateway "
But I don't really understand it so I prefer ask before enable that.
Version : 21.1.4
Thanks for your help !
Trevelian.
I'm not alone -> https://forum.opnsense.org/index.php?topic=15299.0
Is this using IPv4 and v4 IP addresses or IPv6 or both?
I can see no reason why v4 should not continue to work, but IPv6 probably would not work if you are using GUA addresses.
I receive IPV4 and IPV6 from my ISP, but I only use IPV4, no IPV6 on the internal network.
I see on firewall logs that I hit the default block rules, Its like all my allow rules are ignored when the WAN connection is down.
Odd.. I have a PPPoE connection and VLANs, when on the odd occasion my WAN goes down I can still ping the IOT VLAN devices from the primary LAN. Want to post some images of your rule setup?
https://trevelian.de/opnsense/lan.png
If you need more, no problem.
It is possible that the problem is related to my usage of "alias" ?
Haven't had any time to look at the rules yet... real work has intervened.
Erm. how many VLANs do you have? You appear to have rules for lots of individual devices. What have you got in floating rules?
I have 11 VLAN and nothing in floating (except automatic generated rules)
https://trevelian.de/opnsense/floating.png
So let's break this down, from the LAN you cannot connect to any of the other VLANs when the PPPoE is down. Pick one device on a VLAN you cannot ping and post the rules for that VLAN, and if it has an alias name, tell us what that is.
I will try again to shutdown the PPPOE this night when my wife goes to sleep to do more test.
But for example I have this rules on my LAN vlan (192.168.1.0/24) :
https://trevelian.de/opnsense/gest1.png
gest is the alias of 192.168.7.20 on my BASTION vlan (192.168.7.0/24):
https://trevelian.de/opnsense/gest2.png
No problem when my internet connection is up, I see in the firewall "Live View" that SSH is accepted to "gest"
When PPPOE is down when I try to ssh to "gest" I see that its block by the default block rules in the "Live View"