Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2005 10:50:15 -0500 (CDT)
From:      "Reid Linnemann" <lreid@cs.okstate.edu>
To:        freebsd-questions@freebsd.org
Subject:   netgraph startup
Message-ID:  <20050623155015.CC6F0A0633@csa.cs.okstate.edu>

next in thread | raw e-mail | index | archive | help

I'm using netgraph to bridge a few interfaces on a -CURRENT system.
I've used the example bridge script
/usr/share/examples/netgraph/ether.bridge, and it works perfectly after
setting the interface vars.

However, there are no rc.d hooks (that I am aware of) that will kick off
netgraph scripts on system boot, forcing me to manually run the netgraph
script at each reboot. I'm sure I could hack the script to give it
rcorder keywords and handlers for rcng arguments, but that seems to be
an overworked solution. I'm curious, how have other netgraph users have
solved this problem?



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