I have a new server with multiple nics running Centos 6.2 and I'd like to force all NFS traffic over one nic. We're using FreeNAS to dish out NFS shares and I have different IPs on my 2 nics but how can I get the server to mount the share over one particular nic? Or is there a better way to do it? Thanx, Russell Smithies ======================================================================Attention: The information contained in this message and/or attachments from AgResearch Limited is intended only for the persons or entities to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipients is prohibited by AgResearch Limited. If you have received this message in error, please notify the sender immediately. =======================================================================
>I have a new server with multiple nics running Centos 6.2 and I'd like to force all NFS traffic over one nic. >We're using FreeNAS to dish out NFS shares and I have different IPs on my 2 nics but how can I get the server to mount the share over one >particular nic? >Or is there a better way to do it?Static route? Not knowing any detail on topology makes this rather hard to answer... I also could guess at an alternative like link aggregation etc, who knows yet.
On Wed, Mar 14, 2012 at 9:29 AM, Smithies, Russell <Russell.Smithies at agresearch.co.nz> wrote:> I have a new server with multiple nics running Centos 6.2 and I'd like to force all NFS traffic over one nic. > We're using FreeNAS to dish out NFS shares and I have different IPs on my 2 nics but how can I get the server to mount the share over one particular nic? > Or is there a better way to do it?You can force it from the server, you do it from the client. Just tell the client to mount the NFS from the IP you want. :)