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

Internet not working - Network Unreachable #6889

Closed
1 of 2 tasks
sadstan opened this issue Apr 30, 2021 · 15 comments
Closed
1 of 2 tasks

Internet not working - Network Unreachable #6889

sadstan opened this issue Apr 30, 2021 · 15 comments
Labels

Comments

@sadstan
Copy link

sadstan commented Apr 30, 2021

Windows Build Number

10.0.19042.928

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

Linux version 5.4.72-microsoft-standard-WSL2 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Oct 28 23:40:43 UTC 2020

Distro Version

Ubuntu 20.04

Other Software

Docker Desktop (Windows), version 3.3.1

Repro Steps

Open Ubuntu
Run following commands:
sudo apt update
ping google.com
ping 8.8.8.8
ping 1.1.1.1
ping localhost
ping 127.0.0.1
ping 192.168.0.1

Expected Behavior

The commands will work, and connection to the internet will not work.
The internet works outside of WSL. I do not have any 3rd party AV software installed.

Actual Behavior

PFA the terminal output
Terminal.txt

Diagnostic Logs

No response

@sadstan sadstan changed the title Internet not working Internet not working - Network Unreachable Apr 30, 2021
@zwancho
Copy link

zwancho commented May 2, 2021

I have the same problem, as long as I switch to wsl1 via wsl --set-version, there is no problem

@K2ouMais
Copy link

K2ouMais commented May 2, 2021

Let me guess...

You are using a VPN?

If yes, use something else than WSL2... I am on the same boat and Microsoft doesnt care about this problem.

You will find threads back some months /years with people with the exact same problem.

I cant use WSL2 because of VPN and all the solutions found here doesnt work for everybody.

@sadstan
Copy link
Author

sadstan commented May 3, 2021 via email

@martijn10kb
Copy link

I have the same problem, and do not use VPN... shutting down WSL2 and restarting doesn't seem to help. Restarting windows does (most of the times)

@illtellyoulater
Copy link

Wtf is going on here? And why did github email me about this thread, even though nobody mentioned me and I'm not subscribed to it?

@therealkenc
Copy link
Collaborator

Please collect networking logs and post (or link) the etl here.

@sadstan
Copy link
Author

sadstan commented May 5, 2021

Networking Logs

Output of networking.bat: https://gist.github.com/sadstan123456/e49c381d272d97b716c89deb939aa45c

The wsl.etl file (had to convert to .zip as .etl was not being uploaded on Github): wsl.zip

@sadstan
Copy link
Author

sadstan commented May 5, 2021

Further investigation reveals that internet does not work with Debian (WSL2) and Ubuntu(WSL2). However, on switching these distros to WSL1, the internet works. Changing them back to WSL2, again stops the internet from working.
Hence, it appears as if the internet issue is exclusive to distros running on WSL2
However, this is not a viable option as Docker Desktop integration requires WSL2.

@cub525
Copy link

cub525 commented May 5, 2021

Same issue here, WSL2 stopped connecting, and I don't use a VPN, and as discussed, switching to WSL1 worked

@sadstan
Copy link
Author

sadstan commented May 7, 2021

UPDATE:
I downloaded the Windows 10 ISO and ran the setup, after selecting the 'keep all my files and settings' option. Essentially, reinstalled Windows.
Now, the internet works inside of WSL2 with no problems.

@cub525
Copy link

cub525 commented May 12, 2021

It started working for me again on version 2

@ghost
Copy link

ghost commented Jul 19, 2021

In my case, After I updated OpenVPN Gui version, I can access network (inside VPN) again but I still have to write namespace 8.8.8.8 in /etc/resolv.conf to access internet.

I use WSL2 by the way.

I noticed that this internet problem happened to me once in a while after I updated Windows.

@danieldaeschle
Copy link

I have the same Problem. Is there a way to fix it properly? I always need to change the resolv.conf to 8.8.8.8.

@TheEvilCoder42
Copy link

TheEvilCoder42 commented May 15, 2022

I have the same problem after updating to 21H2.

Windows Version: 19044.1706

No VPN or Antivirus (besides Defender).
Works in WSL 1.

Tried every fix I found:

  • Resolv.conf fix (won't help anything if I can't reach an ip)
  • Nothing is compressed
  • Resetting the whole network stack
  • Uninstalling features
  • Reinstalling Windows with apps & settings

Nothing helped..

Attached the networking debug logs:

networking.bat

wsl.zip

$ wsl --status
Standard Distribution: Debian
Standardversion: 2

Das Windows-Subsystem für Linux wurde zuletzt aktualisiert am 27.03.2022
Automatische Updates sind aktiviert.

Kernel-Version: 5.10.102.1


$ .\networking.bat
"WSL version (Might be help text if store WSL is not installed):"
Ungültige Befehlszeilenoption: --version
Copyright (c) Microsoft Corporation. Alle Rechte vorbehalten.

Verwendung: wsl.exe [Argument] [Options...] [CommandLine]

Argumente zum Ausführen von Linux-Binärdateien:

    Wenn keine Befehlszeile angegeben wird, startet wsl.exe die Standardshell.

    --exec,-e <CommandLine>
        Führen Sie den angegebenen Befehl aus, ohne die Standard-Linux-Shell zu verwenden.

    --
        Übergeben Sie die restliche Befehlszeile ohne Änderung.

Optionen:
    --cd <Directory>
        Legt das angegebene Verzeichnis als aktuelles Arbeitsverzeichnis fest.
        Falls „~“ verwendet wird, wird der Startpfad des Linux-Benutzers verwendet. Wenn der Pfad mit einem
        „/“-Zeichen beginnt, wird er als absoluter Linux-Pfad interpretiert.
        Andernfalls muss der Wert ein absoluter Windows-Pfad sein.

    --distribution,-d <Distro>
        Führt die angegebene Distribution aus.

    --user,-u <UserName>
        Als angegebener Benutzer ausführen.

Argumente zum Verwalten von Windows-Subsystem für Linux:

    --help
        Anzeige der Nutzungsinformationen.

    --install [Optionen]
        Installieren zusätzlicher Windows-Subsystem für Linux-Distributionen.
        Um eine Liste der gültigen Distributionen abzurufen, verwenden Sie den Befehl „wsl --list --online“.

        Optionen:
            --distribution, -d [Argument]
                Herunterladen und Installieren einer Distribution nach Namen.

                Argumente:
                    Ein gültiger Distributionsname (Groß-/Kleinschreibung unwichtig).

                Beispiele:
                    wsl --install -d Ubuntu
                    wsl --install --distribution Debian

    --set-default-version <Version>
        Ändert die standardmäßige Installationsversion für neue Distributionen.

    --shutdown
        Beendet sofort alle laufenden Distributionen und die WSL 2
        Lightweight Utility VM.

    --status
        Zeigt den Status für das Windows-Subsystem für Linux.

    --update [Optionen]
        Wenn keine Optionen angegeben sind, wird der WSL 2-Kernel
        auf die neueste Version aktualisiert.

        Optionen:
            --rollback
                Zur vorherigen Version des WSL 2-Kernel zurückkehren.

Argumente für die Verwaltung von Distributionen im Windows Subsystem für Linux:

    --export <Distribution> <Dateiname>
        Exportiert die Distribution in eine tar-Datei.
        Der Dateiname kann „-“ für die Standardausgabe lauten.

    --import <Distribution> <Installationsverzeichnis> <Dateiname> [Optionen]
        Importiert die angegebene tar-Datei als neue Distribution.
        Der Dateiname kann „-“ für die Standardeingabe lauten.

        Optionen:
            --version <Version>
                Legt die Version fest, die für die neue Distribution verwendet wird.

    --list, -l [Optionen]
        Listet die Distributionen auf.

        Optionen:
            --all
                Listet alle Distributionen auf, einschließlich der Distributionen, welche
                aktuell installiert oder deinstalliert sind.

            --running
                Listet nur die Distributionen auf, die aktuell ausgeführt werden.

            --quiet, -q
                Zeigt nur die Distributionsnamen.

            --verbose, -v
                Zeigt detaillierte Informationen über alle Distributionen an.

            --online, -o
                Zeigt eine Liste gültiger Distributionen für die Installation mit „wsl --install“ an.

    --set-default, -s <Distribution>
        Legt die Distribution als Standard fest.

    --set-version <Distribution> <Version>
        Ändert die Version der angegebenen Distribution.

    --terminate, -t <Distribution>
        Beendet die angegebene Distribution.

    --unregister <Distribution>
        Löscht die Registrierung der Distribution und löscht das Stammverzeichnis.
Windows features:

FeatureName
-----------
Printing-PrintToPDFServices-Features
Printing-XPSServices-Features
NetFx3
WCF-Services45
WCF-TCP-PortSharing45
SmbDirect
MSRDC-Infrastructure
MicrosoftWindowsPowerShellV2Root
MicrosoftWindowsPowerShellV2
NetFx4-AdvSrvs
SearchEngine-Client-Package
WorkFolders-Client
Printing-Foundation-Features
Printing-Foundation-InternetPrinting-Client
Microsoft-Windows-Subsystem-Linux
VirtualMachinePlatform
Microsoft-Hyper-V-All
Microsoft-Hyper-V
Microsoft-Hyper-V-Tools-All
Microsoft-Hyper-V-Management-PowerShell
Microsoft-Hyper-V-Management-Clients


HNS objects:
{
    "ActivityId":"D6B7CE6B-E29C-4878-BDB4-DDFB6F96089C",
    "AdditionalParams":{

    },
    "CurrentEndpointCount":1,
    "DNSServerList":"172.26.112.1",
    "Extensions":[
        {
            "Id":"E7C3B2F0-F3C5-48DF-AF2B-10FED6D72E7A",
            "IsEnabled":false,
            "Name":"Microsoft Windows-Filterplattform"
        },
        {
            "Id":"E9B59CFA-2BE1-4B21-828F-B6FBDBDDC017",
            "IsEnabled":false,
            "Name":"Microsoft Azure VFP Switch Extension"
        },
        {
            "Id":"430BDADD-BAB0-41AB-A369-94B67FA5BE0A",
            "IsEnabled":true,
            "Name":"Microsoft-NDIS-Aufzeichnung"
        }
    ],
    "Flags":9,
    "GatewayMac":"00-15-5D-AC-32-65",
    "Health":{
        "AddressNotificationMissedCount":0,
        "AddressNotificationSequenceNumber":0,
        "DHCPNotificationMissedCount":0,
        "DHCPNotificationSequenceNumber":0,
        "DNSCacheNotificationMissedCount":0,
        "DNSCacheNotificationSequenceNumber":0,
        "DNSNotificationMissedCount":0,
        "DNSNotificationSequenceNumber":0,
        "InterfaceNotificationMissedCount":0,
        "InterfaceNotificationSequenceNumber":0,
        "LastErrorCode":0,
        "LastUpdateTime":132970893434949401,
        "MacAddressNotificationMissedCount":0,
        "MacAddressNotificationSequenceNumber":0,
        "NeighborNotificationMissedCount":0,
        "NeighborNotificationSequenceNumber":0,
        "RouteNotificationMissedCount":0,
        "RouteNotificationSequenceNumber":0,
        "XlatNotificationMissedCount":0,
        "XlatNotificationSequenceNumber":0
    },
    "ID":"B95D0C5E-57D4-412B-B571-18A81A16E005",
    "IPv6":false,
    "IsolateSwitch":true,
    "LayeredOn":"670CF833-AC06-4B1E-A631-48DADFAB9F02",
    "MacPools":[
        {
            "EndMacAddress":"00-15-5D-AC-3F-FF",
            "StartMacAddress":"00-15-5D-AC-30-00"
        }
    ],
    "MaxConcurrentEndpoints":1,
    "Name":"WSL",
    "NatName":"ICS03DA5588-0375-40ED-975D-362A5A0EFE5D",
    "Policies":[

    ],
    "State":1,
    "Subnets":[
        {
            "AdditionalParams":{

            },
            "AddressPrefix":"172.26.112.0/20",
            "Flags":0,
            "GatewayAddress":"172.26.112.1",
            "Health":{
                "LastErrorCode":0,
                "LastUpdateTime":132970893434959403
            },
            "ID":"55D84BF6-6E1C-4AF7-9BFA-B8426EB43547",
            "IpSubnets":[
                {
                    "AdditionalParams":{

                    },
                    "Flags":3,
                    "Health":{
                        "LastErrorCode":0,
                        "LastUpdateTime":132970893434959403
                    },
                    "ID":"EC35EAF4-DC5A-4D46-8D68-0C21EAB519A0",
                    "IpAddressPrefix":"172.26.112.0/20",
                    "ObjectType":6,
                    "Policies":[

                    ],
                    "State":0
                }
            ],
            "ObjectType":5,
            "Policies":[

            ],
            "State":0
        }
    ],
    "TotalEndpoints":2,
    "Type":"ICS",
    "Version":47244640267,
    "Layer":{
        "ActivityId":"A16D2252-F770-47D4-B28A-50628CC4967E",
        "AdditionalParams":{

        },
        "Extensions":[
            {
                "Id":"E7C3B2F0-F3C5-48DF-AF2B-10FED6D72E7A",
                "IsEnabled":false,
                "Name":"Microsoft Windows-Filterplattform"
            },
            {
                "Id":"E9B59CFA-2BE1-4B21-828F-B6FBDBDDC017",
                "IsEnabled":false,
                "Name":"Microsoft Azure VFP Switch Extension"
            },
            {
                "Id":"430BDADD-BAB0-41AB-A369-94B67FA5BE0A",
                "IsEnabled":true,
                "Name":"Microsoft-NDIS-Aufzeichnung"
            }
        ],
        "Flags":0,
        "Health":{
            "LastErrorCode":0,
            "LastUpdateTime":132970893434969428
        },
        "ID":"670CF833-AC06-4B1E-A631-48DADFAB9F02",
        "IsFSE":false,
        "IsSDN":false,
        "MacPools":[
            {
                "EndMacAddress":"00-15-5D-FC-1F-FF",
                "StartMacAddress":"00-15-5D-FC-10-00"
            }
        ],
        "Name":"WSL",
        "Policies":[

        ],
        "State":0,
        "SubType":"NAT",
        "SupportsIpv6":false,
        "Type":"Layered",
        "Version":47244640267,
        "Resources":{
            "AdditionalParams":{

            },
            "AllocationOrder":1,
            "Allocators":[
                {
                    "AdditionalParams":{

                    },
                    "AllocationOrder":0,
                    "ExternalNic":false,
                    "Flags":0,
                    "Health":{
                        "LastErrorCode":0,
                        "LastUpdateTime":132970893434969428
                    },
                    "ID":"3841DAB1-7325-4ED1-8EB4-CCA0A21AD44D",
                    "IsPolicy":false,
                    "IsolateSwitch":true,
                    "MacAddress":"WSL",
                    "State":3,
                    "SwitchAllocated":true,
                    "SwitchId":"94ABF476-0E8D-4344-A02B-6C4FDEA6F221",
                    "Tag":"Virtual Switch"
                }
            ],
            "CompartmentOperationTime":0,
            "Flags":0,
            "Health":{
                "LastErrorCode":0,
                "LastUpdateTime":132970893434969428
            },
            "ID":"A16D2252-F770-47D4-B28A-50628CC4967E",
            "PortOperationTime":0,
            "State":1,
            "SwitchOperationTime":0,
            "VfpOperationTime":0
        }
    },
    "Resources":{
        "AdditionalParams":{

        },
        "AllocationOrder":2,
        "Allocators":[
            {
                "AdapterNetCfgInstanceId":"{03DA5588-0375-40ED-975D-362A5A0EFE5D}",
                "AdditionalParams":{

                },
                "AllocationOrder":0,
                "CompartmendId":0,
                "Connected":true,
                "DNSFirewallRules":true,
                "DevicelessNic":false,
                "DhcpDisabled":true,
                "EndpointNicGuid":"6DF061D4-601D-4906-B253-F1918F3BBF50",
                "EndpointPortGuid":"2A686E04-F0BB-4F29-82D4-86A2734E5DCD",
                "Flags":0,
                "Health":{
                    "LastErrorCode":0,
                    "LastUpdateTime":132970893437353703
                },
                "ID":"28B76565-6D1C-456A-B301-D0EFAD2BEC55",
                "InterfaceGuid":"03DA5588-0375-40ED-975D-362A5A0EFE5D",
                "IsPolicy":false,
                "IsolationId":0,
                "MacAddress":"00-15-5D-EF-79-E5",
                "ManagementPort":true,
                "NcfHidden":false,
                "NicFriendlyName":"WSL",
                "NlmHidden":true,
                "PreferredPortFriendlyName":"Container NIC 28b76565",
                "State":3,
                "SwitchId":"94ABF476-0E8D-4344-A02B-6C4FDEA6F221",
                "Tag":"Host Vnic",
                "WaitForIpv6Interface":false,
                "nonPersistentPort":false
            },
            {
                "AdditionalParams":{

                },
                "AllocationOrder":1,
                "Dhcp":false,
                "Dns":true,
                "ExternalInterfaceConstraint":0,
                "Flags":0,
                "Health":{
                    "DHCPState":1,
                    "DNSState":2,
                    "ICSState":2,
                    "LastErrorCode":0,
                    "LastUpdateTime":132970893439240717
                },
                "ICSDHCPFlags":0,
                "ICSFlags":0,
                "ID":"EEFD6239-A608-46D3-85C3-2549E0D70F14",
                "IsPolicy":false,
                "Prefix":20,
                "PrivateInterfaceGUID":"03DA5588-0375-40ED-975D-362A5A0EFE5D",
                "State":3,
                "SubnetIPAddress":"172.26.112.0",
                "Tag":"ICS"
            }
        ],
        "CompartmentOperationTime":0,
        "Flags":0,
        "Health":{
            "LastErrorCode":0,
            "LastUpdateTime":132970893437343699
        },
        "ID":"D6B7CE6B-E29C-4878-BDB4-DDFB6F96089C",
        "PortOperationTime":0,
        "State":1,
        "SwitchOperationTime":0,
        "VfpOperationTime":0,
        "parentId":"A16D2252-F770-47D4-B28A-50628CC4967E"
    }
}
{
    "ID":"e10ba03e-72d4-42ca-a529-9174c4c4187d",
    "Name":"Ethernet",
    "Version":47244640267,
    "AdditionalParams":{
        "SwitchId":"94ABF476-0E8D-4344-A02B-6C4FDEA6F221",
        "SwitchPortId":"659BE042-92F9-4B65-A27C-346879DA40EA"
    },
    "State":2,
    "VirtualNetwork":"b95d0c5e-57d4-412b-b571-18a81a16e005",
    "VirtualNetworkName":"WSL",
    "MacAddress":"00-15-5D-AC-39-EB",
    "IPAddress":"172.26.122.47",
    "PrefixLength":20,
    "GatewayAddress":"172.26.112.1",
    "IPSubnetId":"ec35eaf4-dc5a-4d46-8d68-0c21eab519a0",
    "DNSServerList":"172.26.112.1",
    "SharedContainers":[

    ],
    "VirtualMachine":"8A58238E-1932-45F7-8837-16A043375563"
}
{
    "ActivityId":"9DD305A4-D708-4125-B471-9F22F30FF6E6",
    "AdditionalParams":{

    },
    "CompartmentGuid":"B1062982-2B18-4B4F-B3D5-A78DDB9CDD49",
    "CompartmentId":1,
    "Containers":[

    ],
    "Flags":0,
    "Health":{
        "LastErrorCode":0,
        "LastUpdateTime":132969452696584329
    },
    "ID":"910F7D92-BA2D-4C3F-98AE-7C0AC590D2DC",
    "IsDefault":true,
    "Policies":[

    ],
    "State":1,
    "Version":47244640267
}
Routing table:
===========================================================================
Schnittstellenliste
  17...60 45 cb 9c 47 9b ......Intel(R) I211 Gigabit Network Connection
  1...........................Software Loopback Interface 1
  38...00 15 5d ef 79 e5 ......Hyper-V Virtual Ethernet Adapter
===========================================================================

IPv4-Routentabelle
===========================================================================
Aktive Routen:
      Netzwerkziel    Netzwerkmaske          Gateway    Schnittstelle Metrik
          0.0.0.0          0.0.0.0     192.168.42.1    192.168.42.96    281
        127.0.0.0        255.0.0.0   Auf Verbindung         127.0.0.1    331
        127.0.0.1  255.255.255.255   Auf Verbindung         127.0.0.1    331
  127.255.255.255  255.255.255.255   Auf Verbindung         127.0.0.1    331
      172.26.112.0    255.255.240.0   Auf Verbindung      172.26.112.1   5256
      172.26.112.1  255.255.255.255   Auf Verbindung      172.26.112.1   5256
    172.26.127.255  255.255.255.255   Auf Verbindung      172.26.112.1   5256
      192.168.42.0    255.255.255.0   Auf Verbindung     192.168.42.96    281
    192.168.42.96  255.255.255.255   Auf Verbindung     192.168.42.96    281
    192.168.42.255  255.255.255.255   Auf Verbindung     192.168.42.96    281
        224.0.0.0        240.0.0.0   Auf Verbindung         127.0.0.1    331
        224.0.0.0        240.0.0.0   Auf Verbindung     192.168.42.96    281
        224.0.0.0        240.0.0.0   Auf Verbindung      172.26.112.1   5256
  255.255.255.255  255.255.255.255   Auf Verbindung         127.0.0.1    331
  255.255.255.255  255.255.255.255   Auf Verbindung     192.168.42.96    281
  255.255.255.255  255.255.255.255   Auf Verbindung      172.26.112.1   5256
===========================================================================
Ständige Routen:
  Netzwerkadresse          Netzmaske  Gatewayadresse  Metrik
          0.0.0.0          0.0.0.0     192.168.42.1  Standard
===========================================================================

IPv6-Routentabelle
===========================================================================
Aktive Routen:
  If Metrik Netzwerkziel             Gateway
  1    331 ::1/128                  Auf Verbindung
  17    281 fe80::/64                Auf Verbindung
  38   5256 fe80::/64                Auf Verbindung
  38   5256 fe80::cfb:2cf4:70d1:4d4c/128
                                    Auf Verbindung
  17    281 fe80::c5e3:cd1c:f13d:1922/128
                                    Auf Verbindung
  1    331 ff00::/8                 Auf Verbindung
  17    281 ff00::/8                 Auf Verbindung
  38   5256 ff00::/8                 Auf Verbindung
===========================================================================
Ständige Routen:
  Keine
Deleting HNS network
Der Name für den Dienst ist ungültig.

Sie erhalten weitere Hilfe, wenn Sie NET HELPMSG 2185 eingeben.

LxssManager wird beendet.
LxssManager wurde erfolgreich beendet.



Name               : HnsPacketCapture
CaptureMode        : SaveToFile
LocalFilePath      : C:\Users\Fab\Documents\WSL_Debugging\diagnostics\\packets.etl
MaxFileSize        : 250 MB
TraceBufferSize    : 0 KB
MaxNumberOfBuffers : 0
SessionStatus      : NotRunning





Name               : Microsoft-Windows-NDIS-PacketCapture
SessionName        : HnsPacketCapture
Level              : 5
MatchAnyKeyword    : 0xFFFFFFFFFFFFFFFF
MatchAllKeyword    : 0x0
CaptureType        : BothPhysicalAndSwitch
VmCaptureDirection : IngressAndEgress
MultiLayer         : False
LinkLayerAddress   : {}
EtherType          : {}
IpAddresses        : {}
IpProtocols        : {}
TruncationLength   : 128



If you see 'ping: socket: Operation not permitted' errors, run this command as root.
+ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
+ uname -a
Linux Fab-PC 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 GNU/Linux
+ 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
2: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 0e:a2:52:6a:b4:9d brd ff:ff:ff:ff:ff:ff
3: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether ce:b4:32:d1:b3:6e brd ff:ff:ff:ff:ff:ff
4: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip 0.0.0.0 brd 0.0.0.0
5: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/sit 0.0.0.0 brd 0.0.0.0
6: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:15:5d:6d:fa:11 brd ff:ff:ff:ff:ff:ff
    inet 172.26.93.106/20 brd 172.26.95.255 scope global eth0
        valid_lft forever preferred_lft forever
    inet6 fe80::215:5dff:fe6d:fa11/64 scope link tentative
        valid_lft forever preferred_lft forever
+ ip route show
default via 172.26.80.1 dev eth0
172.26.80.0/20 dev eth0 proto kernel scope link src 172.26.93.106
++ ip route show
++ awk '/default/ { print $3 }'
+ gateway=172.26.80.1
+ ping -c 4 172.26.80.1
PING 172.26.80.1 (172.26.80.1) 56(84) bytes of data.

--- 172.26.80.1 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 130ms

+ ping -c 4 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.

--- 1.1.1.1 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 121ms

+ traceroute 1.1.1.1
traceroute to 1.1.1.1 (1.1.1.1), 30 hops max, 60 byte packets
  1  172.26.80.1 (172.26.80.1)  0.241 ms  0.260 ms  0.220 ms
  2  * * *
  3  * * *
  ...
30  * * *
+ cat /etc/resolv.conf
# This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
# [network]
# generateResolvConf = false
search home
nameserver 192.168.42.1
+ type curl
+ curl -m 5 -v https://microsoft.com
* Expire in 0 ms for 6 (transfer 0x55d949dac0f0)
* Expire in 5000 ms for 8 (transfer 0x55d949dac0f0)
* Expire in 1 ms for 1 (transfer 0x55d949dac0f0)
* ...
* Expire in 200 ms for 1 (transfer 0x55d949dac0f0)
* Resolving timed out after 5000 milliseconds
* Could not resolve host: microsoft.com
* Closing connection 0
curl: (28) Resolving timed out after 5000 milliseconds

This trace has dropped 117 events. Please record this trace again.

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
Projects
None yet
Development

No branches or pull requests

11 participants