Add route | |
---|---|
route ADD 192.168.65.0 MASK 255.255.255.0 192.168.64.1 | |
route ADD 192.168.64.0 MASK 255.255.255.0 192.168.64.1 | |
route delete x.x.x.x | |
route change | |
PowerShell | https://docs.microsoft.com/en-us/powershell/module/nettcpip/new-netroute?view=windowsserver2022-ps |
New-NetRoute -DestinationPrefix"192.168.64.10/32" -InterfaceIndex 3 -NextHop192.168.64.1 | |
https://docs.microsoft.com/en-us/powershell/module/nettcpip/remove-netroute?view=windowsserver2022-ps | |
Remove-NetRoute -DestinationPrefix"192.168.64.10/32" -NextHop"192.168.64.1" | |
show commands | |
netstat -rn | |
route print |
Page Comparison
General
Content
Integrations