Re: Can't solve problem with NFS-server access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2010-11-29 at 23:11 +0200, Alan Holt wrote:
> Server is 192.168.1.101
> Client is 192.168.1.100
>  
> I have stoped my iptables like this:
> # su -c 'service iptables stop'
>  
> in /etc/exports
> /home/user/temp 192.168.100/255.255.255.0(ro)

Can you see the error in the IP address on the last line?  i.e. That
"100" is wrong, it ought to be just "1".  And I suspect you need to
write it more like:  /home/user/temp 192.168.1.0/255.255.255.0(ro)

A complete IP address, even though the last quad is virtually a
wildcard.  You should read the exports man file, particularly these
sections.


       wildcards
              Machine names may contain the wildcard characters * and ?.  This
              can be used to make the exports file more compact; for instance,
              *.cs.foo.edu  matches  all  hosts  in the domain cs.foo.edu.  As
              these characters also match the dots in a domain name, the given
              pattern  will  also  match  all  hosts  within  any subdomain of
              cs.foo.edu.

       IP networks
              You can also export directories to all hosts  on  an  IP  (sub-)
              network simultaneously. This is done by specifying an IP address
              and netmask pair as address/netmask where  the  netmask  can  be
              specified  in  dotted-decimal  format,  or  as a contiguous mask
              length (for example, either ‘/255.255.252.0’ or  ‘/22’  appended
              to the network base address result in identical subnetworks with
              10 bits of host). Wildcard characters generally do not  work  on
              IP  addresses, though they may work by accident when reverse DNS
              lookups fail.

-- 
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux