Page 1 of 1

Routing Mark with LAN problems

Posted: Fri Jul 25, 2014 3:44 pm
by hidagar
Hello,

I have a network with a Bridge for a LAN and also I have 2 ISP conections on this router to Internet. I want to do manuall load balancing with different IP pool. The internet traffic work OK, but the problem is that if I enable the routing mark I can't acces from the same LAN to one IP in ISP1 to a IP in a ISP2.

0 ;;; ROUTING MARK
chain=prerouting action=mark-routing new-routing-mark=400MB
passthrough=no src-address-list=IP_400MB


0 A S dst-address=0.0.0.0/0 gateway=62.x.x.x
gateway-status=62.x.x.x reachable via vlan911 distance=1
scope=30 target-scope=10 routing-mark=400MB


Thanks

Re: Routing Mark with LAN problems

Posted: Fri Jul 25, 2014 5:44 pm
by Emile
Do you mean that you cannot conenct to public ip on isp2 or do you mean the ipaddress of the router on isp2?

Re: Routing Mark with LAN problems

Posted: Fri Jul 25, 2014 5:49 pm
by hidagar
hello

I mean that I can't reach the net that I have on routing. mark from non routing mark net that is on the same bridge

Re: Routing Mark with LAN problems

Posted: Fri Jul 25, 2014 6:04 pm
by Emile
Have you change you natting rules?

Under ip firewall nat change the srcnat masquerade rule and add routing mark to it.
That should work.
I have done this a very long time ago, not sure if you shoudl chose routing table or routing mark under srcnat rule.