❗️Toto je původní verze internetového fóra ISPforum.cz do února 2020 bez možnosti registrace nových uživatelů. Aktivní verzi fóra naleznete na adrese https://telekomunikace.cz

Queue len pre pripojenie do inetu

Místo, kde žádná otázka není hloupá.
Noxus28
Příspěvky: 439
Registrován: 13 years ago

Queue len pre pripojenie do inetu

Příspěvekod Noxus28 » 13 years ago

Ahoj pani. Mam velmi zaciatocnicku otazku ohladne "queues". Ako najednoduchsie vyriesit "shaping" na tiku na ktorom je 30 VLAN ale ja chcem orezavat iba tok smerom do/z internetu, nie medzi tymito VLAN. Je nutne pouzit packet mark alebo je jednoduchy sposob ktory som nenasiel? Popripade ak by mi niekto zhodnotil ci idem na to spravne podla prilozenych prikazov?
Dakujem velmi pekne.

mangle

Kód: Vybrat vše

 0   chain=forward action=mark-packet new-packet-mark=vlan1_up passthrough=yes
     src-address=192.168.0.0/24 dst-address=0.0.0.0/0 out-interface=ether1_WAN

 1   chain=forward action=mark-packet new-packet-mark=vlan10_up passthrough=yes
     src-address=192.168.10.0/24 dst-address=0.0.0.0/0 out-interface=ether1_WAN

 2   chain=forward action=mark-packet new-packet-mark=vlan1_down passthrough=yes
     src-address=0.0.0.0/0 dst-address=192.168.0.0/24 in-interface=ether1_WAN

 3   chain=forward action=mark-packet new-packet-mark=vlan10_down passthrough=yes
     src-address=0.0.0.0/0 dst-address=192.168.10.0/24 in-interface=ether1_WAN

queue

Kód: Vybrat vše

1    name="queue1" target-addresses="" interface=all parent=none
      packet-marks=vlan1_up direction=upload priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=60M/60M
      burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
      total-queue=default-small

 2    name="queue2" target-addresses="" interface=all parent=none
      packet-marks=vlan1_down direction=both priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=60M/60M
      burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
      total-queue=default-small

 3    name="queue3" target-addresses="" interface=all parent=none
      packet-marks=vlan10_up direction=upload priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=50M/0
      burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
      total-queue=default-small

 4    name="queue4" target-addresses="" interface=all parent=none
      packet-marks=vlan10_down direction=download priority=8
      queue=default-small/default-small limit-at=0/0 max-limit=0/50M
      burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s
      total-queue=default-small
0 x
MTCNA, MTCRE, MTCTCE a furt toho viem málo 🤓