There are three fields in the /etc/exports directory they are.
For example I am taking the sample shares on the /etc/exports file.
rw : sets read and write permissions
ro : sets read only permission.
sync : specifies that all the changes by the client must be written to the disk.
no_wdely : Forces the writing of changes immediately.
root_squash : prevents root access.
no_root_squash : Allows root access.
Write a share to share the file system /repo to 192.168.1.108 with read only permission.
Write a share to share the file system /repo to the hosts ranging from 192.168.1.10 to 192.168.1.100 with read write permissions with root access.
Write a share to share the file system /repo to the hosts on in.ibm.com with read only permissions without root access.