I've set up a Windows 10 guest in bhyve. I used to be able to remote desktop to the Windows via freerdp. But it cannot now. The host and the guest are not able to ping each other now. I don't actually realize what I have done. This must be something happening on the host, because I also have Linux guest and there is the same issue between the host and Linux guest.
So I would ask this forum if anybody can shed a light what may be happening.
The problem is that the host and guest cannot ping each other. But both can access the local network and the Internet without any issues.
Here is how I set up the switch for the guests. I don't use NAT.
All my network interfaces
If there is any change I can recall that is remotely connected, that may the change from the on-board NIC to the usb NIC. The on-board NIC stopped working so I started to use the USB nic ue0.
Other than that, I don't recall I change anything about the networking on the host.
If you have any direction I can continue, please let me know. Thanks so much.
So I would ask this forum if anybody can shed a light what may be happening.
The problem is that the host and guest cannot ping each other. But both can access the local network and the Internet without any issues.
Here is how I set up the switch for the guests. I don't use NAT.
Bash:
vm switch create public
vm switch add public ue0
Bash:
~ $ vm switch info public
local: _netgraph,: bad variable name
------------------------
Virtual Switch: public
------------------------
type: standard
ident: vm-public
vlan: -
physical-ports: ue0
bytes-in: 17404456 (16.598M)
bytes-out: 26749967 (25.510M)
virtual-port
device: tap0
vm: win
All my network interfaces
Bash:
~ $ ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ue0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=280099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,LINKSTATE,RXCSUM_IPV6>
ether a0:ce:c8:07:29:d6
inet 192.168.0.4 netmask 0xffffff00 broadcast 192.168.0.255
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ue1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 9c:eb:e8:92:16:c2
inet 192.168.0.5 netmask 0xffffff00 broadcast 192.168.0.255
media: Ethernet autoselect
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
vm-public: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether f6:23:81:8c:41:7c
id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
member: tap0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 5 priority 128 path cost 2000000
member: ue0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
ifmaxaddr 0 port 2 priority 128 path cost 20000
groups: bridge vm-switch viid-4c918@
nd6 options=9<PERFORMNUD,IFDISABLED>
tap0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
description: vmnet/win/0/public
options=80000<LINKSTATE>
ether 58:9c:fc:10:3a:0c
groups: tap vm-port
media: Ethernet autoselect
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Opened by PID 76313
If there is any change I can recall that is remotely connected, that may the change from the on-board NIC to the usb NIC. The on-board NIC stopped working so I started to use the USB nic ue0.
Other than that, I don't recall I change anything about the networking on the host.
If you have any direction I can continue, please let me know. Thanks so much.