Date: Sun, 12 May 2002 15:26:01 +0200 From: Alex <freebsd@akruijff.dds.nl> To: Walid Nehme <walidn@yahoo.com> Cc: luigi@iet.unipi.it, freebsd questions <freebsd-questions@freebsd.org> Subject: Traffic shape quistion [was: Plz help as much as u can.] Message-ID: <5312320606.20020512152601@dds.nl> In-Reply-To: <20020510123427.70400.qmail@web10001.mail.yahoo.com> References: <20020510123427.70400.qmail@web10001.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Walid, Friday, May 10, 2002, 2:34:27 PM, you wrote: WN> Dear sir. WN> I found ur email in man dummynet, and need ur help. WN> I have 3 download satellites and a microwave connection, WN> providing internet to a huge number of users. WN> i want to make shapping for the traffic to control my WN> outbound and inbound. WN> the problem is that my outbound is 128kbit/s and when many WN> users chat or send files my network stop working. WN> i read many documents about dummy and couldnt find any WN> theory that help me assigning the delay and queue so that WN> my network will work smooth, even i couldnt understand what WN> delay and queue are used for. Delay and droprate can be used to simulate existing lines. You don't wanna use this. WN> my firewall rules are. WN> ipfw add pipe 1 ip from 10.20.0.0/16 to any out WN> ipfw add pipe 2 ip from any to 10.20.0.0/16 in WN> ipfw pipe 1 config bw 3 KBytes/s WN> ipfw pipe 2 config bw 40 KBytes/s This says all users use the same pipe. You want something like this: ipfw add pipe 1 ip from 192.168.2.0/24 to any out ipfw add pipe 2 ip from any to 192.168.2.0/24 in ipfw pipe 1 config mask src-ip 0x000000ff bw 200Kbit/s queue 20Kbytes ipfw pipe 2 config mask dst-ip 0x000000ff bw 200Kbit/s queue 20Kbytes For more info: man ipfw WN> And tell me plz how to decide what value should i give WN> these options WN> if my networkcard is realtek 8139 and a p4 prossessor 1.5 G WN> 128mb sdram. and hdd 40G seagate. WN> NMBCLUSTERS - set the amount of network packet buffers WN> HZ - sets the timer granularity -- Best regards, Alex *** Links *** How to get the best results from FreeBSD questions. http://www.lemis.com/questions.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5312320606.20020512152601>