- You are the administrator for your company network. You are configuring the network for a small branch office. Currently, the branch office does not connect directly to the Internet. You deploy a new server named Server1, in the branch office, that has a Server Core installation of Windows Server 2016. Server1 has two network adapters configured as:
Network Adapter Name
|
IP Address
|
Connects To
|
NIC1
|
192.168.1.1/24
|
The branch office
network
|
NIC2
|
131.107.10.1/29
|
The Internet
|
- You plan to use Server1 to provide Internet connectivity for the branch office. Routing and Remote Access Service (RRAS) is installed and configured for VPN remote access on Server1. What command or cmdlet should you use first if you need to configure RRAS on Server1 to provide Network Address Translation (NAT)?
- New-NetNat NAT1 –ExternalIPInterfaceAddressPrefix 131.107.10.1/29
- Route.exe add 192.168.1.1 255.255.255.0 131.107.10.1 metric 1
- Enable-NetNatTransitionConfiguration
- Netsh.exe routing ip nat
install
The route.exe command is an MS-DOS executable for Windows. It is used to block IP connections to the system by adding IP addresses to a routing table. The syntax is
Route [command] [destination] [subnet mask] [gateway] [metric].
add: Adds a route.
destination: Specifies the host.
subnet mask: Specifies the subnet mask value for the route entry. The default is 255.255.255.255.
gateway: Specifies the gateway.
metric: Specifies the metric (the cost for the destination). Metrics are cost values used by routers to determine the best path to a destination network.
No comments:
Post a Comment