good day,
i made server from rb750r2 and it works fine, when i add load balance to it ,load balance is not working .
can rb750 work as a server and make on it load balance in same time ?
this is my configuration :
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=pppoe ranges=172.168.0.1-172.168.0.253
add name=dhcp_pool1 ranges=172.168.0.2-172.168.0.254
/ip address
add address=192.168.1.30/24 comment=“pppoe server address "WAN"” interface=ether1 network=192.168.1.0
add address=192.168.2.30/24 comment=nat2 interface=ether3 network=192.168.2.0
add address=172.168.0.1/24 interface=ether2 network=172.168.0.0
/ip dns
set allow-remote-requests=yes cache-size=20480KiB max-udp-packet-size=512 servers=8.8.8.8,8.8.4.4
/ip firewall address-list
add address=172.168.0.0/24 comment=“nat internet” list=nat
add address=172.168.0.2-172.168.0.253 comment=“pppoe clients” list=pppoe
/ip firewall mangle
add chain=prerouting disabled=yes dst-address=172.168.0.0/24 src-address=172.168.0.0/24
add chain=prerouting disabled=yes dst-address=192.168.1.0/24 src-address=172.168.0.0/24
add chain=prerouting disabled=yes dst-address=172.168.2.0/24 src-address=172.168.0.0/24
add action=mark-connection chain=prerouting comment=“mark de connection” connection-mark=no-mark disabled=yes in-interface=ether1 new-connection-mark=wan1-conn
add action=mark-connection chain=prerouting connection-mark=no-mark disabled=yes in-interface=ether3 new-connection-mark=wan3-conn
add action=jump chain=prerouting connection-mark=no-mark disabled=yes in-interface=ether2 jump-target=police
add action=mark-routing chain=prerouting connection-mark=wan1-conn disabled=yes new-routing-mark=ether1-traffic src-address=172.168.0.0/24
add action=mark-routing chain=prerouting connection-mark=wan3-conn disabled=yes new-routing-mark=ether3-traffic src-address=172.168.0.0/24
add action=mark-routing chain=output connection-mark=wan1-conn disabled=yes new-routing-mark=ether1-traffic
add action=mark-routing chain=output connection-mark=wan3-conn disabled=yes new-routing-mark=ether2-traffic
add action=mark-connection chain=police disabled=yes dst-address-type=!local new-connection-mark=wan1-conn per-connection-classifier=src-address:2/0
add action=mark-connection chain=police disabled=yes dst-address-type=!local new-connection-mark=wan3-conn per-connection-classifier=src-address:2/1
add action=mark-connection chain=forward comment=“traffic de internet” new-connection-mark=fw-traffic
add action=mark-packet chain=forward comment=“upload pppoe” connection-mark=fw-traffic new-packet-mark=“pppoe upload” src-address-list=pppoe
add action=mark-packet chain=forward comment=“download pppoe” connection-mark=fw-traffic dst-address-list=pppoe new-packet-mark=“pppoe download”
add action=mark-packet chain=forward comment=“upload pppoe icmp” new-packet-mark=“pppoe upload icmp” packet-mark=“pppoe upload” passthrough=no protocol=icmp
add action=mark-packet chain=forward comment=“upload pppoe dns” dst-port=53 new-packet-mark=“pppoe upload dns” packet-mark=“pppoe upload” passthrough=no
protocol=udp
add action=mark-packet chain=forward comment=“upload pppoe http” connection-bytes=0-2048000 dst-port=80,443 new-packet-mark=“pppoe upload http” packet-mark=
“pppoe upload” passthrough=no protocol=tcp
add action=mark-packet chain=forward comment=“upload pppoe data” new-packet-mark=“pppoe upload data” packet-mark=“pppoe upload” passthrough=no
add action=mark-packet chain=forward comment=“download icmp” new-packet-mark=“pppoe download icmp” packet-mark=“pppoe download” passthrough=no protocol=icmp
add action=mark-packet chain=forward comment=“download dns” new-packet-mark=“pppoe download dns” packet-mark=“pppoe download” passthrough=no protocol=udp
src-port=53
add action=mark-packet chain=forward comment=“download http” connection-bytes=0-2048000 new-packet-mark=“pppoe download http” packet-mark=“pppoe download”
passthrough=no protocol=tcp src-port=80,443
add action=mark-packet chain=forward comment=“download data” new-packet-mark=“pppoe download data” packet-mark=“pppoe download” passthrough=no
/ip firewall nat
add action=masquerade chain=srcnat disabled=yes out-interface=ether1 src-address-list=nat
add action=masquerade chain=srcnat disabled=yes out-interface=ether3 src-address-list=nat
add action=masquerade chain=srcnat out-interface=ether1
add action=masquerade chain=srcnat out-interface=ether3
add action=redirect chain=dstnat dst-port=80 protocol=tcp to-ports=8080
/ip proxy
set cache-administrator=*************** enabled=yes
/ip route
add distance=1 gateway=192.168.1.1 routing-mark=ether1-traffic
add distance=1 gateway=192.168.2.1 routing-mark=ether2-traffic
add distance=2 gateway=192.168.1.1
add distance=3 gateway=192.168.2.1
ether 1 and ether 3 are my isps ips and ether 2 are my pppoe
am i missing something or i just configure them like that ?
thanks