Public IP - VM

Cyt

New Member
Apr 29, 2013
6
0
1
Hello all,

I want to know the differents solutions for configure any VM with public IP.

I know this solution :
Code:
auto eth0
iface eth0 inet static
        address <pub>
        netmask 255.255.255.0
        network <pub>
        broadcast <pub>
        gateway <pub>

auto vmbr0
iface vmbr0 inet manual
        address <pub>
        netmask 255.255.255.0
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

And I configure an other public IP in the VM.

But I "lost" one public IP.

I would configure directly an public IP for a VM without lost one public IP in vmbr bridge.

Nota: The NAT solution is not possible in my infrastructure principes.

It's possible ?

Thanks
 
Hello all,

I want to know the differents solutions for configure any VM with public IP.

I know this solution :
Code:
auto eth0
iface eth0 inet static
        address <pub>
        netmask 255.255.255.0
        network <pub>
        broadcast <pub>
        gateway <pub>

auto vmbr0
iface vmbr0 inet manual
        address <pub>
        netmask 255.255.255.0
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

And I configure an other public IP in the VM.

But I "lost" one public IP.

I would configure directly an public IP for a VM without lost one public IP in vmbr bridge.

Nota: The NAT solution is not possible in my infrastructure principes.

It's possible ?

Thanks

What do you mean ? :confused: One WAN IP address ? For the host and the VM with using a extra IP WAN ? But not using NAT ?
That impossible dude ... :D Why cant you use NAT ?
 

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!