Load Balancing and ping between clients and local network

Hello,

I have 2 WANs x 100Mbps on CCR. I am doing load balancing with marking routes by IP address. I am using 2 ethernet ports for WANs, 1 Ethernet port for Local server, and other 9 ether ports are for clients which are connected with PPPOE servers on each port.


I have ip addresses from ISP 1 as 9.xx.xx.xx and ISP 2 as 81.xx.xx.xx and have the following configuration:

/ip firewall mangle
add action=mark-routing chain=prerouting   new-routing-mark=ISP1 src-address=9.xx.xx.xx/24
add action=mark-routing chain=prerouting   new-routing-mark=ISP2 src-address=81.xx.xx.xx/23


/ip route
add distance=1 gateway=9.xx.xx.xx routing-mark=ISP1
add distance=1 gateway=81.xx.xx.xx routing-mark=ISP2
add distance=1 gateway=9.xx.xx.xx

The server has IP 9.xx.xx.2, from same pool as clients. When i try to open the server outside my network it works fine, but when I am trying to ping or open the server from my network i got timeout.

What to do to allow using the server from my network?

Thanks.

Anyone?

same problem in different case :

I have 2 WANs with PCC load balance…

I have a local server in my local network with a privet ip, I add this rule in NAT:
add action=dst-nat chain=dstnat disabled=no dst-address=68.x.x.x dst-port=6666 protocol=tcp to-addresses=192.168.1.2 to-ports=80

from my local network I can’t open my local server, but from out side Internet I can connect normally !!!

I fixed the problem by masquerading the server IP address in Dst address.