Add second subnet to Proxmox.

Sekhmet

New Member
Apr 15, 2015
6
0
1
Hello. I solved one problem and now I have got another one. Becasue my provider added 32 IP's instead of 64, I received 32IP's at first and 32 later on. The first ones work perfectly, but the second batch are from different network and I am having troubles to assign those IP's to my Proxmox root server and use them for OpenVZ containers.
I've edited interfaces like this.
Code:
auto loiface lo inet loopback


auto vmbr0
iface vmbr0 inet static
    address 162.213.31.137
    netmask 255.255.255.0
    gateway 162.213.31.1
    bridge_ports eth0
    bridge_stp off
    bridge_fd 0


auto eth0:1
iface eth0:1 inet static
    address 199.168.137.2
    netmask 255.255.255.0
    gateway 199.168.137.1

Where erh0:1 is created by me. I have no idea how to set up this correctly. For raw ubuntu it should work I guess, but now after reboot I still can't connect to my root with the new IP.

Thanks for help.
 

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!