No internet on ubunbtu installer

ninjiez

New Member
Feb 20, 2024
3
0
1
Hi,
I am trying to install ubuntu on my proxmox ve 8, but can't get internet on the installer
how should I go about this?

I am using bridged interface on vmbr0


This is the network configuration on my host


auto lo
iface lo inet loopback

iface enp193s0f0np0 inet manual

iface eno1 inet manual

iface eno2 inet manual

iface enp193s0f1np1 inet manual

auto vmbr0
iface vmbr0 inet static
address x.x.13.168/24
gateway x.x.13.1
bridge-ports enp193s0f0np0
bridge-stp off
bridge-fd 0
hwaddress 08:c0:eb:2f:f6:34
 
Hey,
how is your network around your server configured? From your censored address, I'll take it that it is exposed directly to the internet.

How many public IPs do you have at your disposal?
If you have a whole subnet, your easiest option is to just set a static IP for your guest, googling ubuntu installation static ip should give you some pointers on how to do that. If you only have one address, it's going to be a bit more difficult, since you would need some kind of NAT. Depending on your requirements, there are multiple ways to procede.
Do your VMs need to be accessible from the outside?
If you only have one IP and don't need your VMs to be reachable from the world, you can just follow this guide [0] to set up a SNAT that automatically distributes IPs to your VMs via DHCP. If you need your VMs to be reachable from the outside, you will need to define some iptables rules for port forwarding/DNAT.

[0] https://pve.proxmox.com/wiki/Setup_Simple_Zone_With_SNAT_and_DHCP