You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates to download and install, Ubuntu to be usable.
Actual Behavior
Updates do not download, and Ubuntu cannot access internet.
Diagnostic Logs
I have by hand determined this to be due to the network setup here.
The system is used to manage machines on two separate networks, 192.168.0.x and 192.168.1.x
The system only has a gateway on one network, so all internet traffic should flow out that.
Instead, it seems WSL is trying to use the network with no gateway.
If I remove the management network IP address and reboot the system, then everything's ok.
This issue has been automatically closed since it has not had any author activity for the past 7 days. If you're still experiencing this issue please re-open it.
Version
Microsoft Windows [Version 10.0.19044.1620]
WSL Version
Kernel Version
5.10.16.3-microsoft-standard-WSL2
Distro Version
Ubuntu
Other Software
No response
Repro Steps
Install WSL
Open Ubuntu
sudo bash
apt-get update
Expected Behavior
Updates to download and install, Ubuntu to be usable.
Actual Behavior
Updates do not download, and Ubuntu cannot access internet.
Diagnostic Logs
I have by hand determined this to be due to the network setup here.
The system is used to manage machines on two separate networks, 192.168.0.x and 192.168.1.x
The system only has a gateway on one network, so all internet traffic should flow out that.
Instead, it seems WSL is trying to use the network with no gateway.
If I remove the management network IP address and reboot the system, then everything's ok.
PS C:\Users\Owner> ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : DEV01
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Network:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Ethernet Connection (5) I219-LM
Physical Address. . . . . . . . . : 10-E7-C6-37-6A-67
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 192.168.0.130(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
IPv4 Address. . . . . . . . . . . : 192.168.1.248(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.254
DNS Servers . . . . . . . . . . . : 192.168.1.245
192.168.1.246
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter VirtualBox Host-Only Network:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
Physical Address. . . . . . . . . : 0A-00-27-00-00-0A
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::491b:ad05:f303:2621%10(Preferred)
Autoconfiguration IPv4 Address. . : 169.254.38.33(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 470417447
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-25-F8-08-9A-10-E7-C6-37-6A-67
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter vEthernet (Network):
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter
Physical Address. . . . . . . . . : 00-15-5D-EC-5F-A3
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::64a1:3882:6328:ed47%19(Preferred)
IPv4 Address. . . . . . . . . . . : 172.31.0.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 318772573
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-25-F8-08-9A-10-E7-C6-37-6A-67
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter vEthernet (Default Switch):
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #2
Physical Address. . . . . . . . . : 00-15-5D-D0-24-E8
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::7514:d2bf:ba01:1157%32(Preferred)
IPv4 Address. . . . . . . . . . . : 172.28.0.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 536876381
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-25-F8-08-9A-10-E7-C6-37-6A-67
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter vEthernet (VirtualBox Host):
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #3
Physical Address. . . . . . . . . : 00-15-5D-35-65-3F
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::1d8d:40ba:df9e:6835%38(Preferred)
IPv4 Address. . . . . . . . . . . : 172.28.80.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 637539677
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-25-F8-08-9A-10-E7-C6-37-6A-67
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter vEthernet (WSL):
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #4
Physical Address. . . . . . . . . : 00-15-5D-A0-14-0C
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::51ac:b097:7d02:4304%44(Preferred)
IPv4 Address. . . . . . . . . . . : 172.30.144.1(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.240.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : 738202973
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-25-F8-08-9A-10-E7-C6-37-6A-67
DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
fec0:0:0:ffff::2%1
fec0:0:0:ffff::3%1
NetBIOS over Tcpip. . . . . . . . : Enabled
The text was updated successfully, but these errors were encountered: