IPFW2 tables Again

Evgeny Ivanov evgeny at sofia.itdnet.net
Wed Jul 21 23:43:39 PDT 2004



   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


More information about the freebsd-ipfw mailing list