PROXMOX on Azure Help

Teo_80

New Member
Aug 5, 2019
5
0
1
68
Hello,



I have installed proxmox on premises and able to provision VM and provide networking with NAT.

KVM 10.03.4 (public) <--> NAT (192.168.0.0/24) <--> VM (192.168.0.100)

Like this and with port forwaring i am able to access vm.

What i need is one static ip per vm so my question is how i can apply different static ip to each vm?
Any thoughts?

Regards

Teo
 
Thanks for prompt reply. I have looked at it previously.

As epxlained my current setup is using NAT, since Azure allows only 2 physical Nics per instance

NIC 1 ---> 10.0.3.0/24 --> ETH 1 --> VMBR0 (NAT) --> VM (192.168.0.1 PRIVATE)
NIC 2 ---> 10.0.4.0/24 --> ETH 2 --> VMBR1 (NAT) --> (192.168.1.1 PRIVATE)

Like above everything works fine and all VM are getting public IP ( 10.0.3.0 - 10.0.4.0), which does not work since need one dedicated ip per VM for hosting purposes.

Thanks
 
I am a bit unsure why you think that the vmbr interfaces do NAT. Could you please show the content of your "/etc/network/interfaces" file? Redact the configured IP addresses or change them to something different.

Without additional settings the vmbr interfaces are like switches and not routers.

With the setup as you described it your VMs should actually be connected to the public network and if you give them a public IP it should work.

To have a real private network on your Proxmox server you would need to add a new bridge interface that has no "Bridge Port" configured.
 
Thank you for your reply.

I have just vm internal network configured at vmbr0 and not birdged with eth0
Azure as far as i see dont accpet bridge mode, if i try to bridge with eth0 host vm loses connectivity.

Keep in mind this is neseted virtualiztion setup.

Any suggestions?

Thanks
 
Thanks for your input. NAT works fine for one ipc. If i add secondary one not just does not work.

I can ping outside from host VM (proxmox) but not from nested vm. IPs are even in separate subnet and does not work. I really drives me crazy!!
 
please post your:
* `/etc/network/interfaces`
* ouput of: `ip a` , `ip r`
* `iptables-save`

also try pinging the host from a guest, and the hosts default gateway from a guest and post the output
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!