Do you want a network with only VM's for testing purposes?The default OPNsense LAN address is 192.168.1.1, as mentioned when booting the first time after installation, and every reboot.
The OPNsense VM and your client must be in the same network - maybe you have to adjust the adapter settings.