linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Samy Ascha <samy@ascha.org>
To: linux-nfs@vger.kernel.org
Subject: Specific IP per mounted share from same server
Date: Fri, 8 Nov 2019 09:41:36 +0100	[thread overview]
Message-ID: <5DBD272A-0D55-4D74-B201-431D04878B43@ascha.org> (raw)

Hi!

I have an NFS server with 2 NICs, configured on different subnets. These subnets are on different network segments (2 dedicated switches).

I have clients that mount 2 distinct shares from this server. Expecting to spread the network load, I specified the mounts like so, in fstab:

10.110.1.235:/srv/nfs/www    /var/www    nfs defaults,rw,intr,nosuid,noatime,vers=4.1 0 0
10.110.0.235:/srv/nfs/backup    /backup   nfs defaults,rw,intr,nosuid,noatime,vers=4.1 0 0

However, as you may find totally expected, I see both mounts connected to the same IP on the server. Specificly, the one specified for the first mount:

10.110.1.235:/srv/nfs/www on /var/www type nfs4 (rw,...)
10.110.1.235:/srv/nfs/backup on /backup type nfs4 (rw,...)

Is this expected? Am I wrong to assume that this is a possible setup? If possible/forcible, what am I missing / doing wrong? :)

Thanks much,
Samy

             reply	other threads:[~2019-11-08  8:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-08  8:41 Samy Ascha [this message]
2019-11-08 16:09 ` Specific IP per mounted share from same server Olga Kornievskaia
2019-11-08 16:29   ` J. Bruce Fields
2019-11-08 17:06     ` Olga Kornievskaia
2019-11-08 17:15       ` J. Bruce Fields
2019-11-18 10:08       ` Samy Ascha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5DBD272A-0D55-4D74-B201-431D04878B43@ascha.org \
    --to=samy@ascha.org \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).