I'm not sure if it possible what I'm trying to get done with my routerboard 450g. I try to explain it as well as I can and maybe some of you get what I'm trying to do and hopefully you guys can help me.
So I have two (2) internet connections via different ISPs. Other one is cable with one dynamic IP provided via DHCP. The other one is ADSL which have static IPv6 and IPv4 blocks.
List of IP addresses assigned to devices and interfaces:
routerboard wan1: 18.104.22.168/30 default gateway 22.214.171.124
routerboard wan1: 2001:dead:beef:a:b:c::2 default gateway 2001:dead:beef:a:b:c::1
routerboard wan2: given by dhcp
routerboard lan: 100.100.100.102/29
routerboard lan: 192.168.0.1/24
routerboard lan: 2001:beef:dead:a::1/64
server eth0: 100.100.100.97/29 default gateway 100.100.100.102
server eth0: 2001:beef:dead:a::2/64 default gateway 2001:beef:dead:a::1
server eth0: 192.168.0.2
desktop eth0: 192.168.0.10/24 default gateway 192.168.0.1
desktop eth0: 2001:beef:dead:a::3/64 default gateway 2001:beef:dead:a::1
I'd like to server use always ISP1 as it has static IP addresses.
I'd like to desktop primarily use ISP2 as NATed and if ISP2 goes down then ISP1. And as I currently doesn't have IPv6 from ISP2 the IPv6 communication has to be always done via ISP1.
I'd imagine that this would require multiple routing tables and routing marking but I think that I'm having some sort of brain lock with this now.
Any suggestions and improvements to my network are appreciated.