I have some new information about this problem. Unfortunately, I still haven't solved it.
Today I discovered that by changing the NAT settings I am able to restore full internet speed.
If I select the "WAN interface" option in "Translation Address", the full speed appears. However, if I select "CARP WAN VIP", the speed drops to a few Mbit/s.
I recorded packets with wireshark from the WAN port.
Both IP addresses (IP Address from WAN interface and CARP WAN VIP)
come out with the same MAC Address.
Maybe this is the problem?
I tried to connect a switch + two routers to the cable from the ISP in which I set the same MAC Address but different IP addresses.
After starting the routers, they interfered with each other and worked interchangeably, but neither cut the other's speed. Maybe if they came out of the same physical device, there would be a different symptom.
Maybe it is somehow related to the ISP. But I can't confirm or deny it.
Does anyone have any ideas what it could be?