network configurational for vm(kvm)

Ben_e

New Member
Oct 3, 2013
6
0
1
i can't configure lan for vm(proxmox kvm). i use this manual
http://wiki.hetzner.de/index.php/Proxmox_VE/en (Network configuration host system
KVM/Routed for single ip). When i install debian 7.1. minimal on vm - network
unreachable. After install i configure /etc/network/interfaces in vm and exec in
command line(vnc) command "service networking start". Command returns:
"rtnetlink answers file exists"
"failed to bring up eth0"

can you help me to solve this problem?

server ip:
83.126.157.44
Gateway: 83.126.157.33
Netmask: 255.255.255.224
Bradcast: 83.126.157.63

additional ip:
83.126.179.246
Gateway: 83.126.179.241
Netmask: 255.255.255.248
Bradcast: 83.126.179.247

host config:
Code:
### Hetzner Online AG - installimage
# Loopback device:
auto lo
iface lo inet loopback


# device: eth0
auto  eth0
iface eth0 inet static
  address   83.126.157.44
  broadcast 83.126.157.63
  netmask   255.255.255.224


  pointtopoint 83.126.157.33


  gateway   83.126.157.33


  # default route to access subnet
  up route add -net 83.126.157.32 netmask 255.255.255.224 gw 83.126.157.33 eth0




auto vmbr0
iface vmbr0 inet static
       address   83.126.157.44
       netmask   255.255.255.224
       bridge_ports none
       bridge_stp off
       bridge_fd 0
       up ip route add 83.126.179.246/32 dev vmbr0



guest config:
Code:
### Example for a single IP from a different subnet
# Loopback device:
auto lo
iface lo inet loopback
#
# device: eth0
auto  eth0
iface eth0 inet static
       address   83.126.179.246
       netmask   255.255.255.255
       pointopoint   83.126.157.44
       gateway   83.126.157.44
 

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!