I have a bit problem. I haven’t internet in Mikrotik, I can’t do ping any site but I have connected a lot of servers/laptop/bridges/ 2 ISP… and all them can surf without some problem. How could I debug it? What info could I paste to check it?
So just to confirm from your post. Your servers and devices can browse internet from behind the mikrotik router but you cannot ping from the mikrotik out to the internet.
[admin@MikroTik] /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 192.168.10.1 1
1 A S 0.0.0.0/0 192.168.11.1 1
2 ADC 192.168.20.0/24 192.168.20.1 XXXX 0
3 ADC 192.168.11.0/24 192.168.11.2 A_XXX 0
4 ADC 192.168.12.0/24 192.168.12.2 A_XXX:2 0
5 A S 192.168.88.0/24 192.168.200.58 1
6 ADC 192.168.200.0/24 192.168.200.1 lan_XXX 0
Your IP address number 2 and default route number 1 are the same address. this means you pointing default traffic out back at the router. Check this config.
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 192.168.10.1 1
1 A S 0.0.0.0/0 192.168.12.1 1
2 ADC 192.168.11.0/24 192.168.11.1 YYY 0
3 ADC 192.168.20.0/24 192.168.20.2 A_XXX 0
4 ADC 192.168.12.0/24 192.168.12.2 A_XXX:2 0
5 A S 192.168.88.0/24 192.168.200.58 1
6 ADC 192.168.200.0/24 192.168.200.1 lan_XXXX 0
Basically the connection A_XXX or XXX: 2 are WAN connections of different ISPs. LAN goes through one WAN and the servers exit through another WAN. The router has different configured routes and physical addresses assigned to the router.
How could I tell it to leave the router for a specific one?
When running tests you can choose out interface and address traffic is coming from for instance from ping. PCC would allow you to set controls saying what traffic goes out which wan.
If you would like to run a ping test to say 8.8.8.8 from your router. from within winbox you can select the advanced tab. Where Src address is you can type in the wan ip of the interface you would like to test from. and run the test.
When you have mutiple WAN ports. You can send traffic out different wan interfaces by either using srcnat and match the traffic using the src address out a certain interface or you can use pcc and setup your mangle rules.
Your original question was that your router cannot ping internet sites. Is this still the case..
Thanks. I tried do it with all WAN’s but not luck. I can’t do ping with any interfaces. With all I receive timeout however all computers connected on that interfaces can surf without problem.
what amazes me the most is how did you get so far (conected all your servers and devices to router) without solving the problem with router first ???
The right path towards solving this mess is to disconnect everything from router, leaving a link to your provider only.
Set the right IP to your wan interface, set the default route and DNS server and then try to ping providers GW - first, some ip address on internet - second and some url -third!
If you fail at first step, you don’t have connectivity.
If you fail at second step you are missing default route
If you fail at third step you have misconfigured your DNS server.
Only after you pass all three steps you can move forward towards connecting your local network to the router.
This is a bit messed up somehow you got all local ip’s except MK to connect to the internet hehe. Did the ISP give you static IP’s where did you configure them.? And satman is correct i would start to unplug everything from the router reset it to default and start fresh. Connect only isp and configure IP address and static route and another thing to do is masquerade your local traffic to internet (srcnat and use your out interface as the connected ISP interface