Skip to contentSkip to conversation

NFS subnet access problems

DISCUSSION L A Walsh 1 participant 2 messages Jul 22, 2004 – Jul 24, 2004

lore
Share & tools
lore

L A Walsh

author
#0 lore raw
Jul 21 00:15:54 ishtar nfsd[1590]: Unauthorized access by NFS client 192.168.3.2.
Jul 21 00:15:58 ishtar last message repeated 5928 times

I wanted to give ro access to all clients on a 192.168.3.0/26 network to a "/Share"
directory, and rw to a few, but I've never managed to get the network access
statement to work correctly. Finally I switched to a /24 network to make netmasks more cleanI simply removed every thing but the 'ro' export of /Share which I thought should work but does not. The above
client is an example.

server:
inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0
/etc/exports:
/Share 192.168.3.0/24(async,ro,no_subtree_check,nohide)

Quoted 1 line

showmount -e

Export list for server:
/Share 192.168.3.0/24

client:
configed as inet addr:192.168.3.2 Bcast:192.168.3.255
Mask:255.255.255.0

Client had access when it was specifically given access by hostname, but doesn't solve access problems for anonymous dhcp hosts that I bring online as test machines.

Are there some options needed for anon client access?

the kernel seems to indicate it is exporting to the subnet, yet it is denying mount permisson...bug, misconfig?

-linda

author
#1 lore raw

Problem was had SuSE 9.0 manpages for 2.4 kernel loaded but had upgraded to 2.6. Getting new manpages from SuSE 9.1 solved my ignorance! :-)

Thanks to those who clued me in.

Blessings!
-linda

Quoted 39 lines · L A Walsh
Jul 21 00:15:54 ishtar nfsd[1590]: Unauthorized access by NFS client 192.168.3.2.
Jul 21 00:15:58 ishtar last message repeated 5928 times

I wanted to give ro access to all clients on a 192.168.3.0/26 network to a "/Share"
directory, and rw to a few, but I've never managed to get the network access
statement to work correctly. Finally I switched to a /24 network to make netmasks more cleanI simply removed every thing but the 'ro' export of /Share which I thought should work but does not. The above
client is an example.

server:

   inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0

/etc/exports:
/Share 192.168.3.0/24(async,ro,no_subtree_check,nohide)

Quoted 1 line

showmount -e

Export list for server:
/Share 192.168.3.0/24

client:

   configed as inet addr:192.168.3.2  Bcast:192.168.3.255  

Mask:255.255.255.0

Client had access when it was specifically given access by hostname, but doesn't solve access problems for anonymous dhcp hosts that I bring online as test machines.

Are there some options needed for anon client access?

the kernel seems to indicate it is exporting to the subnet, yet it is denying mount permisson...bug, misconfig?

(quoted diff) +0 -2
-linda
 
 
 
-

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/