Forget cidr.
There are four ways to get networking on common VM's.
One is bridged. (host ip range goes on to client)
Two is NAT. (the virtual ip nic is behind a virtual router) your situation
Three is a VM only network. hope you don't have that, only vm's will talk to each other.
Lastly is no networking.
Generally the host knows that it has a special network and will route traffic correctly to the client even in NAT. However there can be problems all over the setup from permissions to ports.
Many people tend to use Bridged to overcome this.
Usually you can get either Bridged or Nat to work correctly.