Re: nfs, mountd, /etc/exports: grant access to several networks

2007-02-19 Thread Oliver Fromme
[EMAIL PROTECTED] wrote:
  is it possible to allow hosts of different networks to mount an NFS export?

Sure.

  I tried already the following statements in /etc/exports without success:
  
  -network net1/mask net2/mask
  -network net1/mask -network net2/mask

Just list them on separate lines, e.g.

/foo/bar -network net1 -mask mask1
/foo/bar -network net2 -mask mask2

Also see the examples in the exports(5) manual page.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
Any opinions expressed in this message are personal to the author and may
not necessarily reflect the opinions of secnetix GmbH  Co KG in any way.
FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

... there are two ways of constructing a software design:  One way
is to make it so simple that there are _obviously_ no deficiencies and
the other way is to make it so complicated that there are no _obvious_
deficiencies.-- C.A.R. Hoare, ACM Turing Award Lecture, 1980
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nfs, mountd, /etc/exports: grant access to several networks

2007-02-17 Thread bkoenig
Hello,

is it possible to allow hosts of different networks to mount an NFS export?

I tried already the following statements in /etc/exports without success:

-network net1/mask net2/mask
-network net1/mask -network net2/mask

Regards
Björn


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]