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 ?