Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2007 01:14:26 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        Pete French <petefrench@ticketswitch.com>
Cc:        freebsd-stable@FreeBSD.org, Norikatsu Shigemura <nork@FreeBSD.org>
Subject:   Re: Netgraph at startup - rc.conf ?
Message-ID:  <20070126011426.d7950892.nork@FreeBSD.org>
In-Reply-To: <E1HA6eP-000Fbi-E9@dilbert.ticketswitch.com>
References:  <E1HA6eP-000Fbi-E9@dilbert.ticketswitch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Jan 2007 15:36:33 +0000
Pete French <petefrench@ticketswitch.com> 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 172.16.1.6 netmask 255.255.0.0"
> becomes
> 	ifconfig_fec0="inet 172.16.1.6 netmask 255.255.0.0"
> 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 ?

	SEE ALSO:
	http://www.freebsd.org/cgi/query-pr.cgi?pr=conf/104884

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

	fec_interfaces="fec0"
	fecconfig_fec0="bge0 bge1"
	ifconfig_fec0="inet 172.16.1.6 netmask 255.255.0.0"



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