Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2000 16:42:04 +0100 (CET)
From:      Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: enabling bridge-support in rc.conf?
Message-ID:  <200001031542.QAA31990@dorifer.heim3.tu-clausthal.de>
In-Reply-To: <84onfn$903$1@atlantis.rz.tu-clausthal.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Boris Staeblow wrote in list.freebsd-stable:
 > I´m missing an option in rc.conf like bridge_enable="YES"
 > or net.link.ether.bridge should be 1 by default if the
 > kernel-option BRIDGE is given.

This is how I do it:

cd /usr/local/etc/rc.d
echo "#!/bin/sh -" > bridge.sh
echo "sysctl -w net.link.ether.bridge=1" >> bridge.sh
chmod 755 bridge.sh

Personally I don't think every sysctl know should have an
equivalent entry in rc.conf, although bridging might be
common and important enough to warrant one.  After all,
there's one for IP forwarding, too.

Regards
   Oliver

-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de)

"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
                                         (Terry Pratchett)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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