LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-19-2006, 10:35 PM   #1
Veteq
Member
 
Registered: Feb 2004
Posts: 155

Rep: Reputation: 30
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
 
Old 01-20-2006, 07:07 AM   #2
Veteq
Member
 
Registered: Feb 2004
Posts: 155

Original Poster
Rep: Reputation: 30
anyone? Any help would be greatly appreciated.
 
Old 01-20-2006, 08:19 AM   #3
Emerson
Senior Member
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~
Posts: 3,177

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Export directories via NFS nifflerX Linux - Networking 3 07-07-2005 01:21 AM
Export NFS behind firewall nifflerX Linux - Networking 2 07-06-2005 02:41 PM
smb mount -> nfs export wie20345 Linux - Networking 3 02-12-2005 02:09 PM
NFS doesn't export everything ejoftheweb Linux - Networking 5 09-03-2004 03:29 AM
export directories via NFS on redhat 8.0 nifflerX Linux - Networking 1 01-16-2004 02:09 AM


All times are GMT -5. The time now is 03:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration