نوشته اصلی توسط
mojtaba461
رنج ip هر پورت به چه صورته؟ nat و queue رو چطور نوشتید؟
تشکر
رنج ip خاصی ندادم
AP هم از DHCP میکروتیک از همون رنج داخلی ip میگیره
Nat هم : Masqerade - srcnat هست ، روی اینترفیس asiatech
====== ip-address
192.168.128.254/24 192.168.128.0 192.168.128.255 ether2-local-master
1 D 79.X.X.X/32 Y.Y.Y.Y 0.0.0.0 asiatech
====== interfaces
0 R ether1-gateway ether 1500 1526
1 R ether2-local-master ether 1500 1524
2 R cicso-bala ether 1500 1524
3 X ether4-local-slave ether 1500 1524
4 X ether5-local-slave ether 1500 1524
5 R asiatech pppoe-out 1480
====== queue
set default kind=pfifo name=default pfifo-limit=50
set ethernet-default kind=pfifo name=ethernet-default pfifo-limit=50
set wireless-default kind=sfq name=wireless-default sfq-allot=1514 sfq-perturb=5
set synchronous-default kind=red name=synchronous-default red-avg-packet=1000 red-burst=20 \
red-limit=60 red-max-threshold=50 red-min-threshold=10
set hotspot-default kind=sfq name=hotspot-default sfq-allot=1514 sfq-perturb=5
add kind=pcq name=download pcq-classifier=dst-address pcq-limit=50 pcq-rate=1200000 \
pcq-total-limit=2000
set default-small kind=pfifo name=default-small pfifo-limit=10
/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" direction=both disabled=yes \
dst-address=0.0.0.0/0 interface=all limit-at=0/0 max-limit=4M/4M name=local-download \
parent=none priority=8 queue=default-small/download time=0s-23h,sun,mon,tue,wed,thu,fri,sat \
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" direction=both disabled=no \
dst-address=0.0.0.0/0 interface=cicso-bala limit-at=0/0 max-limit=2M/2M name=queue1 parent=\
none priority=8 queue=default-small/download target-addresses=192.168.128.0/24 time=\
0s-23h,sun,mon,tue,wed,thu,fri,sat total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" direction=both disabled=no \
dst-address=0.0.0.0/0 interface=ether2-local-master limit-at=0/0 max-limit=2M/2M name=\
queue2 parent=none priority=8 queue=default-small/download target-addresses=\
192.168.128.0/24 time=0s-23h,sun,mon,tue,wed,thu,fri,sat total-queue=default-s