I use VMWare Player to run my OpenBSD under Windows with my laptop –a Thinkpad X1 Carbon–, its newer hardware wasn’t fully supported by OpenBSD when I got it. I had issues with VirtualBox, it was slow: 50%+ of the CPU time was spend on interupts, and I couldn’t find a solution on the Internets. After reading Ted unangst’s blog where he describes his setup I decided to switch to VMWare Player.
I use Putty to connect to the VM, and while VMWare worked well, sometime the dynamically assigned IP changed. I had to reopen Putty to change the IP from time to time, and it was getting annoying. It turns out that you can use static IPs. VMWare uses a 255.255.255.0 netmask, and it reserves the 3-127 range for static IPs. I put this in my /etc/hostname.em0:
inet 192.168.234.3 255.255.255.0
It didn’t work right away. It turns out that the gateway was at 192.168.234.2. I put the following in /etc/mygate:
192.168.234.2
And things are now working nicely.