Handbook doesn't have a dedicated section for Windows/host VMware. There's nothing special about VMware on Windows,
and running a FreeBSD guest on a Windows/VMware doesn't have a lot of quirks. Also, a comprehensive guideline is available on VMware website (about VMware itself),
but here's some tips (how to, but not why) for new FreeBSD/VMware users on Windows:
1. In case of NAT (preferable method of networking for new users):
VMware "Virtual Network Manager" selects the right configuration for you. But if it's necessary to customise NAT, to specific address/value:
I. Suppose the ADSL/Router address is set to
192.168.0.1, and you want to use
192.168.1.x for VMware NAT.
II. You have to set "Subnet IP" to
192.168.1.0.
III. Then you have to configure the "Gateway IP" in "NAT setting". To prevent headache, just set it to
192.168.1.2.
2. Keep it simple, and use DHCP in the guest.
But if you want to use static IP, just remember to set the
defaultrouter
in the
rc.conf to correct value. In this particular case:
/etc/rc.conf
Code:
defaultrouter="192.168.1.2"
Also
ifconfig_XXX should reflect this setting. For example:
Code:
ifconfig_bge0="inet 192.168.1.3 netmask 255.255.255.0"
3. VMware "Virtual Network Manager" defines a range for DHCP/NAT, and it's configurable in "DHCP Setting", e.g.
192.168.1.128 ~
192.168.1.254.
You can change those values.
4. "Restore Defaults" in the VMware "Virtual Network Manager" will reset all your NAT settings. After a "Restore Defaults", don't forget to either:
I. Reflect the new settings in the
rc.conf
OR
II. Reconfigure the Virtual Network Manager accordingly.
5. If you want to use a CLI-only FreeBSD guest:
The easiest way, to enlarge/resize fonts in "System Console" and "Virtual Consoles":
I. Set the
kern.vty
in the
loader.conf to
sc(4)
/boot/loader.conf
II. Probe the resolution:
vidcontrol -i mode
III. Test the different values and find the optimal resolution, e.g.
vidcontrol MODE_306
IV. Then set it in the
rc.conf
/etc/rc.conf
Code:
allscreens_flags="MODE_306"
6. VMware and Hyper-V have slightly different approach to handle Text-Only console (CLI). You have to probe and test different value, to find the optimal resolution separately.
In other word, to get a similar font size in both VMware and Hyper-V, you may have to set different values accordingly. For example:
I. allscreens_flags="MODE_306" for VMware
AND
II. allscreens_flags="MODE_299" for Hyper-V