Network configuration problem

M

mathious11

Guest
Hello, I'm french, so I'll try to speak in english!

I have a problem during proxmox installation.
I have one main IP and multiple IP Failover.
I want to use OpenVZ containers. Proxmox is installed on Debian Squeeze.

On my host I have this /etc/network/interfaces
# network interface settings
auto lo
iface lo inet loopback


auto eth0
iface eth0 inet static
address 95.130.9.X
netmask 255.255.255.255
broadcast 95.130.9.X
network 95.130.9.X
dns-nameservers 95.130.9.1
dns-search digicube.fr
up route add -host 95.130.9.1 dev eth0
up route add default gw 95.130.9.1


auto vmbr0
iface vmbr0 inet static
address IPFAILOVER
netmask 255.255.255.255
bridge_ports none
bridge_stp off
bridge_fd 0

on my first openVZ container I have :
#This configuration file is auto-generated.
#
#WARNING: Do not edit this file, your changes will be lost.
#Please create/edit /etc/network/interfaces.head and
#/etc/network/interfaces.tail instead, their contents will be
#inserted at the beginning and at the end of this file, respectively.
#
#NOTE: it is NOT guaranteed that the contents of/etc/network/interfaces.tail
#will be at the very end of this file.
#


#Auto generated lo interface
autolo
ifacelo inet loopback


#Auto generated venet0 interface
autovenet0
ifacevenet0 inet manual
up ifconfig venet0 up
up ifconfig venet0127.0.0.2
up route add defaultdev venet0
down route deldefault dev venet0
down ifconfig venet0down




ifacevenet0 inet6 manual
up route -A inet6 adddefault dev venet0
down route -A inet6del default dev venet0


autovenet0:0
ifacevenet0:0 inet static
address 95.130.14.114
netmask255.255.255.255


It doesn't function.
I tried this on my host :
[FONT=Helvetica, sans-serif]#network interface settings[/FONT]
[FONT=Helvetica, sans-serif]autolo[/FONT]
[FONT=Helvetica, sans-serif]ifacelo inet loopback[/FONT]


[FONT=Helvetica, sans-serif]autoeth0[/FONT]
[FONT=Helvetica, sans-serif]ifaceeth0 inet manual[/FONT]


[FONT=Helvetica, sans-serif]autovmbr0[/FONT]
[FONT=Helvetica, sans-serif]ifacevmbr0 inet static[/FONT]
[FONT=Helvetica, sans-serif]address 95.130.9.X[/FONT]
[FONT=Helvetica, sans-serif]netmask 255.255.255.255[/FONT]
[FONT=Helvetica, sans-serif]bridge_ports eth0[/FONT]
[FONT=Helvetica, sans-serif]bridge_stp off[/FONT]
[FONT=Helvetica, sans-serif]bridge_fd 0[/FONT]
[FONT=Helvetica, sans-serif]up route add -host95.130.9.1 dev vmbr0[/FONT]
[FONT=Helvetica, sans-serif]up route add defaultgw 95.130.9.1[/FONT]

but my host crashed at reboot. Can you help me please ??
:confused:
 

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!