Operating System - Linux
1753931 Members
9575 Online
108810 Solutions
New Discussion

Re: NFS mounting and routing question

 
Hanry Zhou
Super Advisor

Re: NFS mounting and routing question

CLIENT IP-1: 15.200.20.20
SERVER IP-1: 15.200.20.21

 

in this example, if I made the client to send NFS packets via the router 15.200.10.1, not the default GW, then when the server returns packets back to the client, will these packets go through the same router "15.200.10.1" then back to the client?

none
Dave Olker
HPE Pro

Re: NFS mounting and routing question

The server extracts the client's IP address from the NFS request, looks at its routing table, and selects the most appropriate route.

The only way the server would send the reply back through 15.200.10.1 is if that route is configured on the server and the routing table instructs it to use that route instead of the default gateway for the subnet.

I work for HPE

[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo