Large scale NAT - problem resolved

veedee at c7.campus.utcluj.ro veedee at c7.campus.utcluj.ro
Wed Jan 28 13:45:08 PST 2004


On Wed, Jan 28, 2004 at 01:12:00PM -0800, Eli Dart wrote:
> 
> In reply to Andriy Korud <akorud at polynet.lviv.ua> :
> 
> > 
> > Hi,
> > At last I've managed to build stable NAT on FreeBSD box for 34Mbit link and
> > ~2000 clients (cable modem network).
> > At full speed (34Mbit) CPU usage is 0% and system load is 0.0 :-)
> > 
> > The solution was to find proper ip_nat.h file and properly define compile-time
> > parameters.
> 
> Hmmm....sorry if I missed it, but do you have a copy of the modified 
> file handy?  I'd be interested to see what tweaks are required for 
> this kind of config....

I think the only thing that you need to modify is to define LARGE_NAT in
ip_nat.h (and probably modify the tables, if you really feel like doing it).

> 
> Thanks,
> 
> 		--eli
> 
> 
> > 
> > Thanks all for you help,
> > 
> > Andriy Korud
> > 
> > 
> > _______________________________________________
> > freebsd-net at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
> > To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
> > 
> 
> 



-- 
| Radu Bogdan 'veedee' Rusu
| NetSysAdm at campus dot utcluj dot ro
| Personal gallery at http://rbrusu.com
| ...mirroring FreeBSD and coffee


More information about the freebsd-net mailing list