LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NFS and the export file (https://www.linuxquestions.org/questions/linux-networking-3/nfs-and-the-export-file-405626/)

Veteq 01-19-2006 10:35 PM

NFS and the export file
 
Quote:

/share/Pictures 95.0.0.101(rw) 90.0.0.101(rw)
/share/Videos 95.0.0.101(rw) 95.0.0.101(rw)
/share/MP3 95.0.0.101(rw) 95.0.0.101(rw)
/share/Downloads 95.0.0.101(rw) 95.0.0.101(rw)
I am running a server that is using NFS to share the drives. My workstation gets an IP adresss from the router. Most of the time that IP is 95.0.0.101 but everytime the ip is not 101, I can no longer map the drives. The only way I can do it is if both rows in the export file match the IP address that the workstation received.
I would like to set a range so it connects as long as the IP is within that range.
What am I doing wrong?

thanks

Veteq 01-20-2006 07:07 AM

anyone? Any help would be greatly appreciated.

Emerson 01-20-2006 08:19 AM

First, one should set up the DHCP server (router) to leave some IP range static.
Another way is set up the DHCP to associate given IP address with your MAC address so it will be same every time.
Finally, -network 95.0.0.0 -mask 255.255.255.0 in exports file would give you a range. man exports


All times are GMT -5. The time now is 02:45 AM.