Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 171570

Second public ip address

$
0
0
Hello,


My proxmox server is hosted, I have some public ip, as default eth0 is bridged to vmbr0.
All the CT and VM use a private ip. adress, the forward is done by iptables.


Now I need to use a second public ip (which I own) to host differents https websites.
All the www traffic is direct to a CT running nginx doing the forward to the different website/ct.
How to setup a new public ip address ?
Should I create a sub eth0 interface, eth0:1 ?
Or another vmbr with the new public ip address ?

cat /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback


iface eth0 inet manual


iface eth1 inet manual


auto vmbr0
iface vmbr0 inet static
address x.y.z.147
netmask 255.255.255.248
gateway x.y.z.145
bridge_ports eth0
bridge_stp off
bridge_fd 0


auto vmbr1
iface vmbr1 inet static
address 192.168.123.100
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0





pve-manager: 2.2-31 (pve-manager/2.2/e94e95e9)
running kernel: 2.6.32-14-pve
proxmox-ve-2.6.32: 2.2-82
pve-kernel-2.6.32-11-pve: 2.6.32-66
pve-kernel-2.6.32-16-pve: 2.6.32-82
pve-kernel-2.6.32-14-pve: 2.6.32-74
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-33
qemu-server: 2.0-69
pve-firmware: 1.0-21
libpve-common-perl: 1.0-39
libpve-access-control: 1.0-25
libpve-storage-perl: 2.0-36
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.2-7
ksm-control-daemon: 1.1-1


Thank you

Viewing all articles
Browse latest Browse all 171570

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>