Netgraph at startup - rc.conf ?

Norikatsu Shigemura nork at
Thu Jan 25 16:14:28 UTC 2007

On Thu, 25 Jan 2007 15:36:33 +0000
Pete French <petefrench at> wrote:
> I have a machine with two interfaces in it - bge0 and beg1. I now
> find I need to usse ng_fec to make these into one interface due to
> the way out networking contractors are installign a new site.
> Seems like no problem from the command line, but what I can't
> find anywhere in the documentation is how to make this happen
> at boot time using rc.conf. I am assuming my line which
> looks like:
> 	ifconfig_em0="inet netmask"
> becomes
> 	ifconfig_fec0="inet netmask"
> but obviously I need to do something to create fec0 before
> that happens. Preseumably something like cloned_interfaces="fce0",
> but where does it get the parameters from to create the interface ?


	If you apply this patch, you can use ng_fec like following
	in your /etc/rc.conf:

	fecconfig_fec0="bge0 bge1"
	ifconfig_fec0="inet netmask"

More information about the freebsd-stable mailing list