Hello everyone.. I’m currently using MikroTik RB4011iGS with 3x multiple WAN system.. Recently i added an IP Phone provided by one of my ISP (SmileBD). But because of my multiple WAN system my IP Phone only works when other 2 ISP connections are disabled.. I already tried to create some rules in mangle so that my IP Phone only use data trough the specific WAN, but it did not work.. Expecting from experts to fix my problem by correcting my config files… thanks in advance…
I am giving my config files given below:
feb/06/2022 19:30:05 by RouterOS 6.46.2
software id = 1PNC-ULLU
model = RB4011iGS+
serial number = XXXXXXXXXXX
/interface bridge
add comment=Local_LAN name=Local
/interface ethernet
set [ find default-name=ether1 ] comment=SmileBD-WAN mac-address=
XX:XX:XX:XX:XX:XX
set [ find default-name=ether2 ] comment=SuperNET-WAN mac-address=
XX:XX:XX:XX:XX:XX
set [ find default-name=ether3 ] comment=OneNET-WAN mac-address=
XX:XX:XX:XX:XX:XX
set [ find default-name=ether5 ] comment=“LAN”
set [ find default-name=ether6 ] comment=“LAN”
set [ find default-name=sfp-sfpplus1 ] disabled=yes
/interface pppoe-client
add add-default-route=yes comment=PPPoE_WAN-3 disabled=no interface=ether3
name=OneNET-PPPOE password=xxx use-peer-dns=yes user=xxx
add add-default-route=yes comment=PPPoE_WAN-1 disabled=no interface=ether1
max-mtu=1480 name=SmileBD-PPPOE password=xxx use-peer-dns=yes user=
xxx
add add-default-route=yes comment=PPPoE_WAN-2 disabled=no interface=ether2
name=SuperNET-PPPOE password=xxx use-peer-dns=yes user=
xxx
/interface ethernet switch port
set 0 default-vlan-id=0
set 1 default-vlan-id=0
set 2 default-vlan-id=0
set 3 default-vlan-id=0
set 4 default-vlan-id=0
set 5 default-vlan-id=0
set 6 default-vlan-id=0
set 7 default-vlan-id=0
set 8 default-vlan-id=0
set 9 default-vlan-id=0
set 10 default-vlan-id=0
set 11 default-vlan-id=0
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool ranges=192.168.66.101-192.168.66.254
/ip dhcp-server
add address-pool=dhcp_pool disabled=no interface=Local lease-time=12h name=
dhcp1
/interface bridge port
add bridge=Local interface=ether6
add bridge=Local interface=ether7
add bridge=Local interface=ether8
add bridge=Local interface=ether9
add bridge=Local interface=ether10
add bridge=Local interface=ether5
/ip address
add address=192.168.66.1/24 interface=Local network=192.168.66.0
/ip cloud
set ddns-enabled=yes ddns-update-interval=5m
/ip dhcp-server lease
add address=192.168.66.41 client-id=1:0>> 82:d1:6a:e9 comment=“IP Phone [SIP Phone]”
mac-address=00:05:88:D6:6A:F9 server=dhcp1
/ip dhcp-server network
add address=192.168.66.0/24 gateway=192.168.66.1
/ip dns
set allow-remote-requests=yes
/ip firewall address-list
add address=192.168.66.101-192.168.66.254 list=Local
add address=127.0.0.1 disabled=yes list=allow-ip
/ip firewall mangle
add action=mark-connection chain=prerouting comment=“Load Balance”
dst-address-list=!Local in-interface=Local new-connection-mark=
OneNET_conn passthrough=yes per-connection-classifier=
both-addresses-and-ports:9/0 src-address-list=Local
add action=mark-connection chain=prerouting dst-address-list=!Local
in-interface=Local new-connection-mark=OneNET_conn passthrough=yes
per-connection-classifier=both-addresses-and-ports:9/1 src-address-list=
Local
add action=mark-connection chain=prerouting dst-address-list=!Local
in-interface=Local new-connection-mark=OneNET_conn passthrough=yes
per-connection-classifier=both-addresses-and-ports:9/2 src-address-list=
Local
add action=mark-connection chain=prerouting dst-address-list=!Local
in-interface=Local new-connection-mark=SuperNET_conn passthrough=yes
per-connection-classifier=both-addresses-and-ports:9/3 src-address-list=
Local
add action=mark-connection chain=prerouting dst-address-list=!Local
in-interface=Local new-connection-mark=SuperNET_conn passthrough=yes
per-connection-classifier=both-addresses-and-ports:9/4 src-address-list=
Local
add action=mark-connection chain=prerouting dst-address-list=!Local
in-interface=Local new-connection-mark=SuperNET_conn passthrough=yes
per-connection-classifier=both-addresses-and-ports:9/5 src-address-list=
Local
add action=mark-connection chain=prerouting dst-address-list=!Local
in-interface=Local new-connection-mark=SmileBD_conn passthrough=yes
per-connection-classifier=both-addresses-and-ports:9/6 src-address-list=
Local
add action=mark-connection chain=prerouting dst-address-list=!Local
in-interface=Local new-connection-mark=SmileBD_conn passthrough=yes
per-connection-classifier=both-addresses-and-ports:9/7 src-address-list=
Local
add action=mark-connection chain=prerouting dst-address-list=!Local
in-interface=Local new-connection-mark=SmileBD_conn passthrough=yes
per-connection-classifier=both-addresses-and-ports:9/8 src-address-list=
Local
add action=mark-routing chain=prerouting connection-mark=OneNET_conn
dst-address-list=!Local in-interface=Local new-routing-mark=OneNET_route
passthrough=yes src-address-list=Local
add action=mark-routing chain=prerouting connection-mark=SuperNET_conn
dst-address-list=!Local in-interface=Local new-routing-mark=
SuperNET_route passthrough=yes src-address-list=Local
add action=mark-routing chain=prerouting connection-mark=SmileBD_conn
dst-address-list=!Local in-interface=Local new-routing-mark=SmileBD_route
passthrough=yes src-address-list=Local
add action=mark-routing chain=prerouting comment=
“=== IP Phone [SIP Phone] through Smile BD WAN ===” disabled=yes dst-address=!192.168.66.0/24
in-interface=Local new-routing-mark=SmileBD_route passthrough=yes
src-mac-address=00:0B:82:D1:6A:E9
/ip firewall nat
add action=masquerade chain=srcnat comment=“==== ALL_SRCNAT ====”
out-interface-list=all
/ip route
add distance=1 gateway=OneNET-PPPOE routing-mark=OneNET_route
add distance=1 gateway=SuperNET-PPPOE routing-mark=SuperNET_route
add distance=1 gateway=SmileBD-PPPOE routing-mark=SmileBD_route
/system identity
set name=Multiple-WAN
/tool bandwidth-server
set authenticate=no
backup.txt.rsc (5.74 KB)