External IP to KVM Problem

Xenus

Member
Nov 25, 2010
4
0
21
Hi,
I have a dedicated server at leaseweb and I can't get networking on a win2008 KVM, I try to follow all the guides at the wiki, read a lot the forums but I have no clue about what I'm doing wrong.
May be I'm missing something.

The installation was made on a fresh Debian Lenny following the guide:
http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Lenny

My host configuration:

/etc/network/interfaces
Code:
iface eth0 inet manual
auto vmbr0
iface vmbr0 inet static
        address  XX.211.76.130
        netmask  255.255.255.192
        gateway  XX.211.76.190
        broadcast  XX.211.76.191
        network XX.211.76.128
        dns-nameservers 83.149.80.123
        dns-search localdomain
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
 
auto vmbr1
iface vmbr1 inet static
        address  XX.211.76.170
        netmask  255.255.255.192
        bridge_ports off
        bridge_stp off
        bridge_fd 0

uname-a
Code:
Linux bulk.xxx.com 2.6.32-4-pve #1 SMP Thu Oct 21 09:35:29 CEST 2010 x86_64 GNU/Linux

pveversion -v
Code:
pve-manager: 1.6-5 (pve-manager/1.6/5261)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.6-25
pve-kernel-2.6.32-4-pve: 2.6.32-25
qemu-server: 1.1-22
pve-firmware: 1.0-9
libpve-storage-perl: 1.0-14
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-8
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.5-2
ksm-control-daemon: 1.0-4

route -n
Code:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
XX.211.76.128   0.0.0.0         255.255.255.192 U     0      0        0 vmbr0
XX.211.76.128   0.0.0.0         255.255.255.192 U     0      0        0 vmbr1
0.0.0.0         XX.211.76.190   0.0.0.0         UG    0      0        0 vmbr0

I ask the datacenter support if they have some kind of limitation (like switches don't support virtual mac address or bridged configuration) and they said that they don't have any kind of limitation, I can use bridged networking and the mac address I want.

Already tried with rtl8139 and vitrio (with the updated drivers) with no luck.

I have configured the windows 2008 guest with the IP details of vmbr1, Am I forgetting something?

Thanks in advance.
 
Hi,
why you generate two network-bridges for the same network?
If i look right, for you is vmbr0 enough - your host has XX.211.76.130 and your VM should connected to vmbr0 and they can use XX.211.76.131,132....

You need vmbr1 for a seperate network (e.g. 10.10.10.0/24) - and then the host don't need an ip on the network..

Perhaps you have also the wrong nic-driver inside the VM. the windows e1000-driver is broken - so download the original from intel, create a cd-iso and mount this inside the VM. Installation and all should run.

Udo
 
Thanks Udo, It seems I had a misconception about how the connection works.

I updated the drivers and everything it's working great now.

Thanks for the help!
 
Thanks Udo, It seems I had a misconception about how the connection works.

I updated the drivers and everything it's working great now.

Thanks for the help!

Why don't you post your working config then?
Both host and guest, I am with leaseweb too and are struggling like crazy to get it working.

-M
 
It was an error on leaseweb network, they had assigned me the wrong subnet, it was belonging to the neighbour switch. Everything working great now :)
 

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!