Hi Everyone,
I was able to solve my routing problem.
The routing works correctly from console now, because I implemented 2 rules targetting 8.8.4.4 using GW2 and 8.8.8.8 using GW1 in the FLOATING RULES section.
I hope this will turn over the routing on my multiwan gateways, when a gateway is down.
I have no idea, why I needed to explicitly use those rules. There was nothing like this mentioned in the tutorials.
I was able to solve my routing problem.
The routing works correctly from console now, because I implemented 2 rules targetting 8.8.4.4 using GW2 and 8.8.8.8 using GW1 in the FLOATING RULES section.
I hope this will turn over the routing on my multiwan gateways, when a gateway is down.
I have no idea, why I needed to explicitly use those rules. There was nothing like this mentioned in the tutorials.
Code Select
root@OPNsense:~ # traceroute -n 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 64 hops max, 40 byte packets
1 192.168.1.1 0.750 ms 0.634 ms 0.626 ms
2 62.52.201.190 20.412 ms 20.022 ms 19.727 ms
3 62.53.22.210 19.571 ms 19.121 ms 20.420 ms
4 62.53.16.35 37.534 ms
...
root@OPNsense:~ # traceroute -n 8.8.4.4
traceroute to 8.8.4.4 (8.8.4.4), 64 hops max, 40 byte packets
1 192.168.1.189 4.015 ms 4.623 ms 3.923 ms
2 * * *
3 * * *
4 10.81.7.129 48.249 ms
10.81.7.133 27.875 ms
10.81.7.129 29.837 ms
...
It's still the same routing table:
root@OPNsense:~ # netstat -rn
Routing tables
Internet:
Destination Gateway Flags Netif Expire
default 192.168.1.1 UGS vtnet2
8.8.4.4 192.168.1.189 UGHS vtnet2
8.8.4.4/32 192.168.1.189 UGS vtnet2
8.8.8.8 192.168.1.1 UGHS vtnet2
8.8.8.8/32 192.168.1.1 UGS vtnet2
10.47.0.0/24 link#2 U vtnet1
10.47.0.254 link#2 UHS lo0
10.47.8.0/24 link#1 U vtnet0
10.47.8.1 link#1 UHS lo0
127.0.0.1 link#5 UH lo0
192.168.1.0/24 link#3 U vtnet2
192.168.1.1 52:54:00:61:c1:13 UHS vtnet2
192.168.1.254 link#3 UHS lo0