E
Size: a a a
E
E
PS C:\WINDOWS\system32> New-NetRoute -DestinationPrefix "172.19.14.0/23" -InterfaceIndex 23 -NextHop "172.18.1.1" -PolicyStore ActiveStore
ifIndex DestinationPrefix NextHop RouteMetric PolicyStore
------- ----------------- ------- ----------- -----------
23 172.19.14.0/23 172.18.1.1 256 ActiveStore
PS C:\WINDOWS\system32> Find-NetRoute -RemoteIPAddress "172.19.14.1" | Format-Table DestinationPrefix, NextHop, InterfaceAlias, InterfaceIndex
DestinationPrefix NextHop InterfaceAlias InterfaceIndex
----------------- ------- -------------- --------------
Wi-Fi 3
0.0.0.0/0 10.11.11.1 Wi-Fi 3
PS C:\WINDOWS\system32> Get-NetAdapter
Name InterfaceDescription ifIndex Status MacAddress LinkSpeed
---- -------------------- ------- ------ ---------- ---------
Ethernet Realtek PCIe GBE Family Controller 4 Disconnected 50-B7-C3-0C-9F-C3 0 bps
VMware Network Adapte...8 VMware Virtual Ethernet Adapter for ... 10 Up 00-50-56-C0-00-08 100 Mbps
VMware Network Adapte...1 VMware Virtual Ethernet Adapter for ... 8 Up 00-50-56-C0-00-01 100 Mbps
Ethernet 2 Cisco AnyConnect Secure Mobility Cli... 23 Up 00-05-9A-3C-7A-00 149.2 Mbps
Wi-Fi Intel(R) Centrino(R) Advanced-N 6235 3 Up B4-B6-76-01-39-CA 120 Mbps
E
P
E
E
E
P
P
E
E
E
P
P
route add 172.19.14.0/23 172.18.1.1
E
E
Х
Х
Х
P