Hi,
i have done the scope-settings, but it will not work as expected.
Can you please have a look on that?
[admin@MikroTik] > ip route print detail
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 dst-address=0.0.0.0/0 pref-src=93.240.147.69 gateway=87.190.23.57
gateway-status=87.190.23.57 unreachable distance=1 scope=30 target-scope=30
1 ADC dst-address=10.198.10.0/24 pref-src=10.198.10.150 gateway=ether8-to-private-network
gateway-status=ether8-to-private-network reachable distance=0 scope=10
2 A S dst-address=87.190.23.57/32 gateway=ether1-telekom-glasfaser
gateway-status=ether1-telekom-glasfaser reachable distance=1 scope=10 target-scope=10
3 ADC dst-address=93.240.147.64/29 pref-src=93.240.147.69 gateway=ether1-telekom-glasfaser
gateway-status=ether1-telekom-glasfaser reachable distance=0 scope=10
4 ADC dst-address=172.17.0.22/31 pref-src=172.17.0.22 gateway=br-firewall-wanko
gateway-status=br-firewall-wanko reachable distance=0 scope=10
5 A S dst-address=185.58.30.128/28 gateway=br-firewall-wanko
gateway-status=br-firewall-wanko reachable distance=1 scope=30 target-scope=10
87.190.23.57/32 is the Gateway, which is connected to the network 87.190.23.56/29.
93.240.147.69/29 is the IP-Address of this box.
What are the correct settings to get this work?
Within Linux this should do the trick:
/sbin/ip route add default via 87.190.23.57 dev ether1 onlink
[admin@MikroTik] > ping 87.190.23.57
SEQ HOST SIZE TTL TIME STATUS
0 87.190.23.57 56 255 1ms
1 87.190.23.57 56 255 0ms
2 87.190.23.57 56 255 0ms
3 87.190.23.57 56 255 0ms
sent=4 received=4 packet-loss=0% min-rtt=0ms avg-rtt=0ms max-rtt=1ms
[admin@MikroTik] > ip address print detail
Flags: X - disabled, I - invalid, D - dynamic
0 address=93.240.147.69/29 network=93.240.147.64 interface=ether1-telekom-glasfaser
actual-interface=ether1-telekom-glasfaser
1 address=172.17.0.22/31 network=172.17.0.22 interface=br-firewall-wanko
actual-interface=br-firewall-wanko
2 address=10.198.10.150/24 network=10.198.10.0 interface=ether8-to-private-network
actual-interface=ether8-to-private-network