Hello all,
I have two different WAN lines connected on Cloud Core CCR1016-12G, also I have PPPOE server on the same router. The problem is that I want to split few clients to use internet from WAN1 and the rest of the clients to get internet from WAN2, I read some tutorials and I setup my router by them, but I am facing big issues with DNS . I have to refresh five times same web page to be loaded correctly.
I will try to explain to you.
WAN1 ===> 82.214.xxx.xx/27 eth1
WAN2 ===> 95.30.xxx.xx/24 eth4
Also I have Public ip pool from WAN1 for several clients . They have to stay on the Wan1.
I don’t need ECMP load balancing as configured , I need only to split the clients.
Example
PPPOE pool range 10.11.10.10 - 10.11.10.50 to be routed through WAN1
and other 10.11.10.51 - 10.11.10.254 to be routed through WAN2
Public pool 82.214.xxx.3-82.214.xxx.30 to be routed through WAN1
configuration from my router
# may/09/2017 11:53:57 by RouterOS 6.39
/interface bridge
add fast-forward=no name=pppoe-bridge
/interface ethernet
set [ find default-name=ether1 ] arp=proxy-arp comment="WAN1"
set [ find default-name=ether4 ] comment="WAN2
set [ find default-name=ether8 ] full-duplex=no
set [ find default-name=ether9 ] full-duplex=no
set [ find default-name=ether10 ] full-duplex=no
set [ find default-name=ether11 ] full-duplex=no loop-protect=on
set [ find default-name=ether12 ] speed=1Gbps
/ip neighbor discovery
set ether4 discover=no
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip ipsec proposal
set [ find default=yes ] enc-algorithms=aes-128-cbc
/ip pool
add name=pppoe-pool ranges=10.11.10.10-10.11.10.254,82.214.xx.x-82.214.xxx.xx
/ppp profile
add change-tcp-mss=no dns-server=8.8.8.8,8.8.4.4 local-address=82.214.xx.x name=profile1 remote-address=pppoe-pool use-compression=no use-encryption=no \
use-mpls=no use-upnp=no
/interface bridge port
add bridge=pppoe-bridge interface=ether8
add bridge=pppoe-bridge interface=ether9
add bridge=pppoe-bridge interface=ether10
add bridge=pppoe-bridge interface=ether11
/ip firewall connection tracking
set enabled=yes
/interface l2tp-server server
set caller-id-type=ip-address
/interface pppoe-server server
add authentication=pap,chap default-profile=profile1 disabled=no interface=pppoe-bridge max-mru=1480 max-mtu=1480 mrru=1600 service-name=service1
/ip address
add address=192.168.88.1/24 comment="default configuration" interface=ether2 network=192.168.88.0
add address=10.10.14.1/24 interface=pppoe-bridge network=10.10.14.0
add address=10.11.14.1/24 comment=Radius interface=ether12 network=10.11.14.0
add address=82.214.xxx.x/27 comment="WAN1" interface=ether1 network=82.214.xx.0
add address=92.55.xx.xx/24 comment="WAN2" interface=ether4 network=92.55.xx.0
/ip cloud
set update-time=no
/ip dns
set allow-remote-requests=yes servers=81.17.xx.x,81.17.xxx.x,8.8.8.8
/ip firewall mangle
add action=mark-routing chain=prerouting new-routing-mark=WAN2 passthrough=yes src-address=10.11.10.220-10.11.10.254
add action=mark-routing chain=prerouting new-routing-mark=WAN1 passthrough=yes src-address=10.11.10.51
add action=mark-routing chain=prerouting new-routing-mark=WAN1 passthrough=yes src-address=10.11.10.249
add action=mark-connection chain=input in-interface=ether1 new-connection-mark=WAN1_conn passthrough=yes
add action=mark-connection chain=input in-interface=ether4 new-connection-mark=WAN2_conn passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_conn new-routing-mark=WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_conn new-routing-mark=WAN2 passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat src-address=10.11.10.0/24
add action=dst-nat chain=dstnat comment=QRT disabled=yes dst-port=1988 in-interface=ether1 protocol=tcp to-addresses=10.10.14.16 to-ports=8291
add action=masquerade chain=srcnat disabled=yes out-interface=ether1
add action=dst-nat chain=dstnat comment="QRT link" disabled=yes dst-port=1989 in-interface=ether1 protocol=tcp to-addresses=10.10.14.12 to-ports=8291
add action=dst-nat chain=dstnat comment="stavis ip od pppoe pool privatno Port Forwarding" disabled=yes dst-port=1990 in-interface=ether1 protocol=tcp \
to-addresses=10.11.10.216 to-ports=1990
add action=dst-nat chain=dstnat comment="Camera" disabled=yes dst-port=9000 in-interface=ether1 protocol=tcp to-addresses=10.11.10.51 \
to-ports=9000
add action=dst-nat chain=dstnat disabled=yes dst-port=8000 in-interface=ether1 protocol=tcp to-addresses=10.11.10.51 to-ports=8000
add action=dst-nat chain=dstnat dst-port=34567 in-interface=ether1 protocol=tcp to-addresses=10.11.10.50 to-ports=34567
add action=dst-nat chain=dstnat dst-port=34568 in-interface=ether1 protocol=tcp to-addresses=10.11.10.50 to-ports=34568
/ip route
add distance=1 gateway=92.55.xx.1 routing-mark=WAN2
add distance=1 gateway=82.214.xx.1 routing-mark=WAN1
add check-gateway=ping distance=1 gateway=82.214.xx.1,92.55.xx.1
add distance=1 gateway=82.214.xxx.1
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set ssh disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/lcd
set default-screen=interfaces
/ppp aaa
set interim-update=2m use-radius=yes
/ppp secret
add name=test password=test profile=profile1 service=pppoe
add name=test2 password=test2 profile=profile1 service=pppoe
add name=test3 password=test3 profile=profile1 service=pppoe
add name=test4 password=test4 profile=profile1 remote-address=10.11.10.55 service=pppoe
/radius
add address=10.11.14.10 secret=xxxx service=ppp,login,hotspot,wireless
/radius incoming
set accept=yes
/system clock
set time-zone-autodetect=no time-zone-name=Europe
/system identity
set name="Glaven Ruter"
/system logging
add disabled=yes topics=radius,debug
Routing table from the router

Thank you all. I hope you understand me.