Network configuration for KVM & OpenVZ Hetzner

Retcher

Renowned Member
Apr 29, 2012
1
0
66
Rethen, Germany
Hello,

at the moment I'm running Proxmox 2.1 on Debian 6 based on my Hetzner root. I setup up succesfully OpenVZ and networking works fine. Now I've to install a KVM based vm. How do I've to change my network settings?

Here are my settings at the moment:

Code:
[COLOR=#000000]auto eth0[/COLOR]
iface eth0 inet static
 address xxx.xxx.xxx.xxx (Main-IP)
 broadcast xxx.xxx.xxx.xxx netmask 255.255.255.192
 pointtopoint xxx.xxx.xxx.xxx (Gateway-IP)
 gateway xxx.xxx.xxx.xxx

up route add -net xxx.xxx.xxx.xxx (Netz-Adresse) netmask xxx.xxx.xxx.xxx gw xxx.xxx.xxx.xxx (Gateway-IP) eth0

auto vmbr0
iface vmbr0 inet static
 address xxx.xxx.xxx.xxx (Main-IP)
 broadcast xxx.xxx.xxx.xxx
 netmask 255.255.255.255
 bridge_ports none
 bridge_stp off
 [COLOR=#000000]bridge_fd 0[/COLOR]

Kind regards

Retcher