Dynamic loading of network kernel modules?

David Horn dhorn2000 at gmail.com
Wed Mar 18 09:04:39 PDT 2009


On Wed, Mar 18, 2009 at 11:50 AM, Oliver Fromme <olli at lurza.secnetix.de> wrote:
> Oliver Fromme wrote:
>  > ifconfig_bge0="up"
>  > cloned_interfaces="vlan103 vlan105"
>  > ifconfig_vlan103="inet 10.103.0.20/16 vlan 103 vlandev bge0"
>  > ifconfig_vlan105="inet 10.105.0.20/16 vlan 105 vlandev bge0"
>
> Sorry, I forgot to paste one line:
>
>  network_interfaces="bge0 lo0"

Ah.  Ok, now I am understanding your scenario.

I thought that using 'network_interfaces' with anything other than
"AUTO"  was in the process of being depreciated ?

rc.conf man page:

network_interfaces
                 (str) Set to the list of network interfaces to configure on
                 this host or ``AUTO'' (the default) for all current inter-
                 faces.  Setting the network_interfaces variable to anything
                 other than the default is deprecated.  Interfaces that the
                 administrator wishes to store configuration for, but not
                 start at boot should be configured with the ``NOAUTO'' key-
                 word in their ifconfig_<interface> variables as described
                 below.

                 An ifconfig_<interface> variable is also assumed to exist for
                 each value of interface.  When an interface name contains any
                 of the characters ``.-/+'' they are translated to ``_''
                 before lookup.  The variable can contain arguments to
                 ifconfig(8), as well as special case-insensitive keywords
                 described below.  Such keywords are removed before passing
                 the value to ifconfig(8) while the order of the other argu-
                 ments is preserved.

--Thanks!

--_Dave Horn

>
> That one is essential.  :-)
>
> Best regards
>   Oliver
>
>
> --
> Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
> Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
> secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
> chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
>
> FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd
>
> "anyone new to programming should be kept as far from C++ as
> possible;  actually showing the stuff should be considered a
> criminal offence" -- Jacek Generowicz
>


More information about the freebsd-net mailing list