Why does a Second Network Interface get its own VPC in GCP
Why does a second network interface require a separate VPC (subnet in a separate VPC) to attach to?
The reason has to do partly with the way routes are inherited by network interfaces.
NICs automatically inherit default routes from the global routing table defined at the VPC Level.
The question then arises - if you add a second NIC, what is the advantage of it inheriting exactly the same routes?
Since the idea of a second NIC is typically to provide additional (Secondary) network routing, it makes sense to attach it to a second VPC that is different from the first.
Need an experienced AWS/GCP/Azure Professional to help out with your Public Cloud Strategy? Set up a time with Anuj Varma.
Leave a Reply