Hi
I want to Merge 6 pppoe client input in one interface and out in one interface i have Rb750UP v6.4
IS this work with pcc or nth and what is the best I am a newbie in this things ![]()
sorry i forget is this script do the job for 4 pppoe client
*/interface pppoe-client
add ac-name=“” add-default-route=yes allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=in1 max-mru=1480 max-mtu=1480 mrru=disabled name=pppoe-out1 password=xxxxxx profile=default service-name=“” use-peer-dns=no user=xxxxxx
add ac-name=“” add-default-route=yes allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=in2 max-mru=1480 max-mtu=1480 mrru=disabled name=pppoe-out2 password=xxxxxx profile=default service-name=“” use-peer-dns=no user=xxxxxx
add ac-name=“” add-default-route=yes allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=in3 max-mru=1480 max-mtu=1480 mrru=disabled name=pppoe-out3 password=xxxxxx profile=default service-name=“” use-peer-dns=no user=xxxxxx
add ac-name=“” add-default-route=yes allow=pap,chap,mschap1,mschap2 dial-on-demand=no disabled=no interface=in4 max-mru=1480 max-mtu=1480 mrru=disabled name=pppoe-out4 password=xxxxxx profile=default service-name=“” use-peer-dns=no user=xxxxxx
/ip firewall mangle
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local in-interface=out new-connection-mark=in1_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:4/0
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local in-interface=out new-connection-mark=in2_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:4/1
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local in-interface=out new-connection-mark=in3_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:4/2
add action=mark-connection chain=prerouting disabled=no dst-address-type=!local in-interface=out new-connection-mark=in4_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:4/3
add action=mark-routing chain=prerouting connection-mark=in1_conn disabled=no in-interface=out new-routing-mark=in1 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=in2_conn disabled=no in-interface=out new-routing-mark=in2 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=in3_conn disabled=no in-interface=out new-routing-mark=in3 passthrough=yes
add action=mark-routing chain=prerouting connection-mark=in4_conn disabled=no in-interface=out new-routing-mark=in4 passthrough=yes
/ip firewall nat
add action=masquerade chain=srcnat disabled=no out-interface=pppoe-out1
add action=masquerade chain=srcnat disabled=no out-interface=pppoe-out2
add action=masquerade chain=srcnat disabled=no out-interface=pppoe-out3
add action=masquerade chain=srcnat disabled=no out-interface=pppoe-out4
/ip route
add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=in1 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=2 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=in2 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=3 dst-address=0.0.0.0/0 gateway=pppoe-out3 routing-mark=in3 scope=30 target-scope=10
add check-gateway=ping disabled=no distance=4 dst-address=0.0.0.0/0 gateway=pppoe-out4 routing-mark=in4 scope=30 target-scope=10
*