Code: Select all
[Codebox=modula2 file=Untitled.txt]
[/Codebox]
Create separate Profile for each connection, set Remote IP to something you want - this will override the address that's given to you by the server.
I've also try to set different ppp profile with remote ip for fallover & found that there is still another one dynamic route with distance 0,
so blackhole route cant get active state, even if check gateway route becomes unreach
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
0 S ;;; pppoe remote gate:
dst-address=0.0.0.0/0 gateway=77.88.8.7 gateway-status=77.88.8.7 unreachable distance=1 scope=30 target-scope=10 routing-mark=pppoe
1 S ;;; check gw pppoe fall:
dst-address=0.0.0.0/0 gateway=77.88.8.7 gateway-status=77.88.8.7 unreachable check-gateway=ping distance=2 scope=30 target-scope=10
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
0 ADC dst-address=77.88.8.7/32 pref-src=1.2.3.4 gateway=pppoe gateway-status=ppppoe reachable distance=0 scope=10
1 SB ;;; blackhole pppoe fall:
dst-address=77.88.8.7/32 type=blackhole distance=254
Is there a way to make blackhole route for work correctly ?