first commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
---
|
||||
title: Fix WSL to Hyperv network
|
||||
updated: 2023-02-08 17:09:10Z
|
||||
created: 2023-02-08 17:08:43Z
|
||||
latitude: 39.18360820
|
||||
longitude: -96.57166940
|
||||
altitude: 0.0000
|
||||
---
|
||||
```powershell
|
||||
Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)'} | Select-Object ifIndex,InterfaceAlias,ConnectionState,Forwarding
|
||||
```
|
||||
|
||||
```powershell
|
||||
`Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)' -or $_.InterfaceAlias -eq 'vEthernet (Default Switch)'} | Set-NetIPInterface -Forwarding Enabled -Verbose`
|
||||
```
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
title: Fix WSL to Hyperv network
|
||||
updated: 2023-02-08 17:09:10Z
|
||||
created: 2023-02-08 17:08:43Z
|
||||
latitude: 39.18360820
|
||||
longitude: -96.57166940
|
||||
altitude: 0.0000
|
||||
---
|
||||
```powershell
|
||||
Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)'} | Select-Object ifIndex,InterfaceAlias,ConnectionState,Forwarding
|
||||
```
|
||||
|
||||
```powershell
|
||||
`Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)' -or $_.InterfaceAlias -eq 'vEthernet (Default Switch)'} | Set-NetIPInterface -Forwarding Enabled -Verbose`
|
||||
```
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
title: Fix WSL to Hyperv network
|
||||
updated: 2023-02-08 17:09:10Z
|
||||
created: 2023-02-08 17:08:43Z
|
||||
latitude: 39.18360820
|
||||
longitude: -96.57166940
|
||||
altitude: 0.0000
|
||||
---
|
||||
```powershell
|
||||
Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)'} | Select-Object ifIndex,InterfaceAlias,ConnectionState,Forwarding
|
||||
```
|
||||
|
||||
```powershell
|
||||
`Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)' -or $_.InterfaceAlias -eq 'vEthernet (Default Switch)'} | Set-NetIPInterface -Forwarding Enabled -Verbose`
|
||||
```
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
title: Fix WSL to Hyperv network
|
||||
updated: 2023-02-08 17:09:10Z
|
||||
created: 2023-02-08 17:08:43Z
|
||||
latitude: 39.18360820
|
||||
longitude: -96.57166940
|
||||
altitude: 0.0000
|
||||
---
|
||||
```powershell
|
||||
Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)'} | Select-Object ifIndex,InterfaceAlias,ConnectionState,Forwarding
|
||||
```
|
||||
|
||||
```powershell
|
||||
`Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)' -or $_.InterfaceAlias -eq 'vEthernet (Default Switch)'} | Set-NetIPInterface -Forwarding Enabled -Verbose`
|
||||
```
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
title: Fix WSL to Hyperv network
|
||||
updated: 2023-02-08 17:09:10Z
|
||||
created: 2023-02-08 17:08:43Z
|
||||
latitude: 39.18360820
|
||||
longitude: -96.57166940
|
||||
altitude: 0.0000
|
||||
---
|
||||
```powershell
|
||||
Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)'} | Select-Object ifIndex,InterfaceAlias,ConnectionState,Forwarding
|
||||
```
|
||||
|
||||
```powershell
|
||||
`Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)' -or $_.InterfaceAlias -eq 'vEthernet (Default Switch)'} | Set-NetIPInterface -Forwarding Enabled -Verbose`
|
||||
```
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
title: Fix WSL to Hyperv network
|
||||
updated: 2023-02-08 17:09:10Z
|
||||
created: 2023-02-08 17:08:43Z
|
||||
latitude: 39.18360820
|
||||
longitude: -96.57166940
|
||||
altitude: 0.0000
|
||||
---
|
||||
```powershell
|
||||
Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)'} | Select-Object ifIndex,InterfaceAlias,ConnectionState,Forwarding
|
||||
```
|
||||
|
||||
```powershell
|
||||
`Get-NetIPInterface | where {$_.InterfaceAlias -eq 'vEthernet (WSL)' -or $_.InterfaceAlias -eq 'vEthernet (Default Switch)'} | Set-NetIPInterface -Forwarding Enabled -Verbose`
|
||||
```
|
||||
Reference in New Issue
Block a user