VM has no internet

helj15798

New Member
May 13, 2021
8
0
1
36
Our server is assigned only one internal IP address by the university.
I used this IP address when installing Proxmox VE.
The server has access to the internet from the Proxmox VE shell.
However, the created virtual machine has no internet and no IP address.

What can I do?
Do I need to ask the university for more IP addresses and use one IP address for each VM?
Your help is really appreciated!
 
What can I do?
Do I need to ask the university for more IP addresses and use one IP address for each VM?
Usually you use one additional IP per guest. But you could create another private subnet and use a NAT setup, so you can create as much IPs as you want without asking your university first, as the university will just see the single IP they gave you, because everything else is hidden behind the NAT.
See paragraph "3.3.6. Masquerading (NAT) with iptables" in the documentation Matthias linked.
 
  • Like
Reactions: datschlatscher