Good afternoon! Excuse me for the long foreword..
We use x86 the computer on the basе of CoreDuo, network
cards - Marvel 8056, Realtek 8169. We receive from two
uplink two complete BGP tables and one more cut down. About 80 Mbit of
traffic totally, 20-30 kpps. The system is installed on USB
FlashDrive. The problem consists that through casual time the computer
hangs up. Does not reboot, it is not switched off - also all simply
freezes. Helps only reset. At first suspected hardware failure - have
substituted completely the computer on another. Has not helped. Have
then thought on network cards - tried different combinations - that
result. With periodicity from three till 18 o'clock mikrotik hangs.
Have then thought that version 3.17 is unstable - have transferred
consistently on 3.13 then on 3.11 - the same result. Hangs not at
o'clock of maximum loading - during absolutely casual time. Hangs even
at night when under schedules was all about 10 Mbit of Traffic Tried
to disable-enаble multicore - has not helped. On the same computer has
been installed Mikrotik with SATA HDD a disk which without problems
worked with terminate PPPTP tunnels of users (nearby 400
simultaneously) without any problems earlier.
I'm install version 3.17 to new SATA Drive and buy new level 5 license,
disable one bgp uplink (only one work). After 36hours router freeze. ;-((
As has officially bought two licences Level 5 from the microtic - I have tried to address to the limited technical support on e-mail. Has sent the necessary information and files. But useful except "Try another network adapter Intel for example" or "Try to disable multi core support" (though I wrote that already tried it) I have not received ANYTHING
The more I experimented - the understood that a problem in the software instead of in the equipment more.
By analogy with Cisco I use for blocking and a traffic distribution of users dynamic access lists which are formed each five minutes by a following script:
/ip firewall address-list set [find list=block_ip] list=block_ip_old
/ip firewall address-list remove [find list=block_ip]
/tool fetch address=192.168.11.1 mode=ftp src-path =/iplistupdate.rsc user=mikrotik password=mikrotik3
:delay 2
/import iplistupdate.rsc
/ip firewall address-list remove [find list=block_ip_old]
Further the given traffic was marked with the help mangle rules and pointed in blackhole a route.
Flags: X - disabled, I - invalid, D - dynamic
0 X;;; mark from block-ip
chain=prerouting action=mark-routeing new-routeing-mark=blackhole
passthrough=yes src-address-list=block_ip
1 X chain=prerouting action=mark-routeing new-routeing-mark=blackhole
passthrough=yes src-address-list=block_ip_old
2 X;;; mark to block-ip
chain=prerouting action=mark-routeing new-routeing-mark=blackhole
passthrough=yes dst-address-list=block_ip
3 X chain=prerouting action=mark-routeing new-routeing-mark=blackhole
passthrough=yes dst-address-list=block_ip_old
Also it is necessary for me outgoing traffic of users from subnet y.y.y.y to point strictly through a certain router.
For this purpose I use a following rule:
6;;; mark from old-static-network
chain=prerouting action=mark-routeing new-routeing-mark=from_old
passthrough=yes src-address-list=old_netw dst-address-list =! dmz_zone
in-interface=ether1
When I have switched off these rules - the router has ceased to hang and works without problems a week. But the matter is that this is necessary for me functionality. I realised blocking through Firewall but what to do with routeing on a source I do not know.
Besides I in general am afraid to use now mangle prerouting rules as I do not wish to leave without the Internet some thousand users. I read a subject here at a forum in which was spoken that use L7 of filters in a combination with prerouting rules led similar lags and I consider that at a problem common roots.
I will be glad if here somebody can help me.
Excuse for English - it is translated by the translator.