Alias for a network interface in FreeBSD

How to add or remove alias for a network interface in FreeBSD

Add:

ifconfig fxp1 inet 192.168.2.1 netmask 255.255.255.255 alias

Hide:

ifconfig fxp1 inet 192.168.2.1 netmask 255.255.255.255 -alias

Leave a Reply

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