WSL1ではネットワーク接続ができるのに2だとできないです。
WARNING: systemd-networkd is not running, output will be incomplete.
● State: n/a Address: 172.22.22.243 on eth0
fe80::215:5dff:feb8:97e7 on eth0
Gateway: 172.22.16.1 (Microsoft Corporation) on eth0
これはArchlinuxでの結果なのですがDebian、SUSEともにつながらなかったです。
imgur.com/BW5k8pC.png
i.imgur.com/Sv5WEoG.png
WSL1ではPINGが通るのですがWSL2だとPINGが通りません。
WSL1
# ping google.com
PING google.com (216.58.197.142) 56(84) bytes of data.
64 bytes from nrt12s01-in-f142.1e100.net (216.58.197.142): icmp_seq=1 ttl=55 time=6.76 ms
WSL2
# ping google.com
ping: google.com: Temporary failure in name resolution