[Question] How the crc vm on Windows host connecting external network? #3892
-
Hi. I'm using crc on Windows and it works well. I'm just curious about how the crc vm connecting to external network. I can see all the outgoing traffic are sent out by tap0 interface in vm, but how tap0 interface interacting with Windows host? I didn't find any network adapter created on Windows. Can anybody give a detailed explanation? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There's a |
Beta Was this translation helpful? Give feedback.
There's a
gvforwarder
process running in the VM which handles the network traffic fromtap0
and sends it to the host over vsock/hvsock. On the host, this network data is handled by the crc daemon which is started as a service. There is no network adapter in Windows, the network traffic is sent/received by this daemon and a userland network stack.See https://github.com/containers/gvisor-tap-vsock