Deploying vSZ 5.1 on GCE - how about people setting up their IP, gateway and netmask for public IPs?

  • 1
  • Question
  • Updated 6 months ago
I'm trying to deploy vSZ (virtual SmartZone) to GCE (Google Compute Engine).

I was able to upload the tar.bz image file, and create a GCE instance based on it. I can start the instance, and connect to the web interface via the public IP.

However, then I get to this screen:


It's asking for IP address, netmask and gateway.

I can't put the GCE public IP static address, since there's no gateway there, is there?

I tried putting the GCE private internal IP address for that instance, but then afterwards, I can't seem to access the SmartZone web interface by the public IP address anymore (which I assume is related to this).

How are people setting up networking for the vSZ instances in GCE?
Photo of victorhooi

victorhooi

  • 2 Posts
  • 0 Reply Likes
  • Confused

Posted 7 months ago

  • 1
Photo of Diego Garcia del Rio

Diego Garcia del Rio

  • 89 Posts
  • 32 Reply Likes
Indeed asign the Google private ip or just leave it with DHCP. Then assign a floating IP to it from the gce console or just look what external/floating IP google gave you. And just use that IP in your browser to continue the process. Did you open the necessary ports in the gce firewall? There is a setting to define the nat (outside) up where you tell vsz what it's public IP is so that it can properly configure the APs. But it should not prevent you from accessing the gui.

But make sure you keep the internal IP with DHCP or the exact same IP google assigned to it. You can just chose any private / internal IP on these type of clouds.
Photo of victorhooi

victorhooi

  • 2 Posts
  • 0 Reply Likes
Hmm, I don't think that is working for me.

During the initial vSZ configuration wizard, I did indeed assign the private GCE IP address, and gateway.

At first - the machine would shutdown shortly after starting up - it turns out this was because it expects at least 13GB of RAM, and 2 CPU cores:



I increase the memory, and started up again - I can no longer access the web UI from the public IP address (yet I could before doing the setup wizard).

Any ideas what's going on?

Is it somehow listening on the private internal IP address, and not the public static IP address?
Photo of Diego Garcia del Rio

Diego Garcia del Rio

  • 89 Posts
  • 32 Reply Likes
The server has no idea about the external IP for the time being. GCE does the translation for you. Keep in mind that the gui is running on port 8443. Are you connecting to that port and did you open it in the gce firewall? You could try spinning up a regular VM and trying to use curl to see if the gui is up on port 8443.

Since you have ssh access via the Google console can you try to see if all services are up?