PrepAway - Latest Free Exam Questions & Answers

rosoft.com/en-us/powershell/module/nettcpip/new-netroute?view=win10-ps…

Your network

contains three subnets, a production subnet that contains production servers, a development network that contains development servers, and a client network that contains client computers.

The development network is used to test applications and reproduce

s servers that are located on the production network.

The development network and the production network use the same IP address range.

A developer has a client computer on the client network.

The developer reports that when he attempts to connect to th

e IP address 10.10.1.6 from his computer, he connects to a server on the production network.

You need to ensure that when the developer connects to 10.10.1.6, he connects to a sever on the development network.

Which cmdlet should you use?

A.

New-NetNeig

hbor

B.

New-NetRoute

C.

Set-NetTcpSetting

D.

Set-NetNeighbor

Explanation:

The New-NetRoute cmdlet creates an IP route in the IP routing table. Specify the destination prefix, and specify an interface by using the interface alias or the interface

index.

IP routing is the process of forwarding a packet based on the destination IP address. Routing occurs at TCP/IP hosts and at IP routers. The sending host or router determines where to forward the packet. To determine where to forward a packet, the

host or router consults a routing table that is stored in memory. When TCP/IP starts, it creates entries in the routing table. You can add entries either manually or automatically.

Example: Add an IP route to the routing table

PS C:\>New-NetRoute -Destina

tionPrefix -10.0.0.0/24- -InterfaceIndex 12 -NextHop 192.168.0.1

PS C:\> Get-NetRoute | Format-List -Property *

This example adds a routing table entry, and then displays the properties of all the entries in the routing table.

Reference

s

: https://docs.mic

rosoft.com/en-us/powershell/module/nettcpip/new-netroute?view=win10-ps


Leave a Reply