MikroTik’da Full‑Speed fayl uzatish uchun queue va Fasttrack

⏱ O‘qish vaqti: 3 daqiqa

Qisqacha

  • LAN1 ↔ LAN2 fayl uzatishda 150 Mbps cheklovini bartaraf etish.
  • SFQ queue turi yordamida Full‑Speed nomli oddiy queue yaratish.
  • Fasttrack funksiyasini yoqish orqali paketlar tezroq o‘tadi.
  • CPU yukini 36 % dan past darajada ushlab, maksimal 1 Gbps ga erishish.

LAN1 va LAN2 o‘rtasida fayl ko‘chirishda tezlik 150 Mbps ga cheklangan bo‘lishi mumkin. Bu holatni SFQ queue va Fasttrack yordamida maksimal 1 Gbps ga oshirish mumkin. Quyidagi sozlamalar RB750GR3 proxy qurilmasida ishlaydi.

Talablar

  • RB750GR3 router (proxy)
  • RouterOS ga administrator kirish huquqi
  • LAN1 (192.168.10.0/24) va LAN2 tarmoqlari mavjud
  • Basic firewall va queue tushunchalari

Sozlash bosqichlari

1. SFQ queue turini yaratish

/queue type bo‘limida Full-Speed nomli yangi queue turini qo‘shamiz. Bu tur sfq (Stochastic Fairness Queuing) bo‘lib, har bir oqimga adolatli band kengligini ta’minlaydi.

The case uses the RB750GR3 proxy
Port 1 for LAN 1, 1Gbps
Port 2 for LAN 2, 1Gbps
Gbps IP Local: 192.168.10.1 (possibly ftp or web server)

When copying files from LAN1 to LAN2, why is the maximum bandwidth only 150 mega bits / second or 15MB / s. Even though the proxy CPU resource is only 36% used, how do you get full speed and maximize the bandwidth?

The method is very easy: in a simple queue or queue tree, create a queue, for example FULL-SPEED, then use SFQ (Stochastic Fairness Queuing) in queue type.

/queue type 
add name=Full-Speed kind=sfq
/queue simple
add name="FULL-SPEED" queue=Full-Speed/Full-Speed target=192.168.10.0/24 total-queue=default
This method will be even more optimal if the Fasttrack function is activated.

/ip firewall filter 
add chain=forward action=fasttrack-connection connection-state=established,related
add chain=forward action=accept connection-state=established,related
Credit: www.o-om.com

2. Full‑Speed oddiy queue ni sozlash

/queue simple bo‘limida FULL-SPEED nomli oddiy queue yaratamiz. queue=Full-Speed/Full-Speed parametrini belgilab, target=192.168.10.0/24 subnetga qo‘llaniladi. Bu sozlama LAN1‑dan LAN2‑ga uzatish tezligini cheklovsiz qiladi.

The case uses the RB750GR3 proxy
Port 1 for LAN 1, 1Gbps
Port 2 for LAN 2, 1Gbps
Gbps IP Local: 192.168.10.1 (possibly ftp or web server)

When copying files from LAN1 to LAN2, why is the maximum bandwidth only 150 mega bits / second or 15MB / s. Even though the proxy CPU resource is only 36% used, how do you get full speed and maximize the bandwidth?

The method is very easy: in a simple queue or queue tree, create a queue, for example FULL-SPEED, then use SFQ (Stochastic Fairness Queuing) in queue type.

/queue type 
add name=Full-Speed kind=sfq
/queue simple
add name="FULL-SPEED" queue=Full-Speed/Full-Speed target=192.168.10.0/24 total-queue=default
This method will be even more optimal if the Fasttrack function is activated.

/ip firewall filter 
add chain=forward action=fasttrack-connection connection-state=established,related
add chain=forward action=accept connection-state=established,related
Credit: www.o-om.com

3. Fasttrack funksiyasini yoqish

/ip firewall filter bo‘limida ikki qoidani qo‘shamiz. Birinchi qoidada action=fasttrack-connection bilan connection-state=established,related holatidagi paketlar tezkor yo‘nalishga yuboriladi. Ikkinchi qoidada esa shu holatdagi paketlar oddiy accept qilinadi.

The case uses the RB750GR3 proxy
Port 1 for LAN 1, 1Gbps
Port 2 for LAN 2, 1Gbps
Gbps IP Local: 192.168.10.1 (possibly ftp or web server)

When copying files from LAN1 to LAN2, why is the maximum bandwidth only 150 mega bits / second or 15MB / s. Even though the proxy CPU resource is only 36% used, how do you get full speed and maximize the bandwidth?

The method is very easy: in a simple queue or queue tree, create a queue, for example FULL-SPEED, then use SFQ (Stochastic Fairness Queuing) in queue type.

/queue type 
add name=Full-Speed kind=sfq
/queue simple
add name="FULL-SPEED" queue=Full-Speed/Full-Speed target=192.168.10.0/24 total-queue=default
This method will be even more optimal if the Fasttrack function is activated.

/ip firewall filter 
add chain=forward action=fasttrack-connection connection-state=established,related
add chain=forward action=accept connection-state=established,related
Credit: www.o-om.com

Tekshirish

Fayl ko‘chirish testini bajarib, tezlik 1 Gbps ga yaqin bo‘lishini tekshiring.

Diqqat:

  • Fasttrack ba’zi firewall qoidalarini bypass qiladi, xavfsizlik siyosatini ko‘rib chiqing.
  • Queue nomi va target subnet to‘g‘ri belgilanganiga ishonch hosil qiling.

Xulosa

SFQ queue va Fasttrack yordamida fayl uzatish tezligini sezilarli darajada oshirish mumkin. Sozlamalarni qo‘llashdan oldin tarmoq diagrammasini tekshiring. Natija maksimal 1 Gbps ga yaqin bo‘lishi kerak.

Manba: Bypass Full Speed Locat Transfer File — mikrotiktool.github.io

0 0 ovozlar
Article Rating
Obuna boʻling
Xabar berish
guest

0 Comments
Eng avvalgi
Eng yangi Eng ko'p ovoz berilgan