Can I add an extra route to my Amazon VPC?
You do not need to add a route into any routing table for this to work. It can be accomplished in a few steps in the console
- Go to "VPN Connections", select the connection for your corporate LAN, go to the "Static Routes" tab and add the new IP subnet
- Go to "Route Tables", select the table you want to modify, go to the "Route Propagation" tab and insure the Virtual Private Gateway for your corporate LAN is checked
- Insure that the route table modified in the previous step is associated with the subnets you want ("Subnets", select a subnet, "Route Table")
Note: You can only have one route table associated with a subnet at a time. If you have changed the route table from the main routing table to a custom one, you will need to insure that route table has route propagation enabled for your virtual private gateway.
Additional things to check:
- Be sure that routes are setup appropriately on your corporate LAN so that packets from the new IP subnet to the VPC subnet will be appropriately routed via your customer gateway
- Insure that if you were filtering packets on your customer gateway you enable packets with the new IP subnet as the source.
As always review the Amazon Virtual Private Cloud documentation.