como não consegui coloca em bridge os modens fiz roteado.  caso alguém saiba como fazer. me ajude...    

/interface ethernet
set 0 arp=enabled auto-negotiation=yes comment="25M CABOTELECON" disabled=no \
full-duplex=yes l2mtu=1600 mac-address=D4:CA:6D:75:C6:02 mtu=1500 name=ISP1 \
speed=100Mbps
set 1 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment=\
"60M NET" disabled=no full-duplex=yes l2mtu=1598 mac-address=\
D4:CA:6D:75:C6:03 master-port=none mtu=1500 name=ISP2 speed=100Mbps
set 2 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment=\
"38M CABOTELECON" disabled=no full-duplex=yes l2mtu=1598 mac-address=\
D4:CA:6D:75:C6:04 master-port=none mtu=1500 name=ISP3 speed=1Gbps
set 4 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment=\
SAIDA disabled=no full-duplex=yes l2mtu=1598 mac-address=D4:CA:6D:75:C6:06 \
master-port=none mtu=1500 name=Local speed=100Mbps
set 3 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=\
yes full-duplex=yes l2mtu=1598 mac-address=D4:CA:6D:75:C6:05 master-port=\
Local mtu=1500 name=ether4 speed=100Mbps

/ip address
add address=192.168.30.12/24 comment="NET 10MEGAS" disabled=no interface=ISP1 \
network=192.168.30.0
add address=192.168.0.12/24 comment="CABO 40MEGAS" disabled=no interface=ISP2 \
network=192.168.0.0
add address=192.168.18.1/24 comment=SAIDA disabled=no interface=Local network=\
192.168.18.0
add address=192.168.8.34/24 comment="NET 60M" disabled=no interface=ISP3 \
network=192.168.8.0
/ip dhcp-server config
set store-leases-disk=5m
/ip dns
set allow-remote-requests=no cache-max-ttl=1w cache-size=20480KiB \
max-udp-packet-size=512 servers=8.8.8.8,8.8.4.4


/ip firewall mangle
add action=change-mss chain=forward disabled=no new-mss=1452 passthrough=yes \
protocol=tcp tcp-flags=syn
add action=accept chain=prerouting comment=\
"====================================================================" \
disabled=no dst-address=192.168.18.0/24 src-address=192.168.18.0/24
add action=accept chain=prerouting disabled=no dst-address=192.168.0.0/24 \
src-address=192.168.18.0/24
add action=accept chain=prerouting disabled=no dst-address=192.168.30.0/24 \
src-address=192.168.18.0/24
add action=accept chain=prerouting disabled=no dst-address=192.168.8.0/24 \
src-address=192.168.18.0/24
add action=mark-connection chain=prerouting comment=\
"====================================================================" \
connection-mark=no-mark disabled=no in-interface=ISP1 new-connection-mark=\
ISP1_conn passthrough=yes
add action=mark-connection chain=prerouting connection-mark=no-mark disabled=no \
in-interface=ISP2 new-connection-mark=ISP2_conn passthrough=yes
add action=mark-connection chain=prerouting connection-mark=no-mark disabled=no \
in-interface=ISP3 new-connection-mark=ISP3_conn passthrough=yes
add action=jump chain=prerouting comment=\
"====================================================================" \
connection-mark=no-mark disabled=no in-interface=Local jump-target=\
policy_router
add action=mark-routing chain=prerouting comment=\
"====================================================================" \
connection-mark=ISP1_conn disabled=no new-routing-mark=ISP1_trafic \
passthrough=yes src-address=192.168.18.0/24
add action=mark-routing chain=prerouting connection-mark=ISP2_conn disabled=no \
new-routing-mark=ISP2_trafic passthrough=yes src-address=192.168.18.0/24
add action=mark-routing chain=prerouting connection-mark=ISP3_conn disabled=no \
new-routing-mark=ISP3_trafic passthrough=yes src-address=192.168.18.0/24
add action=mark-routing chain=output comment=\
"====================================================================" \
connection-mark=ISP1_conn disabled=no new-routing-mark=ISP1_trafic \
passthrough=yes
add action=mark-routing chain=output connection-mark=ISP2_conn disabled=no \
new-routing-mark=ISP2_trafic passthrough=yes
add action=mark-routing chain=output connection-mark=ISP3_conn disabled=no \
new-routing-mark=ISP3_trafic passthrough=yes
add action=mark-connection chain=policy_router comment="========================\
==========SAIDA ISP1==================================" disabled=no \
dst-address-type=!local new-connection-mark=ISP1_conn passthrough=yes \
per-connection-classifier=both-addresses:5/0
add action=mark-connection chain=policy_router comment="========================\
==========SAIDA ISP2==================================" disabled=no \
dst-address-type=!local new-connection-mark=ISP2_conn passthrough=yes \
per-connection-classifier=both-addresses:5/1
add action=mark-connection chain=policy_router comment="========================\
==========SAIDA ISP3==================================" disabled=no \
dst-address-type=!local new-connection-mark=ISP3_conn passthrough=yes \
per-connection-classifier=both-addresses:5/2
/ip firewall nat
add action=masquerade chain=srcnat disabled=no out-interface=ISP1
add action=masquerade chain=srcnat disabled=no out-interface=ISP2 to-addresses=\
0.0.0.0
add action=masquerade chain=srcnat disabled=no out-interface=ISP3


/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.30.1 \
routing-mark=ISP1_trafic scope=30 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.0.1 \
routing-mark=ISP2_trafic scope=30 target-scope=10
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.8.1 \
routing-mark=ISP3_trafic scope=30 target-scope=10
add check-gateway=ping comment=Rota_Link_2 disabled=no distance=2 dst-address=\
0.0.0.0/0 gateway=192.168.0.1 scope=30 target-scope=10
add check-gateway=ping comment=Rota_Link_1 disabled=no distance=3 dst-address=\
0.0.0.0/0 gateway=192.168.30.1 scope=30 target-scope=10
add check-gateway=ping comment=Rota_Link_3 disabled=no distance=4 dst-address=\
0.0.0.0/0 gateway=192.168.8.1 scope=30 target-scope=10

Para adicionar comentários, você deve ser membro de MK-AUTH.

Join MK-AUTH

Votos 0
Enviar-me um email quando as pessoas responderem –