I've got multi wan load balancing: a Starlink +11 adsl bridge...
Starlink router: 192.168.1.1
the adsl all are pppoe-client
first i want to marge the starlink with the other note:(the adsl speed 12Mb downlowad 1Mb upload)
and please check my configuration that i use
Starlink router: 192.168.1.1
the adsl all are pppoe-client
first i want to marge the starlink with the other note:(the adsl speed 12Mb downlowad 1Mb upload)
and please check my configuration that i use
Code:
# jan/29/2024 22:08:34 by RouterOS 6.46.5# software id = **ELIDED**## model = RB1100x4# serial number = **ELIDED**/interface ethernetset [ find default-name=ether1 ] comment=starset [ find default-name=ether2 ] mtu=1420set [ find default-name=ether3 ] mtu=1420set [ find default-name=ether4 ] mtu=1420set [ find default-name=ether5 ] mtu=1420set [ find default-name=ether6 ] mtu=1420set [ find default-name=ether7 ] mtu=1420set [ find default-name=ether8 ] mtu=1420set [ find default-name=ether9 ] mtu=1420set [ find default-name=ether10 ] mtu=1420set [ find default-name=ether11 ] mtu=1420set [ find default-name=ether12 ] mtu=1420set [ find default-name=ether13 ] name=out/interface pppoe-clientadd interface=ether1 max-mtu=1400 name=1-123456 user=ASBS74add disabled=no interface=ether2 max-mtu=1400 name=2-123456 user=#######add disabled=no interface=ether3 max-mtu=1400 name=3-123456 user=#######add disabled=no interface=ether4 max-mtu=1400 name=4-123456 user=#######add disabled=no interface=ether5 max-mtu=1400 name=5-123456 user=#######add disabled=no interface=ether6 max-mtu=1400 name=6-123456 user=#######add disabled=no interface=ether7 max-mtu=1400 name=7-123456 user=#######add disabled=no interface=ether8 max-mtu=1400 name=8-123456 user=#######add disabled=no interface=ether9 max-mtu=1400 name=9-123456 user=#######add disabled=no interface=ether10 max-mtu=1400 name=10-123456 user=#######add disabled=no interface=ether11 max-mtu=1400 name=11-123456 user=#######add disabled=no interface=ether12 max-mtu=1400 name=12-123456 user=#######/interface ethernet switch portset 0 default-vlan-id=0set 1 default-vlan-id=0set 2 default-vlan-id=0set 3 default-vlan-id=0set 4 default-vlan-id=0set 5 default-vlan-id=0set 6 default-vlan-id=0set 7 default-vlan-id=0set 8 default-vlan-id=0set 9 default-vlan-id=0set 10 default-vlan-id=0set 11 default-vlan-id=0set 12 default-vlan-id=0set 13 default-vlan-id=0set 14 default-vlan-id=0set 15 default-vlan-id=0/interface wireless security-profilesset [ find default=yes ] supplicant-identity=MikroTik/lora serversadd address=eu.mikrotik.thethings.industries down-port=1700 name=TTN-EU \ up-port=1700add address=us.mikrotik.thethings.industries down-port=1700 name=TTN-US \ up-port=1700/tool user-manager customerset admin access=\ own-routers,own-users,own-profiles,own-limits,config-payment-gw/user groupset full policy="local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,pas\ sword,web,sniff,sensitive,api,romon,dude,tikapp"/ip addressadd address=7.7.7.1/24 interface=out network=7.7.7.0add address=192.168.1.100/24 interface=ether1 network=192.168.1.0/ip dhcp-clientadd add-default-route=no interface=out use-peer-dns=no use-peer-ntp=noadd add-default-route=no interface=ether1 use-peer-dns=no use-peer-ntp=no/ip dnsset cache-size=5000KiB max-udp-packet-size=2048 servers=1.1.1.1,8.8.8.8/ip firewall mangleadd action=mark-connection chain=input in-interface=ether1 \ new-connection-mark=in1_conn passthrough=yes src-address=7.7.7.0/24add action=mark-connection chain=input in-interface=2-123456 \ new-connection-mark=in2_conn passthrough=yes src-address=7.7.7.0/24add action=mark-connection chain=input in-interface=3-123456 \ new-connection-mark=in3_conn passthrough=yes src-address=7.7.7.0/24add action=mark-connection chain=input in-interface=4-123456 \ new-connection-mark=in4_conn passthrough=yes src-address=7.7.7.0/24add action=mark-connection chain=input in-interface=5-123456 \ new-connection-mark=in5_conn passthrough=yes src-address=7.7.7.0/24add action=mark-connection chain=input in-interface=6-123456 \ new-connection-mark=in6_conn passthrough=yes src-address=7.7.7.0/24add action=mark-connection chain=input in-interface=7-123456 \ new-connection-mark=in7_conn passthrough=yes src-address=7.7.7.0/24add action=mark-connection chain=input in-interface=8-123456 \ new-connection-mark=in8_conn passthrough=yes src-address=7.7.7.0/24add action=mark-connection chain=input in-interface=9-123456 \ new-connection-mark=in9_conn passthrough=yes src-address=7.7.7.0/24add action=mark-connection chain=input in-interface=10-123456 \ new-connection-mark=in10_conn passthrough=yes src-address=7.7.7.0/24add action=mark-connection chain=input in-interface=11-123456 \ new-connection-mark=in11_conn passthrough=yes src-address=7.7.7.0/24add action=mark-connection chain=input in-interface=12-123456 \ new-connection-mark=in12_conn passthrough=yes src-address=7.7.7.0/24add action=mark-routing chain=output connection-mark=in1_conn \ new-routing-mark=in1 out-interface=ether1 passthrough=yes src-address=\ 7.7.7.0/24add action=mark-routing chain=output connection-mark=in2_conn \ new-routing-mark=in2 out-interface=2-123456 passthrough=yes src-address=\ 7.7.7.0/24add action=mark-routing chain=output connection-mark=in3_conn \ new-routing-mark=in3 out-interface=3-123456 passthrough=yes src-address=\ 7.7.7.0/24add action=mark-routing chain=output connection-mark=in4_conn \ new-routing-mark=in4 out-interface=4-123456 passthrough=yes src-address=\ 7.7.7.0/24add action=mark-routing chain=output connection-mark=in5_conn \ new-routing-mark=in5 out-interface=5-123456 passthrough=yes src-address=\ 7.7.7.0/24add action=mark-routing chain=output connection-mark=in6_conn \ new-routing-mark=in6 out-interface=6-123456 passthrough=yes src-address=\ 7.7.7.0/24add action=mark-routing chain=output connection-mark=in7_conn \ new-routing-mark=in7 out-interface=7-123456 passthrough=yes src-address=\ 7.7.7.0/24add action=mark-routing chain=output connection-mark=in8_conn \ new-routing-mark=in8 out-interface=8-123456 passthrough=yes src-address=\ 7.7.7.0/24add action=mark-routing chain=output connection-mark=in9_conn \ new-routing-mark=in9 out-interface=9-123456 passthrough=yes src-address=\ 7.7.7.0/24add action=mark-routing chain=output connection-mark=in10_conn \ new-routing-mark=in10 out-interface=10-123456 passthrough=yes \ src-address=7.7.7.0/24add action=mark-routing chain=output connection-mark=in11_conn \ new-routing-mark=in11 out-interface=11-123456 passthrough=yes \ src-address=7.7.7.0/24add action=mark-routing chain=output connection-mark=in12_conn \ new-routing-mark=in12 out-interface=12-123456 passthrough=yes \ src-address=7.7.7.0/24add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=in1_conn passthrough=yes per-connection-classifier=\ both-addresses-and-ports:14/0 src-address=7.7.7.0/24add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=in1_conn passthrough=yes per-connection-classifier=\ both-addresses-and-ports:14/1 src-address=7.7.7.0/24add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=in1_conn passthrough=yes per-connection-classifier=\ both-addresses-and-ports:14/2 src-address=7.7.7.0/24add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=in2_conn passthrough=yes per-connection-classifier=\ both-addresses-and-ports:14/3 src-address=7.7.7.0/24add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=in3_conn passthrough=yes per-connection-classifier=\ both-addresses-and-ports:14/4 src-address=7.7.7.0/24add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=in4_conn passthrough=yes per-connection-classifier=\ both-addresses-and-ports:14/5 src-address=7.7.7.0/24add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=in5_conn passthrough=yes per-connection-classifier=\ both-addresses-and-ports:14/6 src-address=7.7.7.0/24add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=in6_conn passthrough=yes per-connection-classifier=\ both-addresses-and-ports:14/7 src-address=7.7.7.0/24add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=in7_conn passthrough=yes per-connection-classifier=\ both-addresses-and-ports:14/8 src-address=7.7.7.0/24add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=in8_conn passthrough=yes per-connection-classifier=\ both-addresses-and-ports:14/9 src-address=7.7.7.0/24add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=in9_conn passthrough=yes per-connection-classifier=\ both-addresses-and-ports:14/10 src-address=7.7.7.0/24add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=in10_conn passthrough=yes per-connection-classifier=\ both-addresses-and-ports:14/11 src-address=7.7.7.0/24add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=in11_conn passthrough=yes per-connection-classifier=\ both-addresses-and-ports:14/12 src-address=7.7.7.0/24add action=mark-connection chain=prerouting dst-address-type=!local \ new-connection-mark=in12_conn passthrough=yes per-connection-classifier=\ both-addresses-and-ports:14/13 src-address=7.7.7.0/24add action=mark-routing chain=prerouting connection-mark=in1_conn \ new-routing-mark=in1 passthrough=yes src-address=7.7.7.0/24add action=mark-routing chain=prerouting connection-mark=in2_conn \ new-routing-mark=in2 passthrough=yes src-address=7.7.7.0/24add action=mark-routing chain=prerouting connection-mark=in3_conn \ new-routing-mark=in3 passthrough=yes src-address=7.7.7.0/24add action=mark-routing chain=prerouting connection-mark=in4_conn \ new-routing-mark=in4 passthrough=yes src-address=7.7.7.0/24add action=mark-routing chain=prerouting connection-mark=in5_conn \ new-routing-mark=in5 passthrough=yes src-address=7.7.7.0/24add action=mark-routing chain=prerouting connection-mark=in6_conn \ new-routing-mark=in6 passthrough=yes src-address=7.7.7.0/24add action=mark-routing chain=prerouting connection-mark=in7_conn \ new-routing-mark=in7 passthrough=yes src-address=7.7.7.0/24add action=mark-routing chain=prerouting connection-mark=in8_conn \ new-routing-mark=in8 passthrough=yes src-address=7.7.7.0/24add action=mark-routing chain=prerouting connection-mark=in9_conn \ new-routing-mark=in9 passthrough=yes src-address=7.7.7.0/24add action=mark-routing chain=prerouting connection-mark=in10_conn \ new-routing-mark=in10 passthrough=yes src-address=7.7.7.0/24add action=mark-routing chain=prerouting connection-mark=in11_conn \ new-routing-mark=in11 passthrough=yes src-address=7.7.7.0/24add action=mark-routing chain=prerouting connection-mark=in12_conn \ new-routing-mark=in12 passthrough=yes src-address=7.7.7.0/24/ip firewall natadd action=masquerade chain=srcnat out-interface=ether1add action=masquerade chain=srcnat out-interface=2-123456add action=masquerade chain=srcnat out-interface=3-123456add action=masquerade chain=srcnat out-interface=4-123456add action=masquerade chain=srcnat out-interface=5-123456add action=masquerade chain=srcnat out-interface=6-123456add action=masquerade chain=srcnat out-interface=7-123456add action=masquerade chain=srcnat out-interface=8-123456add action=masquerade chain=srcnat out-interface=9-123456add action=masquerade chain=srcnat out-interface=10-123456add action=masquerade chain=srcnat out-interface=11-123456add action=masquerade chain=srcnat out-interface=12-123456/ip firewall service-portset ftp disabled=yesset tftp disabled=yesset irc disabled=yesset h323 disabled=yesset sip disabled=yesset pptp disabled=yesset udplite disabled=yesset dccp disabled=yesset sctp disabled=yes/ip routeadd check-gateway=ping distance=1 gateway=192.168.1.1 routing-mark=in1add check-gateway=ping distance=1 gateway=2-123456 routing-mark=in2add check-gateway=ping distance=1 gateway=3-123456 routing-mark=in3add check-gateway=ping distance=1 gateway=4-123456 routing-mark=in4add check-gateway=ping distance=1 gateway=5-123456 routing-mark=in5add check-gateway=ping distance=1 gateway=6-123456 routing-mark=in6add check-gateway=ping distance=1 gateway=7-123456 routing-mark=in7add check-gateway=ping distance=1 gateway=8-123456 routing-mark=in8add check-gateway=ping distance=1 gateway=9-123456 routing-mark=in9add check-gateway=ping distance=1 gateway=10-123456 routing-mark=in10add check-gateway=ping distance=1 gateway=11-123456 routing-mark=in11add check-gateway=ping distance=1 gateway=12-123456 routing-mark=in12add check-gateway=ping distance=1 gateway=192.168.1.1add check-gateway=ping distance=2 gateway=2-123456add check-gateway=ping distance=3 gateway=3-123456add check-gateway=ping distance=4 gateway=4-123456add check-gateway=ping distance=5 gateway=5-123456add check-gateway=ping distance=6 gateway=6-123456add check-gateway=ping distance=7 gateway=7-123456add check-gateway=ping distance=8 gateway=8-123456add check-gateway=ping distance=9 gateway=9-123456add check-gateway=ping distance=10 gateway=10-123456add check-gateway=ping distance=11 gateway=11-123456add check-gateway=ping distance=12 gateway=12-123456/ip serviceset telnet disabled=yesset ftp disabled=yesset www disabled=yesset ssh disabled=yesset api disabled=yesset api-ssl disabled=yes/system clockset time-zone-autodetect=no time-zone-name=/system scheduleradd disabled=yes interval=10s name=schedule1 on-event=":local in \r\ \n:set 2-123456\r\ \n:local WANIP [/ip address get [find where interface=\$in] address]; \r\ \n:set WANIP [:pick \$WANIP 0 ([:len \$WANIP]-3) ];\r\ \n:if (\$WANIP ~\"^[0-9 ]*10\") do={ \r\ \n:log warning \"Private ip address found !!!\"\r\ \n/interface pppoe-client disable \$in\r\ \n:delay 3\r\ \n/interface pppoe-client enable \$in }\r\ \n" policy=\ ftp,reboot,read,write,policy,test,password,sniff,sensitive,romon \ start-time=startup/tool bandwidth-serverset enabled=no/tool user-manager databaseset db-path=user-manager
Statistics: Posted by ashraf993 — Tue Jan 30, 2024 5:06 pm