Configuring WSL2 distro for static IPv4 address #9580
-
Recently, I have started working on WSL2 by spinning up a The I want to make this WSL2 instance as a single node cluster for MapR Hadoop system with Could you all in this community please suggest some possible workarounds for setting a static IP address to the container VM, as I am aware that Microsoft is working on bringing this feature in the future releases. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 14 replies
-
If you quickly search the web, you can confirm it is a much-needed feature. Unfortunately, no official comments on it yet. |
Beta Was this translation helpful? Give feedback.
-
Hi, after the recent WSL update, I found my WSL instance I am not using any external script or doing any particular configuration. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
NatIpAddress
registry key is created by WslService. There is alsoNatNetwork
andNatGatewayIpAddress
registry values inHKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Lxss
registry key.The feature is not documented yet. Probably it will documented in future with a blog post.