dantmnf / WSLAttachSwitch

Attach the WSL2 virtual machine to a Hyper-V virtual switch.
The Unlicense
107 stars 12 forks source link

Failed to connect to bus: Host is down #2

Open gsevla opened 2 years ago

gsevla commented 2 years ago

image

Can anyone help me with this?

dantmnf commented 2 years ago

Your dhclient relies on systemd to apply some settings (most likely resolver), which is not officially supported by WSL now.

gsevla commented 2 years ago

It means this solution does not applies to wsl and only to linux hypervisor vm?

dantmnf commented 2 years ago

It only adds L2 connectivity to the VM, further setup (static IP/DHCP/IPv6/DNS/routing/etc.) is up to the user.