Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User Daan's Avatar
    Join Date
    Aug 2005
    The Netherlands

    Question NFS and dynamic IP's


    I have a small network at home. Two Linux PC's are connected through a router (little box with leds) that dynamically allocates IP's to the computers on the network and is connected to my cable modem. I would like to share files between the computers using NFS. I have read at that I would need to have a host file on each PC that tells which IP belongs to which host name. But the IP's are dynamic and may be different for the same host ate different times!

    How do I safely use NFS at my home network?



  2. #2
    Is there no option on your router to make the ip's static within the network?
    Normally there is...

  3. #3
    Linux Newbie
    Join Date
    Nov 2003
    On the server machine you could set it so all IPs on your LAN can connect in the /etc/exports file. Here is mine:

    [root@fedoraserver nfs]# cat /etc/exports
    /nfs/share           ,sync,no_root_squash)
    /nfs/slp93           ,sync,no_root_squash)
    My local IPs are, so I set my server to allow everyone on and my local subnet to connect. acts like a variable.

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts