Configure NetSpeek Edge with Static IP Address
This guide provides step-by-step instructions on how to configure a static IP address for the NetSpeek Edge Client Virtual Machine whether you’re connected to it via SSH or through the Terminal view in your Hypervisor.
1. Verify Current Network Configuration
Open a terminal session inside the VM and check the current network setup:
cat /etc/network/interfaces
By default, the ens33 interface is configured for DHCP, like this:
allow-hotplug ens33 iface ens33 inet dhcp
This means the VM receives an IP dynamically from a DHCP server.
2. Edit the Interfaces File
We will change the configuration from DHCP to static.
Open the file in the editor:
sudo nano /etc/network/interfaces
1. Update the ens33 section to use a static IP.
Example:
iface ens33 inet static address <new-ip-address> netmask <your-subnet-mask> gateway <your-gateway>
⚠️ Adjust address, netmask, gateway, to match your network.
2. Save and exit Nano:
Press Ctrl + O → Enter (to save)
Note that the first action is to hold the Ctrl key and subsequently press the letter “O”, then the nano editor will display the current filename at the bottom of the screen. Release Ctrl and O, and then press Enter or Return to confirm the filename and save your changes.
CTRL + O has been pressed
Enter has been pressed – nano confirms it wrote 15 lines into the file
3. Press Ctrl + X (to exit)
CTRL + X has been pressed, removing you from nano and returning to command line
3. Restart Networking Service and Verify the New Static IP
Apply the changes by restarting networking:
sudo systemctl restart networking
Check the IP configuration:
ip a
You should see the ens33 interface with your new static IP, for example:
inet 192.168.1.5/24 brd 192.168.1.255 scope global ens33
4. Connectivity Test
- From another machine on the same network, ping the new static IP:
ping <new-ip-address> - Or use a web browser and navigate to your new IP address at port 8080 and try accessing the WebUI:
http://<new-ip-address>:8080
If successful, the Edge Client VM is now reachable on its new static IP.
5. Troubleshooting
- If you lose connectivity via SSH, reconnect using the new static IP.
- If the VM becomes unreachable, use the VMware ESXi console to revert or correct the configuration.
- Ensure the chosen IP does not conflict with other devices on the network.