MikroTik as two routers with one uplink

It was once necessary to divide the MikroTik RB2011iLS-IN into two separate routers in order to connect two users, while the uplink was one with two different IPs.
I solved this problem by throwing two VLANs to MikroTik, in each I assigned IP and configured two masquerades, and divided the ports with two bridges.

Continue reading “MikroTik as two routers with one uplink”

Solving the “Uncaught Doctrine\DBAL\DBALException: Failed to connect to the database” error in Nextcloud

Once upon a time after installing Nextcloud on Ubuntu Server, I noticed an error:

Continue reading “Solving the “Uncaught Doctrine\DBAL\DBALException: Failed to connect to the database” error in Nextcloud”

Monitoring Combined Network Interface Channels in Zabbix

I decided to add to Zabbix a check of the number of Combined channels of network interfaces, since when loading the server there could be different situations when my scripts changing their number were not always executed or were executed, but the value was reset during the system startup.

Continue reading “Monitoring Combined Network Interface Channels in Zabbix”

Distribution of network card interrupts across processor cores

I will give an example of the distribution of interrupt network interfaces on the processor cores.
For example, I’ll take a server with accel-ppp, 6Gb/s traffic, 500K + pps, nat with ipoe and 6000 dchp clients.
Also, be sure to disable hyper-threading in the BIOS, since load balancing on virtual cores can greatly increase the load on some physical cores.

Continue reading “Distribution of network card interrupts across processor cores”