Community discussions

MikroTik App
 
prince1990love
newbie
Topic Author
Posts: 32
Joined: Thu Oct 15, 2015 7:19 pm

routing issues!!! Help

Fri Dec 13, 2019 3:12 am

hello everyone
.first sorry for my english
i have simple configuration in my network
my diagram
2 ISP >>>> Mikrotik- Ether1(Wan1) Ether2(Wan2)>>>>>>Bridge-Local>>>>pppoe-clients customers
local ip pool for pppoe-clients 192.168.88.0/24
and i want route half of pppoe-clients to wan2 so i add this rule in mangle
/ip firewall mangle
add chain=prerouting src-address=192.168.88.1-192.168.88.122 action=mark-routing new-routing-mark=clients-to-wan2
and in route
/ip route
add dst-address=0.0.0.0/0 gateway=Wan2 routing-mark=clients-to-wan2
and everything its work
but after adding this rule in mangle the traffic between pppoe clients is blocked
example: client with address 192.168.88.10 cannot connect to or reach client with ip 192.168.88.150
when i disable mangle rule the clients can reach others again!!
how to solve this problem please?
 
User avatar
skylark
Member Candidate
Member Candidate
Posts: 144
Joined: Wed Feb 10, 2016 3:55 pm

Re: routing issues!!! Help  [SOLVED]

Fri Dec 13, 2019 11:55 am

Perhaps adding an addition parameter in mangle rule "dst-address=!192.168.88.0/24" should resolve the issue.
 
prince1990love
newbie
Topic Author
Posts: 32
Joined: Thu Oct 15, 2015 7:19 pm

Re: routing issues!!! Help

Sat Dec 14, 2019 1:05 am

Perhaps adding an addition parameter in mangle rule "dst-address=!192.168.88.0/24" should resolve the issue.
very thanks bro skylark it's work like charm :D