Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:dedicated-server:operating-system:distribution-virtualisation:distribution-proxmox:distribution-proxmox-ve-3 [2016/06/24 11:17]
127.0.0.1 external edit
en:dedicated-server:operating-system:distribution-virtualisation:distribution-proxmox:distribution-proxmox-ve-3 [2016/12/07 10:58]
dedibox [Configuration with VENET (OpenVZ)]
Line 63: Line 63:
  
  
-===== Configuration Debian / Ubuntu ​===== +===== Network configuration ​===== 
  
-Editez le fichier **/​etc/​network/​interfaces** +You can find all information about the [[en:​dedicated-server:​network:​ip-failover:virtual-machine|configuration ​of a failover ​IP on virtual machine]] in our dedicated documentation
- +
-  auto eth0 +
-  iface eth0 inet static +
-      address ip-failover +
-      netmask 255.255.255.255 +
-      broadcast ip-failover +
-      post-up route add ip-principale-de-votre-serveur.1 dev eth0 +
-      post-up route add default gw ip-principale-de-votre-serveur.1 +
-      post-down route del ip-principale-de-votre-serveur.1 dev eth0 +
-      post-down route del default gw ip-principale-de-votre-serveur.1 +
- +
-Il faut ensuite éditer le fichier : +
-  /​etc/​resolv.conf +
-et renseigner nos serveurs ​[[fr:​dedicated-server:​network:​dedibox-network|cache DNS]] +
- +
-  nameserver 62.210.16.6 +
-  nameserver 62.210.16.7 +
- +
-Taper ensuite "​**ifup eth0**"​ pour activer le réseau de votre machine virtuelle. +
- +
-Votre serveur est configuré et votre première machine virtuelle est fonctionnelle. +
- +
-===== Configuration Redhat / CentOS =====  +
- +
-Edit the file **/​etc/​sysconfig/​network-scripts/​ifcfg-eth0** +
- +
-  DEVICE=eth0 +
-  BOOTPROTO=none +
-  ONBOOT=yes +
-  USERCTL=no +
-  IPV6INIT=no +
-  PEERDNS=yes +
-  TYPE=Ethernet +
-  NETMASK=255.255.255.255 +
-  IPADDR=ip-failover +
-  GATEWAY=ip-principale-de-votre-serveur.1 +
-  ARP=yes +
-  HWADDR=votre-mac-virtuelle +
- +
-Edit the file **/​etc/​sysconfig/​network-scripts/​route-eth0** +
- +
-  ip-principale-de-votre-serveur.1 dev eth0 +
-  default via ip-principale-de-votre-serveur.1 dev eth0 +
- +
- +
-Type after "​**ifup eth0**"​ to active the network ​of the Virtual machine. +
- +
-Your server is now configured and your virtual machine is ready. +
- +
-===== Windows Server ===== +
- +
-Si le host comme IP a.b.c.d, et la VM e.f.g.h, la passerelle a renseigner est a.b.c.1+
  
 ===== Configuration with VENET (OpenVZ) ===== ===== Configuration with VENET (OpenVZ) =====
Line 123: Line 71:
 The configuration in VENET mode can only be easier. The configuration in VENET mode can only be easier.
  
-In a first stepyou have to edit the file /​etc/​vz/​vz.conf as following (In SSH, directly on your Proxmox host) :+First stepyou have to edit the file /​etc/​vz/​vz.conf as following (In SSH, directly on your Proxmox host) :
 <​code>​NEIGHBOUR_DEVS=eth0</​code>​ <​code>​NEIGHBOUR_DEVS=eth0</​code>​
  
Line 133: Line 81:
 {{ :​fr:​dedicated-server:​operating-system:​distribution-virtualisation:​distribution-proxmox:​prox-venet-1.png |}} {{ :​fr:​dedicated-server:​operating-system:​distribution-virtualisation:​distribution-proxmox:​prox-venet-1.png |}}
  
-<note important>​Attention ​with this configuration it is required that your failover IP **DOES NOT HAVE** a virtual MAC</​note>​+<note important>​Careful, ​with this configuration it is required that your failover IP **DOES NOT HAVE** a virtual MAC</​note>​
  
 Finish now the creation of the container.\\ Finish now the creation of the container.\\
 The VM should now be fully accessible. The VM should now be fully accessible.