Version
Windows version: 10.0.22621.963
WSL Version
Kernel Version
Linux version 5.15.79.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Wed Nov 23 01:01:46 UTC 2022
Distro Version
Ubuntu 22.04
Other Software
ping from iputils 20211215
Repro Steps
- Configure WSL in bridge mode
- Verify you have a global ipv6 address (
ip addr)
- Start pinging an ipv6 address (
ping ipv6.google.com -i 1 -W 2 -O)
- After about 5-10 minutes, packets will start coming in
- As long as you're pinging, you'll have full internet access over ipv6
- Verify access by
curl ipv6.google.com or start firefox in WSL and go to ipv6-test.com
This time can be shortened greatly, by forwarding ping packets to the correct interface: https://github.com/withinboredom/ipv6-wsl
Expected Behavior
IPv6 packets should go to the correct interface by default.
Actual Behavior
IPv6 packets are sent to the wrong interface (often called the "wsl" interface in WireShark) instead of the VM interface. After pinging for a while, Windows learns the correct route and packets work correctly until it "forgets" the route once pinging stops.
Diagnostic Logs
No response
Version
Windows version: 10.0.22621.963
WSL Version
Kernel Version
Linux version 5.15.79.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Wed Nov 23 01:01:46 UTC 2022
Distro Version
Ubuntu 22.04
Other Software
ping from iputils 20211215
Repro Steps
ip addr)ping ipv6.google.com -i 1 -W 2 -O)curl ipv6.google.comor start firefox in WSL and go toipv6-test.comThis time can be shortened greatly, by forwarding ping packets to the correct interface: https://github.com/withinboredom/ipv6-wsl
Expected Behavior
IPv6 packets should go to the correct interface by default.
Actual Behavior
IPv6 packets are sent to the wrong interface (often called the "wsl" interface in WireShark) instead of the VM interface. After pinging for a while, Windows learns the correct route and packets work correctly until it "forgets" the route once pinging stops.
Diagnostic Logs
No response