I am facing a new problem, and am not really able yet to wrap my head around it.
I am running on a EdgeRouter POE-8.
Current situation is a VDSL connection, connected to eth1.
eth1 receives an IP through DHCP, and peth101, 102, 103 and 104 are connected to eth1, as there are also 4 static IPs on the VDSL connection.
There are a couple of VLANs masquerading to the DHCP address.
And there are 4 VLANs, each masquerading to one of the static IPs.
There are also some portforwards from the DHCP and static IPs going to the various VLANs.
One of them is a site-to-site openvpn coming in from one of our other offices.
We have now ordered an optic fiber connection, which will be connected to eth0.
I am not sure yet if it will be setup in the same way, e.g. the DHCP and static IPs. However, there will be 5 IPs again.
What I would like to achieve is the following: when both connections are active, some of the VLANs should be using/masquerading to the optic fiber connection, whils the other ones are still using/masquerading to the VDSL connection. When the optic fiber connection is down, all should be using/masquerading to the VDSL connection.
I think this should be solved with a fail over setup, and with sticky connections, for the traffic from the port forwards to keep the right IP address.
Could one of you help me to figure this out?