[NetApp] 7-mode single interface use multiple IP

ifconfig interface_name [-]alias address

<Create>
ifconfig e0a alias x.x.x.x

<Remove>
ifconfig e0a -alias x.x.x.x

** sample /etc/rc **
# Modify 2018-10-25 By xxxx
ifgrp create lacp bond0 -b rr e0a e0b e1a e1b
hostname Filer
ifconfig bond0 192.168.1.100 netmask 255.255.255.0 mediatype auto mtusize 9000
ifconfig bond0 alias 192.168.2.100
route add default 192.168.1.254 1
routed on
options dns.enable on
options nis.enable off
setflag smb_enable_2_1 1 # enable SMB2.1 is 1 ; disable is 0
savecore
priv set diag; setflag smb_enable_2_1 0; priv set

wrfile /etc/rc , then “Ctrl+c"

source /etc/rc

 


Reference : NetApp – Create and remove aliases