Network Interface configuration

hiren panchasara hiren.panchasara at gmail.com
Wed Mar 7 09:24:07 UTC 2012


On Wed, Mar 7, 2012 at 12:49 AM, Juli Mallett <jmallett at freebsd.org> wrote:

>  In general, interfaces do
> not come from the configuration files like rc.conf, however the way
> that those interfaces are set up on boot is configured by files like
> rc.conf.
>

Thanks Juli.
So, does it mean that looking at getifaddrs() is the best way (as ifconfig
is doing) to get the correct state of network interfaces at any point in
time?
And for the interface of your interest, you can check if rc.conf is
specifying any persistent configuration or not.

Hiren


More information about the freebsd-net mailing list