Results 1 to 3 of 3
Hello,
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 ...
- 03-28-2006 #1
NFS and dynamic IP's
Hello,
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 aboutdebian.org 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?
Thanks,
Daan
- 03-29-2006 #2Banned
- Join Date
- Jul 2004
- Posts
- 947
Is there no option on your router to make the ip's static within the network?
Normally there is...
- 03-30-2006 #3Linux Newbie
- Join Date
- Nov 2003
- Location
- Maryland
- Posts
- 105
On the server machine you could set it so all IPs on your LAN can connect in the /etc/exports file. Here is mine:
My local IPs are 192.168.0.xxx, so I set my server to allow everyone on 192.168.0.0 and my local subnet to connect. 192.168.0.0 acts like a variable.Code:[root@fedoraserver nfs]# cat /etc/exports /nfs/share 192.168.0.0/255.255.255.0(rw,sync,no_root_squash) /nfs/slp93 192.168.0.0/255.255.255.0(ro,sync,no_root_squash) /nfs/fedora4 192.168.0.0/255.255.255.0(ro) /nfs/fedora5 192.168.0.0/255.255.255.0(ro)


Reply With Quote