Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Assigning multiple External Public IPv4 Addresses to VM

Hello.  I am new to GCE and GCVE but am fairly familiar with AWS and have deployed on VMWare.  I am attempting to do with GCE VM what I can do on a bare metal VM ESXi host machine which is to assign a block of Public, Static IPv4 addresses from within the same subnet.  Then via VPN tunneling to remote peers, pass those Public v4 addresses through to LAN client(s). 

I understand that there may some type of limitation on GCE VM where it's a 1 - 1 setup on the VPC and that I can create multiple VPCs, do some creative routing, etc.  However I keep being assigned a Public v4 address from other subnets in West 1 eg one from 34.19.0.0/17, and one from 35.199.144.0/20, one from 104.196.224.0/19, ad nauseum.  I tired to rinse and repeat with definition of internal private scope definitions to no effect. 

I hope that it's just a mis-step on my part and there is, in fact, a way to accomplish.  Additionally, and secondarily, I am seeing much higher latency on GCE routes that I see on AWS in the same region using the same virtual image and endpoints.  Again, not certain where I am going wrong and any advice or experience in this regards would be greatly appreciated.

Thank you in advance.

- Beau

1 REPLY 1

Hi,

Are you able to elaborate a bit more on what you are trying to achieve?  It wasn't entirely clear to me from your question.

Thanks,

Alex