[CentOS] OT: Binding NFS services to specific ip address

Paul Heinlein heinlein at madboa.com
Tue Mar 9 15:42:08 UTC 2010


On Tue, 9 Mar 2010, Fajar Priyanto wrote:

> On Tue, Mar 9, 2010 at 4:38 PM, carlopmart <carlopmart at gmail.com> wrote:
>> Hi all,
>>
>>  I have a CentOS 5.4 server with 3 interfaces used as a NAS (SMB, 
>> iSCSI and NFS). Is it possible to bind all NFS services (portmap, 
>> nfsd, mountd, etc) to a specific interface?
>
> Yes, /etc/sysconfig/nfs

Beware, however, that when you bind to, say, eth0, you'll loose 
loopback access to those services. I know that caused a problem for a 
friend of mine, but I can't recall exactly what broke.

-- 
Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/


More information about the CentOS mailing list