two nics, one nfs server

Rick Stevens rstevens at vitalstream.com
Thu Jul 13 23:20:14 UTC 2006


On Thu, 2006-07-13 at 15:36 -0700, chuck lawrence wrote:
> hi,
> 
> I've got a user running linux w/two nics.  he's interested in attaching 
> an nfs server to one, but not the other.  is possible?

You mean you want the machine with two NICs to act as an NFS server,
but only have the NFS server daemon listen to one of the NICs?  No,
you can't do that...NFS listens on all network devices.

You CAN, however, restrict access to one of the NICs via iptables or
by setting up the exports file to only permit connections from a limited
set of IP addresses, and make sure you DON'T have ipforward set.

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-       "I'd explain it to you, but your brain might explode."       -
----------------------------------------------------------------------




More information about the Redhat-install-list mailing list