Несколько раз видел темы с подобным вопросом.
опишу как у меня получилось подключить Центртелеком FTTx и Билайн.
пост можно квалифицировать как чайник пишет чайнику, и для себя, чтобы не забыть, что делал, если после очередного обновления все слетит
Фотки роутера Переделал все по новой, подхватываются оба провайдера, обе локалки видно, если один отваливается связь не пропадает, пакеты ходят как надо (аська не отваливается). retrecker.local подхватывается локальные пиры с обоих сеток.
и можно прозрачный www прокси включить, как появится microSD карта
ночью скорость устанавливается скорость 2:1 у каналов центртелеком и корбина, днем 1:1
если кто будет ковыряться с подобными штуковинами и не будет получаться - пишите в личку
Код # sep/14/2010 22:14:47 by RouterOS 5.0beta2 # /interface bridge add admin-mac=00:00:00:00:00:00 ageing-time=5m arp=enabled auto-mac=yes \ disabled=no forward-delay=15s l2mtu=1524 max-message-age=20s mtu=1500 \ name=bridge priority=0x8000 protocol-mode=none transmit-hold-count=6 /interface ethernet set 0 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited \ disabled=no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:54:AB:88 \ master-port=none mtu=1500 name=ether1-wan-CentrTelecom speed=100Mbps set 1 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited \ disabled=no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:54:AB:89 \ master-port=none mtu=1500 name=ether2-wan-Corbina speed=100Mbps set 2 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited \ disabled=no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:54:AB:8A \ master-port=none mtu=1500 name=ether3-local speed=100Mbps set 3 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited \ disabled=no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:54:AB:8B \ master-port=none mtu=1500 name=ether4-local speed=100Mbps set 4 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited \ disabled=no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:54:AB:8C \ master-port=none mtu=1500 name=ether5-local speed=100Mbps /interface ethernet switch set switch1 mirror-source=none mirror-target=none name=switch1 \ switch-all-ports=yes /ip ipsec proposal set default auth-algorithms=sha1 disabled=no enc-algorithms=3des lifetime=30m \ name=default pfs-group=modp1024 /ip pool add name=default-dhcp ranges=192.168.88.10-192.168.88.254 /ip dhcp-server add address-pool=default-dhcp authoritative=after-2sec-delay bootp-support=\ static disabled=no interface=bridge lease-time=3d name=default /port set 0 baud-rate=auto data-bits=8 flow-control=none name=serial0 parity=none \ stop-bits=1 /ppp profile set default change-tcp-mss=yes name=default only-one=default remote-address=\ 192.168.201.1 use-compression=default use-encryption=default use-mpls=\ default use-vj-compression=default add change-tcp-mss=yes name=Corbina only-one=default remote-address=\ 192.168.200.1 use-compression=no use-encryption=no use-mpls=default \ use-vj-compression=no set default-encryption change-tcp-mss=yes name=default-encryption only-one=\ default use-compression=default use-encryption=yes use-mpls=default \ use-vj-compression=default /interface pppoe-client add ac-name="" add-default-route=no allow=pap,chap dial-on-demand=no \ disabled=no interface=ether1-wan-CentrTelecom max-mru=1480 max-mtu=1480 \ mrru=disabled name=pppoe-CenterTelecom password=XXXXXX profile=default \ service-name="" use-peer-dns=no user=ADSLXXXXX /interface l2tp-client add add-default-route=no allow=pap,chap,mschap1,mschap2 connect-to=\ 85.21.208.230 dial-on-demand=no disabled=no max-mru=1420 max-mtu=1420 \ mrru=disabled name=corbina-l2tp password=XXXXXXXX profile=Corbina user=\ 089XXXXXXX /queue type set default kind=pfifo name=default pfifo-limit=50 set ethernet-default kind=pfifo name=ethernet-default pfifo-limit=50 set wireless-default kind=sfq name=wireless-default sfq-allot=1514 \ sfq-perturb=5 set synchronous-default kind=red name=synchronous-default red-avg-packet=1000 \ red-burst=20 red-limit=60 red-max-threshold=50 red-min-threshold=10 set hotspot-default kind=sfq name=hotspot-default sfq-allot=1514 sfq-perturb=\ 5 set default-small kind=pfifo name=default-small pfifo-limit=10 /interface bridge port add bridge=bridge disabled=no edge=auto external-fdb=auto horizon=none \ interface=ether3-local path-cost=10 point-to-point=auto priority=0x80 add bridge=bridge disabled=no edge=auto external-fdb=auto horizon=none \ interface=ether4-local path-cost=10 point-to-point=auto priority=0x80 add bridge=bridge disabled=no edge=auto external-fdb=auto horizon=none \ interface=ether5-local path-cost=10 point-to-point=auto priority=0x80 /interface bridge settings set use-ip-firewall=no use-ip-firewall-for-pppoe=no use-ip-firewall-for-vlan=\ no /ip address add address=192.168.88.1/24 broadcast=192.168.88.255 comment=\ "default configuration" disabled=no interface=bridge network=192.168.88.0 /ip dhcp-client add disabled=no interface=ether2-wan-Corbina /ip dhcp-server config set store-leases-disk=5m /ip dhcp-server network add address=192.168.88.0/24 comment="default configuration" dns-server=\ 192.168.88.1 gateway=192.168.88.1 /ip dns set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB \ max-udp-packet-size=512 servers=\ 213.234.192.8,85.21.192.3,87.253.13.14,217.15.134.62 /ip dns static add address=192.168.88.1 disabled=no name=router ttl=1d add address=85.21.79.39 disabled=no name=retracker.local ttl=1d add address=217.15.134.85 disabled=no name=retracker.local ttl=1d /ip firewall filter add action=accept chain=input comment="Added by webbox" disabled=no protocol=\ icmp add action=accept chain=input comment="Added by webbox" connection-state=\ established disabled=no in-interface=pppoe-CenterTelecom add action=accept chain=input comment="Added by webbox" connection-state=\ established disabled=no in-interface=corbina-l2tp add action=accept chain=input comment="Added by webbox" connection-state=\ related disabled=no in-interface=pppoe-CenterTelecom add action=accept chain=input comment="Added by webbox" connection-state=\ related disabled=no in-interface=corbina-l2tp add action=drop chain=input comment="Added by webbox" disabled=no \ in-interface=pppoe-CenterTelecom add action=drop chain=input comment="Added by webbox" disabled=no \ in-interface=corbina-l2tp /ip firewall mangle add action=mark-connection chain=input disabled=no in-interface=\ pppoe-CenterTelecom new-connection-mark=pppoe_conn passthrough=yes add action=mark-connection chain=input disabled=no in-interface=corbina-l2tp \ new-connection-mark=l2tp_conn passthrough=yes add action=mark-routing chain=output connection-mark=pppoe_conn disabled=no \ new-routing-mark=to_pppoe passthrough=yes add action=mark-routing chain=output connection-mark=l2tp_conn disabled=no \ new-routing-mark=to_l2tp passthrough=yes /ip firewall nat add action=redirect chain=dstnat disabled=yes dst-port=80 protocol=tcp \ to-ports=8000 add action=masquerade chain=srcnat comment="Added by webbox" disabled=no \ out-interface=pppoe-CenterTelecom add action=masquerade chain=srcnat disabled=no out-interface=\ ether2-wan-Corbina add action=masquerade chain=srcnat disabled=no out-interface=corbina-l2tp /ip route add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.201.1 \ routing-mark=to_pppoe scope=30 target-scope=10 add disabled=no distance=1 dst-address=0.0.0.0/0 gateway=192.168.200.1 \ routing-mark=to_l2tp scope=30 target-scope=10 add check-gateway=ping disabled=no distance=1 dst-address=0.0.0.0/0 gateway=\ 192.168.200.1,192.168.201.1 scope=30 target-scope=10 # # # add comment=corbina disabled=yes distance=1 dst-address=0.0.0.0/0 gateway=\ 10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=10.0.0.0/8 gateway=\ 10.248.0.1 scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=77.234.0.0/20 \ gateway=192.168.201.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=78.107.52.0/24 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=78.107.220.0/28 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=83.102.250.50/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add disabled=no distance=1 dst-address=85.21.0.0/16 gateway=10.248.0.1 scope=\ 30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=85.21.72.80/28 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=85.21.78.46/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=85.21.78.93/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=85.21.78.139/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=85.21.79.5/32 gateway=\ 10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=85.21.79.9/32 gateway=\ 10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=85.21.79.12/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=85.21.79.34/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=85.21.79.38/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=85.21.79.39/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=85.21.79.170/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina/yaroslavl.biz disabled=no distance=1 dst-address=\ 85.21.192.3/32 gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=85.21.208.0/24 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=85.113.192.0/20 \ gateway=192.168.201.1 scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=87.253.0.0/20 \ gateway=192.168.201.1 scope=30 target-scope=10 add disabled=no distance=1 dst-address=87.253.13.14/32 gateway=\ pppoe-CenterTelecom scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=87.253.16.0/21 \ gateway=192.168.201.1 scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=89.113.144.0/21 \ gateway=192.168.201.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=89.179.135.66/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=89.179.135.67/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=89.179.179.2/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=89.179.179.5/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add disabled=no distance=1 dst-address=91.213.39.2/32 gateway=10.248.0.1 \ scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=91.213.39.3/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=93.181.192.0/19 \ gateway=192.168.201.1 scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=93.181.224.0/20 \ gateway=192.168.201.1 scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=95.86.192.0/20 \ gateway=192.168.201.1 scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=95.86.208.0/21 \ gateway=192.168.201.1 scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=95.86.224.0/19 \ gateway=192.168.201.1 scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=109.161.56.0/24 \ gateway=192.168.201.1 scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=109.161.60.0/22 \ gateway=192.168.201.1 scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=109.161.64.0/18 \ gateway=192.168.201.1 scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=172.16.0.0/12 \ gateway=192.168.201.1 scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=192.168.0.0/16 \ gateway=192.168.201.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=194.67.1.32/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=194.67.1.114/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=194.67.1.203/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=194.67.1.204/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=195.14.50.16/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=195.14.50.21/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=195.14.50.26/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=195.14.50.93/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add disabled=no distance=1 dst-address=213.234.192.8/32 gateway=10.248.0.1 \ scope=30 target-scope=10 add comment=CenterTelecom disabled=no distance=1 dst-address=217.15.128.0/19 \ gateway=192.168.201.1 scope=30 target-scope=10 add disabled=no distance=1 dst-address=217.15.134.62/32 gateway=\ pppoe-CenterTelecom scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=217.118.84.213/32 \ gateway=10.248.0.1 scope=30 target-scope=10 add comment=corbina disabled=no distance=1 dst-address=217.118.84.249/32 \ gateway=10.248.0.1 scope=30 target-scope=10 /ip service set telnet address=0.0.0.0/0 disabled=yes port=23 set ftp address=0.0.0.0/0 disabled=yes port=21 set www address=0.0.0.0/0 disabled=yes port=80 set ssh address=0.0.0.0/0 disabled=no port=22 set www-ssl address=0.0.0.0/0 certificate=none disabled=yes port=443 set api address=0.0.0.0/0 disabled=yes port=8728 set winbox address=0.0.0.0/0 disabled=yes port=8291 /system clock set time-zone-name=Europe/Moscow /system ntp client set enabled=yes mode=unicast primary-ntp=207.46.232.182 secondary-ntp=\ 192.43.244.18 /system scheduler add disabled=no interval=20s name=corbina-l2tp_soft_refresh on-event=\ "/system script run corbina-l2tp_soft_refresh" policy=\ reboot,read,write,policy,test start-date=sep/12/2010 start-time=00:00:00 add disabled=no interval=0s name=corbina-l2tp_refresh on-event=\ "/system script run corbina-l2tp_refresh" policy=\ reboot,read,write,policy,test start-date=sep/13/2010 start-time=04:30:00 add disabled=no interval=1d name=night_speed on-event="/ip route set gateway=1\ 92.168.200.1,192.168.201.1,192.168.201.1 numbers=2" policy=\ reboot,read,write,policy,test start-date=jan/01/1970 start-time=00:00:01 add disabled=no interval=1d name=schedule1 on-event=\ "/ip route set gateway=192.168.200.1,192.168.201.1 numbers=2" policy=\ reboot,read,write,policy,test start-date=jan/01/1970 start-time=07:00:01 /system script add name=corbina-l2tp_soft_refresh policy=ftp,read,write,winbox source=":local\ \_interface \"corbina-l2tp\"\r\ \n:local vpnserver \"tp.internet.beeline.ru\"\r\ \n#:log debug message=\"Soft resolv script run\"\r\ \n:if ([/interface l2tp-client get \$interface running] = false) do={\r\ \n :log info message=\"VPN down. Refreshing\"\r\ \n /ip dns cache flush\r\ \n :local \"current-ip\" [:resolve \$vpnserver]\r\ \n :local \"old-ip\" [/interface l2tp-client get [/interface l2tp-client f\ ind name=\"\$interface\"] connect-to]\r\ \n :if (\$\"current-ip\" != \$\"old-ip\") do= {\r\ \n :log info \"VPN Server changed IP address from \$\"old-ip\" to \$\"curr\ ent-ip\"\"\r\ \n /interface l2tp-client set [/interface l2tp-client find name=\"\$interf\ ace\"] connect-to=\$\"current-ip\"\r\ \n }\r\ \n}" add name=corbina-l2tp_refresh policy=ftp,read,write,winbox source=":local inte\ rface \"corbina-l2tp\"\r\ \n:local vpnserver \"tp.internet.beeline.ru\"\r\ \n:log debug message=\"Hard resolv script run\"\r\ \n#:if ([/interface l2tp-client get \$interface running] = false) do={\r\ \n /ip dns cache flush\r\ \n :local \"current-ip\" [:resolve \$vpnserver]\r\ \n :local \"old-ip\" [/interface l2tp-client get [/interface l2tp-client f\ ind name=\"\$interface\"] connect-to]\r\ \n :if (\$\"current-ip\" != \$\"old-ip\") do= {\r\ \n :log info \"VPN Server changed IP address from \$\"old-ip\" to \$\"curr\ ent-ip\"\"\r\ \n /interface l2tp-client set [/interface l2tp-client find name=\"\$interf\ ace\"] connect-to=\$\"current-ip\"\r\ \n }\r\ \n#}"