Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Aug 2004 16:41:13 +0530
From:      Siddhartha Jain <sid@netmagicsolutions.com>
To:        freebsd-questions@freebsd.org
Subject:   IPFW + Bridge + Dummynet
Message-ID:  <4114B8D1.2070508@netmagicsolutions.com>

next in thread | raw e-mail | index | archive | help
-----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@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-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4114B8D1.2070508>