Configuration
Description
The plugin could be used without any configuration. However, there is some interesting options that may help you. And IPv6 requires a little configuration. Some sample configuration can be found at Sample.
eth* could be either your ethernet interface or wireless ssid
Enable the plugin
Edit /etc/NetworkManager/nm-system-settings.conf and make it looks like:
[main]
plugins=ifnet,keyfile
Using IPv6
To enable IPv6 for the plugin, you should add
enable_ipv6_eth*=“true” to /etc/conf.d/net
AUTO IPv6
To use dhcp for IPv6, you should add “dhcp6” to config_eth* like
config_eth0=( “dhcp dhcp6” )
LINK_LOCAL IPv6
link_local IPv6 only requires you to enable IPv6 without dhcp6 or any IPv6 address specified
MANUAL IPV6
You should manually add your IPv6 addresses and routes information to /etc/conf.d/net.
Make your network interface unmanaged by NM
managed_eth=“false”
mac_eth=“xx:xx:xx:xx:xx:xx”
Other options
Enable auto refresh
To enable refreshing your network when you make change to network configuration files, you can add auto_refresh=true to /etc/NetworkManager/nm-system-settings.conf, like
[ifnet]
managed=true
auto_refresh=true
The default value of this option is false. Note that your network will be disconnected for a second in order to reconfigure the network if autorefresh is set to true and you make changes to the configuration files.
Don’t connect to network automatically when NetworkManager starts
Add auto_eth*=“false” to /etc/conf.d/net
The default value of this option is true
Disable the plugin
Modify /etc/NetworkManager/nm-system-settings.conf and set “managed” to false, like
[ifnet]
managed=false
The default value of this option is true

