I am following this tutorial to configure multiple subnets and firewall:
This tutorial shows how to filter traffic through the firewall. However, when I look at the
Public Subnet, the CIDR range for the subnet is
10.1.1.0/24 but the route table shows
local destination to be
10.1.0.0/16, shouldn't it be
Same thing for Private Subnet, the CIDR range for Private subnet is
10.1.0.0/24 but the Route table for
local target shows the destination as
I am either very confused or have no clue why its configured this way. Can someone please help me understand.
10,1,0,0/16network as the aggregate, meaning that is what you advertise to the public. Any packets in that range get sent to you, and your network knows how to deliver the packets to the correct subnet. Remember that packets only have the destination address, not the destination mask.