[CentOS] mount NFS share over specific nic?

Wed Mar 14 03:42:34 UTC 2012
Smithies, Russell <Russell.Smithies at agresearch.co.nz>

I suspected some subnetting would be involved but hoped I could get away with different IPs on the nics.
Might have to get the networking books out, it's not my strong suit  :-(

--Russell

> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Les Mikesell
> Sent: Wednesday, 14 March 2012 4:30 p.m.
> To: CentOS mailing list
> Subject: Re: [CentOS] mount NFS share over specific nic?
> 
> On Tue, Mar 13, 2012 at 10:15 PM, Fajar Priyanto <fajarpri at arinet.org>
> wrote:
> > 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.
> > :)
> 
> That's assuming you have a normal network topology where each NIC is on a
> separate subnet with appropriate routes controlling which way other
> destinations will head.  From the question, I'm not sure that is the case here.
> 
> --
>    Les Mikesell
>      lesmikesell at gmail.com
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
=======================================================================
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.
=======================================================================