[CentOS] mount NFS share over specific nic?

Les Mikesell lesmikesell at gmail.com
Wed Mar 14 03:29:38 UTC 2012

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

More information about the CentOS mailing list