I need to add an IP address to a vFiler, and need to know the proper procedure. Should I use vfiler add IP to add the IP to the vFiler, and then use ifconfig alias on the interface the vFiler uses to make the IP available / accessible? Alternatively, can I just enter vfiler add ip and bypass ifconfig alias? What does the vfiler add ip command actually accomplish?
Thanks clackamas! As it turns out, we don't need to do this anymore but I would still love to know what the purpose of vfiler add ip is, and what it accomplishes vs ifconfig alias.
There are two steps to adding an IP to a vfiler and another for having it remain after a reboot, the first is to make the IP available to the vfiler, the second is to make it active on the system, but this does not make persistent across reboots. The ifconfig line for the alias must be added to /etc/rc for persistence.
You run ifconfig <interface> alias <ip_address>, but that does not attach it to the vfiler.
You run vfiler add <vfiler> -i <ip_address> but it does not add it to the /etc/rc for persistence across reboots
By running both commands, the vfiler can use the IP immediately and then once the required alias entry is added to /etc/rc it will remain when the controller is rebooted.
Message was edited by: Scott Chubb after a good catch by aborzenkov I had edited parts of the message and submitted without completing parts.