Which cmdlet should you use?

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 reproduces 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 the 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-NetNeighbor
B. New-NetRoute
C. Set-NetTcpSetting
D. Set-NetNeighbor

microsoft-exams

3 thoughts on “Which cmdlet should you use?

  1. tthe answer should be D. Set-NetNeighbor

    Explanation/Reference:
    https://technet.microsoft.com/en-us/itpro/powershell/windows/nettcpip/set-netneighbor
    The Set-NetNeighbor cmdlet modifies a neighbor cache entry. The neighbor cache maintains information for each on-link neighbor, including the IP address and the
    associated link-layer address. You can modify only neighbor cache entries that are in a permanent state on interfaces that have link-layer addresses. Use this
    cmdlet to modify the link-layer address and policy store setting of a neighbor cache entry.
    Set-NetNeighbor -InterfaceIndex -IPAddress “10.10.1.6” -LinkLayerAddress
    After performing the above “Set-NetNeighbor”, the developer’s client computer will be redirected to the development’s server.

  2. The answer should be New-NetNeighbor
    Production and development network are on the same subnet. Not sure how New-NetRoute will fit here

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.