Arun K. Khan wrote:
[discussion about how to use wildcard ip's in /etc/exports just for the fun of discussion and higher education ;-)]
Tried this trick. Get the same 'Permission denied' when I try to mount the exported file system. BTW, The man page states IP addresses should be in the format IP/NetMask (e.g. 192.168.11.*/255.255.255.0 unless I am misinterpreting the instructions).
Hello Arun, you probably refer to this: 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. However, these wildcard characters do not match the dots in a domain name, so the above pattern does not include hosts such as a.b.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. Unfortunately, this is not part of the examples. After pressing the send button yesterday, I thought of one thing: /opt 192.168.42.* (rw) is probably the same "nonsense" like /opt 192.168.42.*/155.255.255.0 (rw) because you can have "mixed" networks (something between class C and B, like our job's 255.255.252.0 netmask) with 1022 host adresses. Both examples would fail. Reading this part of the man page, I interpret now: /opt 192.168.42.42/255.255.255.0 (rw) or probably /opt 192.168.42.42/24 (rw) to do the job. this would also work for my job's 22 bit netmask. one EXAMPLE HOST and the ENTIRE NETWORK. Are you still playing with this????? Jürgen -- ========================================== __ _ Jürgen Braukmann e-mail: brauki@cww.de | / / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | / /__/ / _ \/ // /\ \/ / ========================================== /____/_/_//_/\_,_/ /_/\_\ - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e