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
pgp7uA3pAqIdP.pgp
Description: PGP signature
