An Azure administrator is configuring virtual network routing. The environment contains a virtual network named `VNet-Frontier` () with three subnets:
- `Subnet-Web` ()
- `Subnet-App` ()
- `Subnet-Security` ()
A Network Virtual Appliance (NVA) named `NVA-01` is deployed in `Subnet-Security` and is assigned the private IP address . You need to ensure that all traffic from `Subnet-Web` to `Subnet-App` is routed through `NVA-01`. All other traffic from `Subnet-Web` must route normally using the default system routes.
Which two actions should you perform to meet the requirements? (Select TWO.)
- Associate a route table to Subnet-Web that contains a route for with a next hop type of Virtual appliance and next hop IP address .Answer
- Enable IP forwarding on the network interface of NVA-01.Answer
- CAssociate a route table to Subnet-Web that contains a route for with a next hop type of Virtual network gateway and next hop IP address .
- DEnable IP forwarding on Subnet-Web and Subnet-App.
- EAssociate a route table to Subnet-Security that contains a route for with a next hop type of Virtual appliance.
Answer
Associate a route table to the web subnet containing a route for the app subnet's address range () with a next hop type of Virtual appliance pointing to the NVA's IP address (), and enable IP forwarding on the network interface of the NVA.
To send traffic from one subnet through an NVA, a route table must be associated with the source subnet (the web subnet) containing a route for the target destination (the app subnet) with the next hop type configured as 'Virtual appliance' and the NVA's private IP as the next hop address. Additionally, the NVA's virtual network interface in Azure must have IP forwarding enabled so it does not drop the transit traffic.
Step-by-Step Solution
Key Concept
Routing traffic through a Network Virtual Appliance (NVA) requires creating a UDR pointing to the NVA's IP address with the 'Virtual appliance' next hop type, associating it with the source subnet, and enabling IP forwarding on the NVA's network interface.
Estimated Time:2m 0s