[trackboy@Laci Mikrotik 750 GL] > ip route print
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
[trackboy@Laci Mikrotik 751U-2HnD] > ip route print
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
DST-ADDRESS PREF-SRC GATEWAY DISTANCE
0 A S 0.0.0.0/0 172.16.1.1 1
1 A S 10.10.10.0/24 172.16.1.1 1
2 S 10.10.10.0/24 172.16.1.1 10
3 ADC 172.16.1.0/30 172.16.1.2 ether1 0
4 ADC 192.168.5.0/24 192.168.5.1 ether2 0
The two routes to 10.10.10.0/24 here are actually not needed because the default route already points at the same remote address:
0 A S 0.0.0.0/0 172.16.1.1 1
1 A S 10.10.10.0/24 172.16.1.1 1
2 S 10.10.10.0/24 172.16.1.1 10
but on the other router you have:
0 ADS 0.0.0.0/0 192.168.1.1 0
You need an entry to pass traffic for non-locally attached networks to 172.16.1.2 - i.e. the other router. One way would be to change the entry above to address 172.16.1.2 as the gateway.
That existing entry is dynamic (see D flag below) - do you have the router connected to a DHCP source?
0 ADS 0.0.0.0/0 192.168.1.1 0
You could set the default router on each router to be the other router - but that will cause packets to loop when they are not destined for any of the locally attached networks.
A better idea is to add the routes for the locally attached networks on router B to router A’s routing table (gateway being router B’s IP address) and add the routes for the locally attached networks on router A to router B’s routing table (gateway being router A’s IP address).
Yes,my RB 750 GL get 192.168.1.120 from my friend router via 1 km Wifi connection,but in this case i don’t need internet connection,only the static routing,but i am beginner in routing,and i don’t know,how is should set these things as you said
Check, if the laptop can ping router RB750, but on this address: 10.10.10.1. If yes routing is OK. You must look for problem locally on the PC or laptop. What’s the default route on PC and laptop? PC - 10.10.10.1, laptop - 192.168.5.1?
If you can ping 10.10.10.1(ip address on ether3 RB750GL) from your laptop, and
can ping 192.168.5.1 (ip address on ether2 RB751U-2HnD) from PC, this means that the static routing work OK.
You need check firewall setting on your PC and laptop. For example, a firewall in Windows blocks by default ICMP and other requests from others subnets.