Hi,
i'm newbie on proxmox virtualisation.
i installed proxmox 1.9 on a debian squeeze, and create two CTs to contain my two web servers.
the physical caracteristics of the host machine are:
1- 2 network cards (physical interfaces),
2- 2 hard disks (500Go each one),
3- 8Go of RAM,
i don't now how to configure my two network cards to be able to give public adresses to the VMs (CTs) to be viewed from outside.
i have two network cards: eth0 and eth1 on the host machine, so:
eth0 have a private ip adresse as 192.168.0.2,
and eth1 is linked to the to interfaces of my servers (CTs), so i dont now how to configure the bridge or bridges (because i don't now if i must use one or two) on this NI.
that's what i put in the /etc/network/interfaces host file:
and in the /etc/network/interfaces file of the first VM:
and the same on the second VM:
but it deosn't function, it shows me that eth1 is already a member of a bridge; can't enslave it to bridge vmbr1.
so, how can i configure the eth1 to link to the two VMs public interfaces?
Thanks
i'm newbie on proxmox virtualisation.
i installed proxmox 1.9 on a debian squeeze, and create two CTs to contain my two web servers.
the physical caracteristics of the host machine are:
1- 2 network cards (physical interfaces),
2- 2 hard disks (500Go each one),
3- 8Go of RAM,
i don't now how to configure my two network cards to be able to give public adresses to the VMs (CTs) to be viewed from outside.
i have two network cards: eth0 and eth1 on the host machine, so:
eth0 have a private ip adresse as 192.168.0.2,
and eth1 is linked to the to interfaces of my servers (CTs), so i dont now how to configure the bridge or bridges (because i don't now if i must use one or two) on this NI.
that's what i put in the /etc/network/interfaces host file:
Code:
# network interface settings
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.0.0
gateway 192.168.0.1
broadcast 192.168.0.255
network 192.168.0.0
dns-nameservers 192.168.0.1
dns-search mydomain.org
# dns-* options are implemented by the resolvconf package, if installed
auto eth1
iface eth1 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge_ports eth1
bridge_stp off
bridge_fd 0
auto vmbr1
iface vmbr1 inet manual
bridge_ports eth1
bridge_stp off
bridge_fd 0
Code:
auto lo
iface lo inet loopback
#auto eth1
#allow-hotplug eth1
#iface eth0 inet static
# address IPpublic1@
# netmask NetmaskPublic@
# network Network-Public@
# broadcast Broadcastpublic@
# gateway IPpublicgateway@
# # dns-* options are implemented by the resolvconf package, if installed
# dns-nameservers DNSIpPublic@
# dns-search mydomain.ory
Code:
auto lo
iface lo inet loopback
#auto eth1
#allow-hotplug eth1
#iface eth1 inet static
# address IPpublic2@
# netmask NetmaskPublic@
# network Network-Public@
# broadcast Broadcastpublic@
# gateway IPpublicgateway@
# # dns-* options are implemented by the resolvconf package, if installed
# dns-nameservers DNSIpPublic@
# dns-search mydomain.ory
so, how can i configure the eth1 to link to the two VMs public interfaces?
Thanks