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

networkingMode=mirrored doesn't work as expected #11090

Open
1 of 2 tasks
jfernandz opened this issue Jan 29, 2024 · 9 comments
Open
1 of 2 tasks

networkingMode=mirrored doesn't work as expected #11090

jfernandz opened this issue Jan 29, 2024 · 9 comments
Labels

Comments

@jfernandz
Copy link

Windows Version

Microsoft Windows [Version 10.0.22621.3007]

WSL Version

2.0.14.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1-microsoft-standard-WSL2

Distro Version

Arch Linux

Other Software

No response

Repro Steps

I've set this values in .wslconfig file

[wsl2]
memory=4G
[experimental]
autoMemoryReclaim=gradual
sparseVhd=true
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoProxy=true

however, when I do:

> wsl --shutdown
> wsl
$ ip a

I can see just the loopback interface is shown:

$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever

Expected Behavior

I would expect just with networkingMode=mirrored ... the output of ip a shows the very same network interfaces and config than Windows 11.

Actual Behavior

As you can see in my pasted output, ip a just shows loopback interface, so networking is not available inside WSL.

Diagnostic Logs

No response

Copy link

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@ghost
Copy link

ghost commented Jan 30, 2024

@jfernandz
Copy link
Author

sure @pmartincic, but the whole zip is 88MB large, so ... where should I upload it? Do you want some particular file from inside the zip?

@chanpreetdhanjal

This comment was marked as duplicate.

@ghost
Copy link

ghost commented Jan 31, 2024

@jfernandz, Does it not let you upload here?

@jfernandz
Copy link
Author

@jfernandz, Does it not let you upload here?

Max is 25Mb, so I cannot 😞

@ghost
Copy link

ghost commented Jan 31, 2024

Sorry, I didn't know we had a limit. Send them to the email listed here: https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#8-collect-wsl-logs-recommended-method

@erikspigle-payroc
Copy link

@jfernandz: See if you're in the same boat as me from this post and the information from J0F3.

#11002

We had some GPO in our domain that was disabling IPv6 as mentioned by J0F3. When I got rid of the value, networkingMode=mirrored started working and showed the mirrored interfaces for me. We are working internally with the organization to disable this registry GPO that is disabling IPv6 since that's not best practices.

@ArslanTu
Copy link

ArslanTu commented Apr 5, 2024

@jfernandz: See if you're in the same boat as me from this post and the information from J0F3.

#11002

We had some GPO in our domain that was disabling IPv6 as mentioned by J0F3. When I got rid of the value, networkingMode=mirrored started working and showed the mirrored interfaces for me. We are working internally with the organization to disable this registry GPO that is disabling IPv6 since that's not best practices.

Thank you so much, I have struggle with this for hours.

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

No branches or pull requests

4 participants