Hello i dont have much knowledge of this stuff
i have a rb133 and i am trying to connect 3 station wifi links in one ethernet
Strange things happen but the thing doesnt work smoothly
Thing goes a little better when wifi links are queued at low speeds
I have tried ecmp nth and pcc
Also since i dont have full control of what ip wifi routers give
i want to transfer their ip to another my own
Whats the best way to do it?
There maybe be childish mistakes in my scripts so i ask your understanding
DNS and DHCP for ethernet are configured (or so i would like to believe)
Here is what i use in pcc
/ip address
add address=192.168.1.11/24 disabled=no interface=WAN1 network=192.168.1.0
add address=192.168.2.11/24 disabled=no interface=WAN2 network=192.168.2.0
add address=10.5.50.255/24 disabled=no interface=WAN3 network=10.5.50.0
add address=20.5.50.1/24 disabled=no interface=Local network=20.5.50.0
/ip firewall mangle
add action=mark-connection chain=input connection-state=new disabled=no
in-interface=WAN1 new-connection-mark=WAN1_conn passthrough=yes
add action=mark-connection chain=input connection-state=new disabled=no
in-interface=WAN2 new-connection-mark=WAN2_conn passthrough=yes
add action=mark-connection chain=input connection-state=new disabled=no
in-interface=WAN3 new-connection-mark=WAN3_conn passthrough=yes
add action=mark-routing chain=output connection-mark=WAN1_conn disabled=no
new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN2_conn disabled=no
new-routing-mark=to_WAN2 passthrough=yes
add action=mark-routing chain=output connection-mark=WAN3_conn disabled=no
new-routing-mark=to_WAN3 passthrough=yes
add action=accept chain=prerouting disabled=no dst-address=192.168.1.0/24
in-interface=Local
add action=accept chain=prerouting disabled=no dst-address=192.168.2.0/24
in-interface=Local
add action=accept chain=prerouting disabled=no dst-address=10.5.50.0/24
in-interface=Local
add action=mark-connection chain=prerouting disabled=no dst-address-type=
!local in-interface=Local new-connection-mark=WAN1_conn passthrough=yes
per-connection-classifier=both-addresses-and-ports:3/0
add action=mark-connection chain=prerouting disabled=no dst-address-type=
!local in-interface=Local new-connection-mark=WAN2_conn passthrough=yes
per-connection-classifier=both-addresses-and-ports:3/1
add action=mark-connection chain=prerouting disabled=no dst-address-type=
!local in-interface=Local new-connection-mark=WAN3_conn passthrough=yes
per-connection-classifier=both-addresses-and-ports:3/2
add action=mark-routing chain=prerouting connection-mark=WAN1_conn disabled=
no in-interface=Local new-routing-mark=to_WAN1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN2_conn disabled=
no in-interface=Local new-routing-mark=to_WAN2 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=WAN3_conn disabled=
no in-interface=Local new-routing-mark=to_WAN3 passthrough=yes
add action=mark-connection chain=prerouting disabled=no dst-address=
192.168.1.0/24 in-interface=WAN1 new-connection-mark=wlan1 passthrough=
yes
add action=mark-connection chain=prerouting disabled=no dst-address=
10.5.50.0/24 in-interface=WAN3 new-connection-mark=wlan3 passthrough=yes
add action=mark-connection chain=prerouting disabled=no dst-address=
192.168.2.0/24 in-interface=WAN2 new-connection-mark=wlan2 passthrough=
yes
add action=mark-packet chain=prerouting connection-mark=wlan1 disabled=no
dst-address=192.168.1.0/24 in-interface=WAN1 new-packet-mark=wlan11
passthrough=yes
add action=mark-packet chain=prerouting connection-mark=wlan2 disabled=no
dst-address=192.168.2.0/24 in-interface=WAN2 new-packet-mark=wlan22
passthrough=yes
add action=mark-packet chain=prerouting connection-mark=wlan3 disabled=no
dst-address=10.5.50.0/24 in-interface=WAN3 new-packet-mark=wlan33
passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat disabled=no out-interface=WAN1
add action=masquerade chain=srcnat disabled=no out-interface=WAN2
add action=masquerade chain=srcnat disabled=no out-interface=WAN3
to-addresses=0.0.0.0
/ip route
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=
192.168.1.1 routing-mark=to_WAN1 scope=30 target-scope=10
add check-gateway=ping disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=
192.168.1.1 routing-mark=to_WAN1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=
192.168.2.1 routing-mark=to_WAN2 scope=30 target-scope=10
add check-gateway=ping disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=
192.168.2.1 routing-mark=to_WAN2 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=
10.5.50.1 routing-mark=to_WAN3 scope=30 target-scope=10
add check-gateway=ping disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=
10.5.50.1 routing-mark=to_WAN3 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=
192.168.1.1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=2 dst-address=0.0.0.0/0 gateway=
192.168.2.1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=3 dst-address=0.0.0.0/0 gateway=
10.5.50.1 scope=30 target-scope=10
in ecmp…
/ip address
add address=192.168.0.1/24 disabled=no interface=ether1 network=192.168.0.0
add address=192.168.2.2/24 disabled=no interface=wlan2 network=192.168.2.0
add address=192.168.1.2/24 disabled=no interface=wlan3 network=192.168.1.0
add address=10.5.50.2/24 disabled=no interface=wlan1 network=10.5.50.0
/ip firewall mangle
add action=mark-connection chain=input disabled=no in-interface=wlan1
new-connection-mark=wlan1_conn passthrough=yes
add action=mark-connection chain=input disabled=no in-interface=wlan2
new-connection-mark=wlan2_conn passthrough=yes
add action=mark-connection chain=input disabled=no in-interface=wlan3
new-connection-mark=wlan3_conn passthrough=yes
add action=mark-routing chain=output connection-mark=wlan1_conn disabled=no
new-routing-mark=to_wla1 passthrough=yes
add action=mark-routing chain=output connection-mark=wlan2_conn disabled=no
new-routing-mark=to_wla2 passthrough=yes
add action=mark-routing chain=output connection-mark=wlan3_conn disabled=no
new-routing-mark=to_wla3 passthrough=yes
add action=mark-connection chain=prerouting disabled=no in-interface=wlan1
new-connection-mark=wlan11 passthrough=yes
add action=mark-connection chain=prerouting disabled=no in-interface=wlan2
new-connection-mark=wlan22 passthrough=yes
add action=mark-connection chain=prerouting disabled=no in-interface=wlan3
new-connection-mark=wlan33 passthrough=yes
add action=mark-packet chain=prerouting connection-mark=wlan11 disabled=no
in-interface=wlan1 new-packet-mark=wlan11 passthrough=yes
add action=mark-packet chain=prerouting connection-mark=wlan33 disabled=no
in-interface=wlan3 new-packet-mark=wlan33 passthrough=yes
add action=mark-packet chain=prerouting connection-mark=wlan22 disabled=no
in-interface=wlan2 new-packet-mark=wlan22 passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat disabled=no out-interface=wlan1
add action=masquerade chain=srcnat disabled=no out-interface=wlan2
add action=masquerade chain=srcnat disabled=no out-interface=wlan3
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=10.5.50.1
routing-mark=to_wla1 scope=30 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.2.1
routing-mark=to_wla2 scope=30 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.1.1
routing-mark=to_wla3 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=
192.168.2.1,192.168.1.1,10.5.50.1 scope=30 target-scope=10
My nth configuration doesnt work so nothing to post on that
Anyone???