Привет всем! У меня возникла проблема с моим роутером MikroTik RouterBOARD 750S (скорее всего, я виноват). Я настроил две разные PPPoe-соединения, которые подключаются к двум разным модемам на отдельных портах. Проблема в том, что одно PPPOE почти "зависает", если можно так выразиться. Оно подключено, но трафик по нему не идет. Вот моя конфигурация (на время предотвращения каких-либо проблем я отключил PPPOE):
`Interface:`
`/interface ethernet`
`set 0 arp=enabled auto-negotiation=yes disabled=no full-duplex=yes l2mtu=1600 mac-address=00:0C:42:F0:0F:F4 mtu=1500 name=ether1 speed=100Mbps`
`set 1 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:F0:0F:F5 master-port=none mtu=1500 name=ether2 speed=100Mbps`
`set 2 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment= “To 7.2” disabled=no full-duplex=yes l2mtu=1598 mac-address= 00:0C:42:F0:0F:F6 master-port=none mtu=1500 name=ether3 speed=100Mbps`
`set 3 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment= “To 8.2” disabled=no full-duplex=yes l2mtu=1598 mac-address= 00:0C:42:F0:0F:F7 master-port=none mtu=1500 name=ether4 speed=100Mbps`
`set 4 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment= LAN disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:F0:0F:F8 master-port=none mtu=1500 name=ether5 speed=100Mbps`
`/interface pppoe-client`
`add ac-name=“” add-default-route=no allow=pap,chap,mschap1,mschap2 comment= “AFRI ACC” dial-on-demand=no disabled=no interface=ether3 max-mru= 1480 max-mtu=1480 mrru=disabled name=pppoe-out2 password=###### profile=default service-name=“” use-peer-dns=no user= #####@#####`
`add ac-name=“” add-default-route=no allow=pap,chap,mschap1,mschap2 comment= “LAN ACC” dial-on-demand=no disabled=yes interface=ether4 max-mru= 1480 max-mtu=1480 mrru=disabled name=pppoe-out1 password=###### profile=default service-name=“” use-peer-dns=no user= ####@#######`
`Routes`
`/ip route`
`add disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=main_route scope=30 target-scope=10`
`add disabled=no distance=20 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=main_route scope=30 target-scope=10`
`add disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=secon_route scope=30 target-scope=10`
`add disabled=no distance=20 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=secon_route scope=30 target-scope=10`
`add disabled=no distance=30 dst-address=0.0.0.0/0 gateway=pppoe-out2 scope=30 target-scope=10`
`add disabled=no distance=1 dst-address=192.168.1.0/24 gateway=192.168.0.10 scope=30 target-scope=10`
`add disabled=no distance=1 dst-address=192.168.5.0/24 gateway=192.168.0.10 scope=30 target-scope=10`
`Mangle`
`/ip firewall mangle`
`add action=mark-connection chain=prerouting comment=“##### PPPOE” disabled=no in-interface=pppoe-out2 new-connection-mark=main_con passthrough=yes`
`add action=mark-connection chain=forward disabled=no in-interface=pppoe-out2 new-connection-mark=main_con passthrough=yes`
`add action=mark-routing chain=output connection-mark=main_con disabled=no new-routing-mark=main_route passthrough=yes`
`add action=mark-routing chain=prerouting connection-mark=main_con disabled=no in-interface=!pppoe-out2 new-routing-mark=main_route passthrough=yes`
`add action=mark-connection chain=prerouting comment=“##### PPPOE” disabled= no in-interface=pppoe-out1 new-connection-mark=secon_con passthrough=yes`
`add action=mark-connection chain=forward disabled=no in-interface=pppoe-out1 new-connection-mark=secon_con passthrough=yes`
`add action=mark-routing chain=output connection-mark=secon_con disabled=no new-routing-mark=secon_route passthrough=yes`
`add action=mark-routing chain=prerouting connection-mark=secon_con disabled= no in-interface=!pppoe-out1 new-routing-mark=secon_route passthrough=yes`
`Interface:`
`/interface ethernet`
`set 0 arp=enabled auto-negotiation=yes disabled=no full-duplex=yes l2mtu=1600 mac-address=00:0C:42:F0:0F:F4 mtu=1500 name=ether1 speed=100Mbps`
`set 1 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:F0:0F:F5 master-port=none mtu=1500 name=ether2 speed=100Mbps`
`set 2 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment= “To 7.2” disabled=no full-duplex=yes l2mtu=1598 mac-address= 00:0C:42:F0:0F:F6 master-port=none mtu=1500 name=ether3 speed=100Mbps`
`set 3 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment= “To 8.2” disabled=no full-duplex=yes l2mtu=1598 mac-address= 00:0C:42:F0:0F:F7 master-port=none mtu=1500 name=ether4 speed=100Mbps`
`set 4 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited comment= LAN disabled=no full-duplex=yes l2mtu=1598 mac-address=00:0C:42:F0:0F:F8 master-port=none mtu=1500 name=ether5 speed=100Mbps`
`/interface pppoe-client`
`add ac-name=“” add-default-route=no allow=pap,chap,mschap1,mschap2 comment= “AFRI ACC” dial-on-demand=no disabled=no interface=ether3 max-mru= 1480 max-mtu=1480 mrru=disabled name=pppoe-out2 password=###### profile=default service-name=“” use-peer-dns=no user= #####@#####`
`add ac-name=“” add-default-route=no allow=pap,chap,mschap1,mschap2 comment= “LAN ACC” dial-on-demand=no disabled=yes interface=ether4 max-mru= 1480 max-mtu=1480 mrru=disabled name=pppoe-out1 password=###### profile=default service-name=“” use-peer-dns=no user= ####@#######`
`Routes`
`/ip route`
`add disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=main_route scope=30 target-scope=10`
`add disabled=no distance=20 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=main_route scope=30 target-scope=10`
`add disabled=no distance=10 dst-address=0.0.0.0/0 gateway=pppoe-out1 routing-mark=secon_route scope=30 target-scope=10`
`add disabled=no distance=20 dst-address=0.0.0.0/0 gateway=pppoe-out2 routing-mark=secon_route scope=30 target-scope=10`
`add disabled=no distance=30 dst-address=0.0.0.0/0 gateway=pppoe-out2 scope=30 target-scope=10`
`add disabled=no distance=1 dst-address=192.168.1.0/24 gateway=192.168.0.10 scope=30 target-scope=10`
`add disabled=no distance=1 dst-address=192.168.5.0/24 gateway=192.168.0.10 scope=30 target-scope=10`
`Mangle`
`/ip firewall mangle`
`add action=mark-connection chain=prerouting comment=“##### PPPOE” disabled=no in-interface=pppoe-out2 new-connection-mark=main_con passthrough=yes`
`add action=mark-connection chain=forward disabled=no in-interface=pppoe-out2 new-connection-mark=main_con passthrough=yes`
`add action=mark-routing chain=output connection-mark=main_con disabled=no new-routing-mark=main_route passthrough=yes`
`add action=mark-routing chain=prerouting connection-mark=main_con disabled=no in-interface=!pppoe-out2 new-routing-mark=main_route passthrough=yes`
`add action=mark-connection chain=prerouting comment=“##### PPPOE” disabled= no in-interface=pppoe-out1 new-connection-mark=secon_con passthrough=yes`
`add action=mark-connection chain=forward disabled=no in-interface=pppoe-out1 new-connection-mark=secon_con passthrough=yes`
`add action=mark-routing chain=output connection-mark=secon_con disabled=no new-routing-mark=secon_route passthrough=yes`
`add action=mark-routing chain=prerouting connection-mark=secon_con disabled= no in-interface=!pppoe-out1 new-routing-mark=secon_route passthrough=yes`
