Proxmox add 2nd IP to node itself

economist

New Member
Apr 2, 2018
9
0
1
37
Hi,

I currently use Proxmox on one of our servers and I would like to announce a custom /24 to be used on VMs on Proxmox node.

Currently i have the following /etc/network/interfaces

iface eth1 inet manual
iface eth0 inet manual
auto vmbr0
iface vmbr0 inet static
address 1.1.1.5
gateway 1.1.1.1
netmask 255.255.255.0
bridge_ports eth1
bridge_stp off
bridge_fd 0



1.1.1.5 is public Proxmox Node IP and it is working fine.

I have a BGP session running on Proxmox Node that announces 2.2.2.0/24 and it is working fine.

Now I would need to bind 2.2.2.1 to Proxmox Node so that address can be used as gateway for 2.2.2.5 that will be bonded to different VM on the same Proxmox node.

I tried to add the following to /etc/network/interfaces

auto vmbr0:0
iface vmbr0:0 inet static
address 2.2.2.1
netmask 255.255.255.0



and then add 2.2.2.5 with 2.2.2.1 GW to Proxmox VM. It works well within internal network, however, there is no outside connectivity from some reason.

any idea what I am missing ?

the main issue here is adding 2nd public IP to Proxmox node that work / ping from outside
 

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!