bridge.ko, sysctrl.conf and ifconfig_XXX_name,
SCSI as a boot device
Brooks Davis
brooks at one-eyed-alien.net
Mon Jun 19 18:14:52 UTC 2006
On Mon, Jun 19, 2006 at 05:38:43PM +0300, Todor Dragnev wrote:
> Hello list,
> I have two minor problems:
>
> First one:
>
> I want to make bridging on two of my interfaces but have problem when I use
> ifconfig_XXX_name directrive in rc.conf . After each restart of machine I
> must enter manually commands for sysctrl to enable bridging.
>
> After reboot dmesg shows:
> interface net0 Not found in bridge
> interface net2 Not found in bridge
>
> /etc/rc.conf:
> ifconfig_rl0_name="net0"
> ifconfig_rl1_name="net1"
> ifconfig_rl2_name="net2"
>
> /etc/sysctrl.conf:
> net.link.ether.bridge.enable=1
> net.link.ether.bridge.config=net0,net2
/etc/sysctl.conf is processed really early in the startup process so the
renaming hasn't happend yet. Using the origional names would work, but
would be confusing. If you want the naming, I'd suggest switching to
if_bridge which can be configured entierly using rc.conf variables.
-- Brooks
--
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060619/df26cf35/attachment.pgp
More information about the freebsd-stable
mailing list