为了测试系统网络问题,将ESXi中设置网卡设为混杂模式,如图
设置方法为进入编辑状态,然后将混杂模式选中:
CBSD关于网络的一段描述
About bhyve networking
By default, virtual machines use the tap interface, which CBSD automatically switches to your bridge on your uplink interface (you can change the interface through the nic_parent menu in 'cbsd bconfig' - bhyvenic - nic1
You may prefer two other switching options available in CBSD
- Use virtual switch based on vale(4). To do this, use the dialog to create a switch through: cbsd valecfg-tui
- You can exclude the bridge and use a point-to-point connection. To do this, through 'cbsd bconfig' - bhyvenic - nic1, you need to change the nic_parent parameter to disable. In this mode, you must assign an IP address as the gateway to your virtual machine on the tap interface
使用cbsd valecfg-tui创建虚拟交换机
创建之后,刚开始没有找到配置虚拟机使用vale交换机的地方。。。。后来才知道,需要在虚拟机的网卡设置里配置,具体见:https://skywalk.blog.csdn.net/article/details/141332346