IPFW + Bridge + Dummynet

Siddhartha Jain sid at netmagicsolutions.com
Sat Aug 7 04:11:17 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I read all the FAQs and stuff I could find after googling and got
IPFW+Bridging+Dummynet working but still wanted to confirm my config.

Some basic info:
==================
FreeBSD bsdband.netmagic.com 4.10-RELEASE FreeBSD 4.10-RELEASE #1: Fri
Aug  6 22:45:47 IST 2004
root at bsdband.netmagic.com:/usr/src/sys/compile/MYKERNEL  i386

At the tail of MYKERNEL config:
===============================
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_DEFAULT_TO_ACCEPT
options BRIDGE
options DUMMYNET
options HZ=1000

In /etc/sysctl.conf
===================
net.link.ether.bridge_cfg=ed0,rl0
net.link.ether.bridge=1
net.link.ether.bridge_ipfw=1
net.link.ether.ipfw=1
net.inet.ip.fw.one_pass=1
net.inet.ip.fw.enable=0

Now, I want to do bandwidth shaping by using the box as a bridge only. I
don't want any IP routing or firewalling to be done on the box. Are the
above parameters proper and appropriate?

Is there something else I should add for better performance etc?

Thanks,

Siddhartha




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBFLjROGaxOP7knVwRAs2RAJ93Yw7ReAgIr0sPMspIKYU6TcxV2ACfcN1j
VoJghkrtGmcERwsoDanBry4=
=NbTg
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list