i have 4 internet line and i'm using load balancing for 3 of them
i need to change some configuration for separating some URL
for example i need change the way for http://google.com http://routerboard.com http://mikrotik.com
i want when some body need this url excactly work with ether5
here you can find my configuration
Code: Select all
/ ip address
add address=192.168.100.1/24 network=192.168.100.0 broadcast=192.168.100.255 interface=ether1 comment="" disabled=no
/ ip dhcp-client
add interface=ether2 add-default-route=yes use-peer-dns=yes use-peer-ntp=yes comment="" disabled=no
add interface=ether3 add-default-route=yes use-peer-dns=yes use-peer-ntp=yes comment="" disabled=no
add interface=ether4 add-default-route=yes use-peer-dns=yes use-peer-ntp=yes comment="" disabled=no
/ ip firewall nat
add chain=srcnat src-address=192.168.100.0/24 action=masquerade comment="" disabled=no
/ ip firewall mangle
add chain=prerouting src-address=192.168.100.0/24 action=mark-routing new-routing-mark=SUBNET-LAN passthrough=yes comment="" disabled=no
/ ip route
add dst-address=0.0.0.0/0 gateway=X.X.224.1,X.X.128.1,X.X.160.1 check-gateway=arp scope=255 target-scope=10 routing-mark=SUBNET-LAN comment="" disabled=no