In this hands-on lab, you are working as an Azure network engineer for Street Wise, a company that produces high-tech GPS applications. You’ve been asked to create a custom network route in order to route traffic heading for the server through a virtual appliance for inspection. To do so, you’ll use custom routes to direct traffic bound for the server’s virtual machine to a virtual appliance first, and then onward to the server.
Successfully complete this lab by achieving the following learning objectives:
- Create a Route Table and a Route
Create a route that specifies that traffic bound for the server virtual machine’s subnet should first hop to the virtual appliance’s IP address.
Make sure you create the route table in the same region as the other resources.
- Associate the Route Table to a Subnet
Associate the route table to the user virtual machine’s subnet.
- Enable IP Forwarding on the Virtual Appliance
On the NIC of the virtual appliance virtual machine, enable IP forwarding.
- Test That Routing Is Working
Log in to the user virtual machine via remote desktop with the credentials provided on the lab page and use the
tracertcommand to test if traffic is hopping to the virtual appliance first before heading to the server virtual machine’s IP address.