Hello,
I have installed WSL2 on my Win11 Pro so I can use rsync for backups, and manage my KVM (on linux easier).
Sometimes I have seen that I have a problem accessing my server (local and same network / mask...).
If I do a wsl --shutdown and after that I open bash again all is fine till the next time.
The network is as mirrorred (or bridged) no difference.
My ifconfig is
ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.1.123 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::1 prefixlen 64 scopeid 0x20<link>
inet6 2a02:XXXXXXX prefixlen 64 scopeid 0x0<global>
ether 02:42:f5:dc:f1:5e txqueuelen 0 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.161 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 2a02:XXXXXXXXXXXX prefixlen 64 scopeid 0x0<global>
inet6 fe80::XXXXXXXX prefixlen 64 scopeid 0x20<link>
ether 74:56:3c:4a:e7:d1 txqueuelen 1000 (Ethernet)
RX packets 19345 bytes 2095164 (2.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 23403 bytes 2755839 (2.7 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.8.15 netmask 255.255.255.0 broadcast 10.0.8.255
inet6 fe80::f49c:6332:4cd:f54c prefixlen 64 scopeid 0x20<link>
ether 00:15:5d:27:14:21 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1166 bytes 184752 (184.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 5 bytes 560 (560.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5 bytes 560 (560.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
loopback0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 00:15:5d:97:d8:a8 txqueuelen 1000 (Ethernet)
RX packets 317 bytes 58661 (58.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2 bytes 220 (220.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
My ping result is (192.168.1.14 is the home server)
ping 192.168.1.14
PING 192.168.1.14 (192.168.1.14) 56(84) bytes of data.
From 192.168.1.123 icmp_seq=1 Destination Host Unreachable
From 192.168.1.123 icmp_seq=2 Destination Host Unreachable
From 192.168.1.123 icmp_seq=3 Destination Host Unreachable
From 192.168.1.123 icmp_seq=4 Destination Host Unreachable
Restarting the wsl (or the computer solves the problem) but it would be great to make it work.
I never shut down wsl so it is always ready.
Can you please help me?
Thank you