Bridging Ethernet to Wireless

Mike Bristow mike at urgle.com
Mon Mar 4 12:44:04 GMT 2002


On Mon, Mar 04, 2002 at 04:50:00AM +0100, David B Foulis wrote:
> I also have a machine set as a bridge it doesn't have a wireless card but 2 
> ethernet cards.

Note that there are two ways of doing bridging; that which uses
bridge(4), and that which uses netgraph.  You can set up
the latter by:

cp /usr/share/example/netgraph/ether.bridge \ 
		/usr/local/etc/rc.d/01.ether.bridge.sh
vi /usr/local/etc/rc.d/01.ether.bridge.sh

(the comments tell you that which you need to change)

But beware: someone I knew moved from one method to the other, and 
left his machine's config such that at boot-up BOTH methods of bridging 
were enabled.  Bad Things (tm) happened.  Don't do this.

-- 
Mike Bristow, embonpointful, but not managerial, damnit.





More information about the Ukfreebsd mailing list