An Azure subscription contains a virtual network named `VNet1` (). `VNet1` contains three subnets: `Subnet-Web` (), `Subnet-App` (), and `Subnet-DMZ` (). A Network Virtual Appliance (NVA) named `NVA1` is deployed in `Subnet-DMZ` and has the IP address . You need to ensure that all traffic from `Subnet-Web` destined for `Subnet-App` is routed through `NVA1`. Which two actions should you perform? (Select two.)
- Create a route table, add a route for destination with the next hop type set to Virtual Appliance and next hop IP address set to , and associate the route table with Subnet-Web.Cevap
- Enable IP forwarding on the Azure network interface associated with NVA1.Cevap
- CCreate a route table, add a route for destination with the next hop type set to Virtual Network Gateway, and associate the route table with Subnet-App.
- DEnable IP forwarding on the network interfaces of all virtual machines in Subnet-Web.
Cevap
To route traffic from the web subnet to the application subnet through the NVA, you must create a route table with a route targeting the application subnet () using the virtual appliance () as the next hop, associate this route table with the web subnet, and enable IP forwarding on the network interface of the NVA.
The correct options state that you must associate a route table with a custom route targeting the application subnet using the virtual appliance as the next hop to the web subnet, and enable IP forwarding on the network interface of the NVA. The route table overrides system routing to ensure traffic is sent to the NVA's IP, and IP forwarding allows the NVA to accept and forward packets not addressed to its own IP.
Adım Adım Çözüm
Anahtar Kavram
User-Defined Routes (UDR) and IP forwarding for Network Virtual Appliances (NVA)