Hello , i have a pc - mikrotik router with 5 interfaces .
i have 3 networks
network 1 pc lan : 192.168.56.0/24
network 2 voip : 172.17.10.0/24
network 3 wlan : 10.0.0.0/24
i have 2 different gateways
gateway 1 adsl : ppptp server
gateway 2 sdsl : static ip
network 2 has gateway 2
network 1 and 3 have the same network 1
i can ping from network 1 to 3 but i can not ping from 2 to 3 or to 1.
You’re presumably using routing marks? Change the mangle rules to not mark traffic to local networks so that the routing mark doesn’t get applied, and doesn’t overrule the routing table’s directly connected networks.
Then add something like below, and move it above the routing mark rules:
/ip firewall mangle
add chain=[chain you mark routing in] src-address-list=local-networks dst-address-list=local-networks action=accept
Of course that’s a wild guess and stab in the dark since you sadly give no actual details to work with. If the guess is wrong - it probably is - post the output of “/ip address print detail”, “/ip route print detail”, “/interface print”, “/ip firewall export”, and an accurate network diagram.