Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IP address switches range between172.xxx to 192.xxx - no connectivity #8829

Closed
1 of 2 tasks
mhechthz opened this issue Sep 17, 2022 · 2 comments
Closed
1 of 2 tasks

Comments

@mhechthz
Copy link

mhechthz commented Sep 17, 2022

Version

Microsoft Windows [Version 10.0.22000.978]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

Kernel-Version: 5.10.102.1

Distro Version

Ubuntu 20.04

Other Software

No response

Repro Steps

Just start windows an wait to be surprised.

Expected Behavior

Static IP or selection of random IP that hat has network connection.

Actual Behavior

IP address of WSL2 (Hyper-V?) is changed from day to day. Most of the time there are IP addresses starting with 172 but sometimes also 192.

With 192.168.xxx I always have network connectivity. With 172.xxx it is difficult. 172.18, 21 and 31 always have network connectivity. 172.17, 19, 20, 25, 26, 27, 28, 29, 30 never have network connectivity. I checked this over months.

It seems not to be possible to have a static IP and not to fix the range of the IP. So I have to wait to get a day where the right IP is assigned.

Diagnostic Logs

No response

@Biswa96
Copy link

Biswa96 commented Sep 17, 2022

There are already many issues about this topic, see https://github.com/microsoft/WSL/issues?q=is%3Aissue+is%3Aopen+IP

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants