Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2007 14:33:11 +0100 (CET)
From:      Oliver Fromme <>
To:        freebsd-questions@FreeBSD.ORG,
Subject:   Re: nfs, mountd, /etc/exports: grant access to several networks
Message-ID:  <>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help wrote:
 > 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>

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 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:

"... 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

Want to link to this message? Use this URL: <>