How to add an alias ip address to a network card in FreeBSD

1、How to add an additional IP address to a network card in FreeBSD

# ifconfig em0 192.168.78.242 netmask 255.255.255.255 alias

####################################################

2、Removing an IP alias from a network card in FreeBSD

# ifconfig em0 192.168.78.242 -alias

Posted in 標籤: | 0 意見