ONTAP Hardware

What is the difference when configuring /etc/rc files?

cgeck0000

I see /etc/rc files configured in one of 2 ways.

Either:

ifconfig SAN01-61 `hostname`-iSCSIControl netmask 255.255.255.0 partner SAN02-61

Or:

ifconfig SAN01-61 10.16.xx.xx netmask 255.255.255.0 partner SAN02-61

Is there a particular reason to use one or the other?  I find it easier to use the IP address.  Thanks!

4 REPLIES 4

cgeck0000

Thank you for the insight, appreciate it.

aborzenkov

The former is created by initial setup and I believe when you use FilerView (not sure about System Manager). There is really no technical reasons to prefer one over another.

BrettEdelen

i like to use the first because I can copy paste into both controllers

but yes, both will work. you have to have your hosts file populated in order to use the first method.

baijulal

Both works.ONTAP adds a name to each interface in the format hostname-interface  in /etc/hosts file that might be the reason for the default rc file entry format.

Not aware of any specific reason.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public