HostOnNet Blog

Configure IP Addresses

Looking for Linux Server Admin or WordPress Expert? We can help.

FreeBSD uses only 1 configuration file to list your IP addresses and default gateway:


There is one line per IP address in this file. Secondary (alias) IP addresses are configured with a netmask of Here’s an example of the lines you will need to have in /etc/rc.conf for 2 IP addresses:

ifconfig_fxp0=”inet netmask″
ifconfig_fxp0_alias0=” netmask”

Restarting network to re-read IP address configuration file:


Posted in FreeBSD. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.