From: blik blik <blikb@mail.ru> To: shigorin@gmail.com, ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: Re: [Sysadmins] Утоснение для, как разделить поток на 128 kbit под каждого пользователя Date: Tue, 25 Dec 2007 18:34:03 +0300 Message-ID: <E1J7Bn9-000JJU-00.blikb-mail-ru@f161.mail.ru> (raw) In-Reply-To: <20071225104352.GW17636@osdn.org.ua> сделал все примерно так . Файл eth0′ со следующим содержимым DEFAULT=30 R2Q=100 Файл eth0-2.root' со следующим содержимым: # root class containing outgoing bandwidth RATE=2000Kbit Файл eth0-2:10.ssh' со следующим содержимым: # class for outgoing ssh RATE=64Kbit CEIL=2000Kbit LEAF=sfq RULE=*:22 PRIO=10 И, наконец, файл eth0-2:30.default' со следующим содержимым: # default class for outgoing traffic RATE=64Kbit CEIL=2000Kbit LEAF=sfq PRIO=30 Теперь, создаю набор файлов для управления входящим трафиком: Файл eth1′ со следующим содержимым: DEFAULT=30 R2Q=100 Файл eth1-2.root' со следующим содержимым: # root class containing incoming bandwidth RATE=2000Kbit Файл eth1-2:10.ssh' со следующим содержимым: # class for incoming ssh RATE=64Kbit CEIL=2000Kbit LEAF=sfq RULE=*:22, PRIO=10 Файл eth1-2:20.mytraf' # class for my incoming traffic RATE=64Kbit CEIL=2000Kbit LEAF=sfq RULE=10.10.0.7 # this is my ip PRIO=20 И файл eth1-2:30.default' # default class for outgoing traffic RATE=64Kbit CEIL=2000Kbit LEAF=sfq PRIO=30 В итоге подключаются 7 юзеров и 8 уже нет возможгости даже страничку открыть, да и остальным семи не сладко! Что делать что не так подскажите!
next prev parent reply other threads:[~2007-12-25 15:34 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-12-24 9:07 blik blik 2007-12-24 15:26 ` Alexey Shabalin 2007-12-24 16:06 ` Michael Shigorin 2007-12-24 19:10 ` blik blik 2007-12-24 19:17 ` Michael Shigorin 2007-12-24 20:43 ` blik blik 2007-12-24 21:50 ` blik blik 2007-12-25 10:43 ` Michael Shigorin 2007-12-25 15:34 ` blik blik [this message] 2007-12-25 15:50 ` blik blik 2007-12-25 9:08 ` Anton Gorlov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=E1J7Bn9-000JJU-00.blikb-mail-ru@f161.mail.ru \ --to=blikb@mail.ru \ --cc=shigorin@gmail.com \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git