machine server and machine client

Hello,

i need to create a communication between two machines solaris 2 installed in VM workstation; to begin with NFS and do these :

Machine A :

share -F nfs /opt

and in Machine B :

mount -F nfs machineA:/opt /mnt

also

share -F nfs -o rw=machineB /opt

and in B

mount -F nfs machineA:/opt /mnt

MY need its just about networking between two machines installed in my VM and create a server and a client machine!

while installing the two machines in my VM,ive gave them :
@IP machine A :192.168.1.2
@IP machine B :192.168.1.3

may i create an unique domain?
pleaz show me step by step, im still a beginner with solaris 10 administration part 2.

Thank you,