Skill 4.1.4

Configure user-defined routes

Key Concepts

Azure creates system routes for every subnet: traffic within the VNet and to peered VNets is routed directly, traffic to 0.0.0.0/0 goes to the internet, and gateway routes come from VPN or ExpressRoute (BGP). A route table holds user-defined routes (UDRs), each with an address prefix and a next hop type: Virtual appliance (with the NVA's or firewall's private IP), Virtual network gateway, Virtual network, Internet or None (drop the traffic). A route table is associated with one or more subnets in the same region and subscription, and applies to traffic leaving those subnets.

When several routes match, Azure chooses the longest prefix match; for equal prefixes, a UDR wins over a BGP route, which wins over a system route. A forced-tunnelling design adds 0.0.0.0/0 with next hop Virtual appliance to send internet-bound traffic through a firewall. The NVA's network interface must have IP forwarding enabled, and the operating system must forward packets. Propagate gateway routes can be disabled on a route table so that BGP routes from on-premises are not learned by the subnet.