Proxmox VE Installation for newbies

  • Thread starter Thread starter proxmoxnoob
  • Start date Start date
P

proxmoxnoob

Guest
Hello,

I know this might seem rediculous for most people here, I have been trying to get proxmox to run for a week now and its going in the right direction, but what I'm missing is a good guide for beginners (yes, non fail noob guide) lol

I have searched the web, followed guides on pve.proxmox.com, saw videos etc etc, searched google up and down for various information about proxmox setups

One of the first issues, is during installation you have to choose FQDN, IP, ETC, since default it shows you local IPs here, then what you do? type in just FQDN and leave the rest for then to configure the eth0, eth1 etc later in the interfaces file?

Ok, i figured it out, and typed in my WAN (public ip) with it's subnet, gateway, and dns and I typed in a full qualified domain name which is associated with the public IP (WAN IP)

But then in /etc/interfaces it created something like this

auto eth0
iface eth0 inet manual

auto vmbr0
iface vmbr0 inet static
address WAN IP
netmask SUBNET of WAN IP
gateway GATEWAY which I put in during installation

This somehow doesnt make sense to me, because I would have expected eth0 to be static configured during the installation process and the vmbr to have the local IP

I installed a KVM Full VPS Windows 2008 R2 in bridged mode
When you login on the windows box and check its IP, its 10.0.2.15 (a local IP)

I'm missing non-fail noob guide to assign public IP addresses to VPS's openvz/and kvms
together with

how to configure the interfaces file correctly for making this work, and do I need to change anything on the KVM's linux or windows?

Most important for myself right now, is how to correctly configure proxmox host to assign public IPs to KVMs and making this work.

That was alot of noob talk, hope someone can see the meaning in this and can help out...

thank you
 
Hi,
it depends on your network...
If you have two networks - internal and external (with some public IPs), then you can use vmbr0 (with eth0) for your internal network and create vmbr1 (bridged to eth1) for you external network.
Proxmox don't need an IP on vmbr1. If you select for a kvm-guest the vmbr1-bridge, you can assign a free public ip of your range to the guest (inside the guest-os).
Is this the configuration do you want?

Udo
 
  • Like
Reactions: link14
Hi,
it depends on your network...
If you have two networks - internal and external (with some public IPs), then you can use vmbr0 (with eth0) for your internal network and create vmbr1 (bridged to eth1) for you external network.
Proxmox don't need an IP on vmbr1. If you select for a kvm-guest the vmbr1-bridge, you can assign a free public ip of your range to the guest (inside the guest-os).
Is this the configuration do you want?

Udo

I have a dedicated server, where i booted up with the proxmox ISO 1.6 (latest version)
It installs and puts debian on it

Then during networking configuration I put in my servers hostname, public WAN IP, Subnet, Gateway and DNS (all NOT local IPs, as opposed to many guides lol)

After I'm done, i login to the webui and I see it has created a Eth0 with no IP or anything, and a vmbr0 with all the info I typed in during installation

Ok, it works and I can connect.....

So now I want to install a openvz vps and a KVM vpz
I get a hold of some ISO's which i put in /var/lib/vz/template/iso (i believe)
I login again and see they are there

I also want to use the templates already there for ubuntu, debian etc

What should I do from here, if I want to put up some dedicated VPS, do they have to be full KVMs?

Lets say I dont have to give them all public IPs (as host only have one) so I want to use my hosts IP and share with public (WAN) IP with the VPS

Also, lets say I purchase some IPs and then want to create "dedicated" VPS

So for the networking to work, what should I do and make sure to do during installation of the VPS's both openvz and KVM?

as I mentioned I have also a eth1 which isnt being used

Should I change anything in the interfaces file on the host (etc/network/interfaces)

Also I have another 1tb harddrive which I want to use, but it isnt showing up in proxmox webui.

Thank you Udo!
 
I want to add this... Using bridged mode with a KVM and setting manually IP addresses etc on the vps, but then I want to host a website and use other default ports for services like ftp http and https, how is this possible when the host is also serving these services? because the vmbr0 is bridged with eth0 which is being used on same box..

I still want someone (or Udo) to help with last thread i posted, thanks

Besides this is an awesome program and creating VPS's is uberly fast (would have liked the RED arrows to be more visible (maybe with a small text beside them, so you would know you can click them)
 
Hi,
if you have only one official ip and you would reach VMs from outside, you need port-redirection.

Like
port 81 official ip -> vm1 internal ip port 80
port 82 official ip -> vm2 internal ip port 80

With traffic from outside, you can't split one port. From inside traffic you can use nat.

for port-redirection you can use iptables - if you are not firm with that, look at the firewall-builder - a gui for firewalls. http://www.fwbuilder.org

Udo
 
"Hi,
it depends on your network...
If you have two networks - internal and external (with some public IPs), then you can use vmbr0 (with eth0) for your internal network and create vmbr1 (bridged to eth1) for you external network.
Proxmox don't need an IP on vmbr1. If you select for a kvm-guest the vmbr1-bridge, you can assign a free public ip of your range to the guest (inside the guest-os).
Is this the configuration do you want?"

Acctually by default after installation (as im doing this remotely, with a dedicated server) the configuration I'm having is opposite to that

So after installation of proxmox I have eth0 (no info) and vmbr0 with all the networking info I typed in during installation WAN IP, its subnet, gateway, dns, FQDN.

So I guess I would need to change this somehow in interfaces file and then add vmbr1 to eth1 (since eth1 can only be used locally in my case) and create a DHCP server or maybe VLAN which will be used for the openvz and KVM VPS's.

So my interfaces file should be looking something like this

auto lo
iface lo inet loopback

auto vmbr0
iface vmbr0 inet static
address PUBLIC IP PROXMOX HOST
netmask 255.255.255.192
gateway GW_IP
bridge_ports eth0
bridge_stp off
bridge_fd 0

auto vmbr1
iface vmbr1 inet static
address 10.0.10.1
netmask 255.255.255.0
gateway 10.0.10.1
bridge_ports eth1
bridge_stp off
bridge_fd 0

Port redirection, would this mean that clients trying to access a webserver on a openvz/KVM will have to type like this http://serverip:88 (example port 88) and then proxmox host redirects this to openvz/kvm webserver?