Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 2004 09:43:44 +0300
From:      Evgeny Ivanov <evgeny@sofia.itdnet.net>
To:        freebsd-ipfw@freebsd.org
Subject:   IPFW2 tables Again
Message-ID:  <40FF6220.9030506@sofia.itdnet.net>

Next in thread | Raw E-Mail | Index | Archive | Help


   Hi all,

I have now the tables and ipfw2 but want to ask you for some details.

I have the following config:
In table 1 are added about 120 network addresses - from class B networks 
to single IP's. The idea is that
I want to create 2 different bandwidth limitations for addresses in the 
table and for all other addresses. What I did was:

ipfw add pipe 1 all from table(1) to 192.168.0.1 out via int-if  -  For 
IP's in table
ipfw add pipe 10 all from any to 192.168.0.1 out via int-if  -  For all 
other IP's
ipfw pipe 1 config bw 1Mbit/s
ipfw pipe 10 config bw 128Kbit/s

The question is: can I do it for about 200 users, and would that affect 
the machine performance.
Because the table will be checked many many times. Can you please advice 
me ?

Regards
Evgeny Ivanov



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?40FF6220.9030506>