Reputation: 33
I have a KVM instance deployed on GCP. There are nested VMs deployed on this KVM instance. I would like to assign unique public IP addresses to these Nested VMs without the use of Proxies and port forwarding.
I was thinking of using alias IPs as described here
I can then assign a unique alias IP to each of the Nested VMs and the nested VMs will now be in the same subnet as the hypervisor itself.
However I'm not sure how to assign a public IP address to these alias IPs. Is it possible?
Or is there a way to achieve the goal: Assigning public IP to nested VMs
Upvotes: 0
Views: 683
Reputation: 449
After several attempt to replicate this setup to see if it was possible, it does not appear to be so. Additionally, it is unlikely this kind of setup would be supported by Google even if you happen to get it working by some kind of customization, etc.
However, if there was a partial solution it would be around IP aliasing and/or bridging, like the document you attached.
I did also find this community article that may be helpful.
Upvotes: 0
Reputation: 79
This is not possible today without some customization. One possible workaround is documented here.
Upvotes: 1