Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-17-2006, 08:07 AM
|
#1
|
|
Member
Registered: Nov 2005
Distribution: Debian, Slackware
Posts: 31
Rep:
|
Export NFS
Hi
How I can export a directory to only a range of IP?
I try something like that but not work, I have the same error(Permission denied)
Code:
/mnt/share 192.168.1.0/24(ro,root_squash)
or
/mnt/share 192.168.1.*(ro,root_squash)
|
|
|
|
02-17-2006, 09:15 AM
|
#2
|
|
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,392
Rep:
|
I have a similar working setup here. It uses the first form you tried (net/mask value).
Are you sure the reason is the net/mask specification ?
Have you tried to use a wildcard ? I mean:
Code:
/mnt/share *(ro,root_squash)
If works for everyone, go back the net/mask value, re-export with "exportfs -r", try again and it still not work, give us the output of exportfs above.
see'ya,
|
|
|
|
02-17-2006, 12:50 PM
|
#3
|
|
Member
Registered: Nov 2005
Distribution: Debian, Slackware
Posts: 31
Original Poster
Rep:
|
I don't have exportfs..maybe it's normal in Debian?
To update the changes I type
/etc/init.d/nfs-user-server restart.
I think 99% the problem is the wildcard/mask, because if I change the ip (192.168.1.0/24) to 192.168.1.30 (a client of my subnetwork that can access to that pc) work.
|
|
|
|
02-20-2006, 04:45 AM
|
#4
|
|
Senior Member
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,392
Rep:
|
Quote:
|
I don't have exportfs..maybe it's normal in Debian?
|
I don't know about Debian, but it should be. exportfs is the program that setup the nfs shares on the fly. Whitout exportfs it's impossible to see what is exported and how.
May be you can post this problem at Debian's forum, in this same site.
sorry,
|
|
|
|
02-20-2006, 04:50 AM
|
#5
|
|
Member
Registered: Nov 2005
Distribution: Debian, Slackware
Posts: 31
Original Poster
Rep:
|
Well, I debian I don't have that tools either in the repository...
|
|
|
|
02-20-2006, 09:34 PM
|
#6
|
|
Member
Registered: Jan 2005
Location: middle of a cornfield, IL
Distribution: Kanotix HD Install, Debian Testing, XP Pro,Vista RC1
Posts: 145
Rep:
|
How about /mnt/share 192.168.1.0/255.255.255.0(ro,root_squash) ?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:09 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|