السلام عليكم
أهلا و سهلا بك في منتديات
صـوتـ بـلــدنــا
معلوماتنا تفيد بأنك غير مسجل أو لم تدخل اسم المستخدم الخاص بك
إذا أردت الدخول أو التسجيل تفضل من هنا ...
منتديات صوت بلدنا
السلام عليكم
أهلا و سهلا بك في منتديات
صـوتـ بـلــدنــا
معلوماتنا تفيد بأنك غير مسجل أو لم تدخل اسم المستخدم الخاص بك
إذا أردت الدخول أو التسجيل تفضل من هنا ...
منتديات صوت بلدنا
هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.
صوت بلدنا بني عبيد ميت فارس إسلاميات برامج دروس تعليم حماية شبكات اختراق هاك حوار جوال ألعاب ترفيه دعم تطوير دعاية إعلان ثقافة لغات أسرة مرأة طفل صحة رياضة إشهار سياسة أخبار قضايا قانون قصة شعر خواطر
المساهمات : 2341العمر : 35الموقع المفضل : صوت بلدنا فقط لا غيرالعمل أو الوظيفة : محاميالمزاج : قشطة و الحمد للهالسٌّمعَة : 35النقاط : : 71387تاريخ التسجيل : 02/03/2009
معلومات الاتصال
موضوع: رد: طريقه توزيع الانترنت باتساوي في الميكرويتك الخميس 29 أكتوبر 2009, 18:28
مشكور أخي hany farag
Equal Bandwidth for a Number of Users
Use PCQ type queue when you need to equalize the bandwidth [and set max limit] for a number of users. We will set the 64kbps download and 32kbps upload limits. [ندعوك للتسجيل في المنتدى أو التعريف بنفسك لمعاينة هذا الرابط] There are two ways how to make this: using mangle and queue trees, or, using simple queues. 1. Mark all packets with packet-mark all: /ip firewall mangle add chain=prerouting action=mark-packet new-packet-mark=all passthrough=no
2. Setup two PCQ queue types - one for download and one for upload. dst-address is classifier for user's download traffic, src-address for upload traffic: /queue type add name="PCQ_download" kind=pcq pcq-rate=64000 pcq-classifier=dst-address /queue type add name="PCQ_upload" kind=pcq pcq-rate=32000 pcq-classifier=src-address
3. Finally, two queue rules are required, one for download and one for upload: /queue tree add parent=global-in queue=PCQ_download packet-mark=all /queue tree add parent=global-out queue=PCQ_upload packet-mark=all
If you don't like using mangle and queue trees, you can skip step 1, do step 2, and step 3 would be to create one simple queue as shown here: /queue simple add queue=PCQ_upload/PCQ_download target-addresses=192.168.0.0/24 [ندعوك للتسجيل في المنتدى أو التعريف بنفسك لمعاينة هذا الرابط] Certain Bandwidth Equal Distribution between Users