Si c'est une vrai passerelle, et pas "seulement" du routage:
19.5.4 Enabling the Bridge
Add the line:
net.link.ether.bridge=1 to /etc/sysctl.conf
to enable the bridge at runtime, and the line:
net.link.ether.bridge_cfg=if1,if2
to enable bridging on the specified interfaces (replace if1 and if2 with the names of your two network interfaces). If you want the bridged packets to be filtered by ipfw(8), you should add:
net.link.ether.bridge_ipfw=1
as well.
For FreeBSD 5.2-RELEASE and later, use instead the following lines:
net.link.ether.bridge.enable=1
net.link.ether.bridge.config=if1,if2
net.link.ether.bridge.ipfw=1
Poste le Tuesday 15 June 2004 22:31:32