Static IP on NetBSD

Edit the /etc/rc.conf file and add:


Create a file ifconfig.nfe0 with the following contents: netmask media autoselect

All IPs and interface names (nfe0) might be different in your case.

To see current settings, use:

# ifconfig

This is archived version of blog, preventing broken links. This version will stay online indefinitely.