Hello,
I am using vm-bhyve to try and run a Windows install. All seems good, but when I try to connect with VNC, I get no response.
The only thing I have done differently that the usual path is to use a manual switch, since I already have one configured using iohyve. I'm testing vm-bhyvve since it seems to have better support for Windows.
At this point, I can see that when I start the windows install, the host machine listens on port 5900, but a
Note: tap2 is the interface in question. The other TAP devices are used by iohyve vms and are working fine. In the
Any advice would helpful, thanks!
uname -a
sudo vm info
sudo vm switch info
sockstat -l
sudo tcpdump "port 5900"
I am using vm-bhyve to try and run a Windows install. All seems good, but when I try to connect with VNC, I get no response.
The only thing I have done differently that the usual path is to use a manual switch, since I already have one configured using iohyve. I'm testing vm-bhyvve since it seems to have better support for Windows.
At this point, I can see that when I start the windows install, the host machine listens on port 5900, but a
tcpdump
shows that the host ACKs the connection but nothing else.Note: tap2 is the interface in question. The other TAP devices are used by iohyve vms and are working fine. In the
tcpdump
listing, "enzo" is the host and "byte" is my workstation.Any advice would helpful, thanks!
uname -a
Code:
FreeBSD freebsd 11.2-RELEASE-p9 FreeBSD 11.2-RELEASE-p9 #0: Tue Feb 5 15:30:36 UTC 2019 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
sudo vm info
Code:
sudo vm info ◀ 10:55:10
Password:
------------------------
Virtual Machine: win10
------------------------
state: running (2580)
datastore: default
loader: none
uuid: 2e35a234-3084-11e9-905f-14dae90f753e
uefi: yes
cpu: 2
memory: 2G
memory-resident: 43442176 (41.429M)
console-ports
com1: /dev/nmdm-win10.1B
vnc: 0.0.0.0:5900
network-interface
number: 0
emulation: e1000
virtual-switch: public
fixed-mac-address: 58:9c:fc:04:8f:c9
fixed-device: -
active-device: tap2
desc: vmnet-win10-0-public
mtu: 1500
bridge: -
bytes-in: 0 (0.000B)
bytes-out: 0 (0.000B)
virtual-disk
number: 0
device-type: file
emulation: ahci-hd
options: -
system-path: /tank/vm/win10/disk0.img
bytes-size: 21474836480 (20.000G)
bytes-used: 1024 (1.000K)
sudo vm switch info
Code:
------------------------
Virtual Switch: public
------------------------
type: manual
ident: bridge0
vlan: -
physical-ports: -
bytes-in: 21396235 (20.405M)
bytes-out: 3477388580 (3.238G)
virtual-port
device: tap2
vm: win10
virtual-port
device: tap0
vm: -
virtual-port
device: tap1
vm: -
virtual-port
device: tap7
vm: -
virtual-port
device: tap6
vm: -
sockstat -l
Code:
USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS
[...snip...]
root bhyve 2580 7 tcp4 *:5900
[...snip...]
sudo tcpdump "port 5900"
Code:
10:38:08.380319 IP byte..60996 > enzo.5900: Flags [F.], seq 1, ack 1, win 2058, options [nop,nop,TS val 693477167 ecr 2969841495], length 0
10:38:08.380354 IP enzo.5900 > byte..60996: Flags [.], ack 2, win 1026, options [nop,nop,TS val 2969871605 ecr 693477167], length 0
10:45:26.584036 IP byte..54886 > enzo.5900: UDP, length 1200
10:45:26.589411 IP byte..61040 > enzo.5900: Flags [SEW], seq 252585675, win 65535, options [mss 1460,nop,wscale 6,nop,nop,TS val 693913384 ecr 0,sackOK,eol], length 0
10:45:26.589429 IP enzo.5900 > byte..61040: Flags [S.E], seq 2344601980, ack 252585676, win 65535, options [mss 1460,nop,wscale 6,sackOK,TS val 1189610090 ecr 693913384], length 0
10:45:26.594312 IP byte..61040 > enzo.5900: Flags [.], ack 1, win 2058, options [nop,nop,TS val 693913387 ecr 1189610090], length 0
10:45:26.594332 IP enzo.5900 > byte..61040: Flags [R], seq 2344601981, win 0, length 0