Bridging on Proxmox 3.0-020/0428106c

bimbo

Member
Jul 9, 2011
13
0
21
I just cant do a bridge connection on proxmox for a windows guest. I tried XP, 7 and 8. All work well on NAT but when I change to Bridge i loose network.

I done the same thin on proxmox 2.9 and it used to work.

Any ideas

Regards

David
 
Hello David

I just cant do a bridge connection on proxmox for a windows guest. I tried XP, 7 and 8. All work well on NAT but when I change to Bridge i loose network.

I done the same thin on proxmox 2.9 and it used to work.

Should work without any problems - but you must not forget of course to adapt the settings inside the VMs (e.g.: if there is no (external) DHCP server connected to the bridge you must assign the proper address directly in Windows).

If you post more details, making

Code:
grep "" /etc/pve/qemu-server/*
cat /etc/network/interfaces

in the host it would be easier to consider what is wrong.

Moreover PVE version 3.0 is outdated, we have already 3.4 - perform an upgrade (don´t forget to reboot afterwards)!

Kind regards

Mr.Holmes
 
hum

I get this output of grep "" /etc/pve/qemu-server/* gives : ( I whose

Code:
/etc/pve/qemu-server/304.conf:balloon: 24/etc/pve/qemu-server/304.conf:bootdisk: ide0
/etc/pve/qemu-server/304.conf:cores: 2
/etc/pve/qemu-server/304.conf:ide0: HDDBCK_backup:304/vm-304-disk-1.qcow2,format=qcow2,size=20G
/etc/pve/qemu-server/304.conf:ide2: HDDBCK_backup:iso/SW_DVD5_NTRL_Win8_64BIT_English_Win_Pro_X18-15875.ISO,media=cdrom,size=3497904K
/etc/pve/qemu-server/304.conf:memory: 2024
/etc/pve/qemu-server/304.conf:name: winserverServer
/etc/pve/qemu-server/304.conf:net0: e1000=0A:4A:56:E6:EC:C0,bridge=vmbr0
/etc/pve/qemu-server/304.conf:ostype: win8
/etc/pve/qemu-server/304.conf:sockets: 1

while the cat /etc/network/interfaces gives:

Code:
auto lo
iface lo inet loopback


iface eth0 inet manual


iface eth1 inet manual


auto vmbr0
iface vmbr0 inet static
        address  172.16.7.110
        netmask  255.255.255.0
        gateway  172.16.7.254
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

All works in NAT but never on briged.

Can I apply the update without Commercial Support Subscription?

Regards

David
 
Hello David,


Code:
/etc/pve/qemu-server/304.conf:balloon: 24/etc/pve/qemu-server/304.conf:bootdisk: ide0
/etc/pve/qemu-server/304.conf:cores: 2
/etc/pve/qemu-server/304.conf:ide0: HDDBCK_backup:304/vm-304-disk-1.qcow2,format=qcow2,size=20G
/etc/pve/qemu-server/304.conf:ide2: HDDBCK_backup:iso/SW_DVD5_NTRL_Win8_64BIT_English_Win_Pro_X18-15875.ISO,media=cdrom,size=3497904K
/etc/pve/qemu-server/304.conf:memory: 2024
/etc/pve/qemu-server/304.conf:name: winserverServer
/etc/pve/qemu-server/304.conf:net0: e1000=0A:4A:56:E6:EC:C0,bridge=vmbr0
/etc/pve/qemu-server/304.conf:ostype: win8
/etc/pve/qemu-server/304.conf:sockets: 1
shows that you have configured "bridged" now.

Does connection between host and VM work?

Code:
auto lo
iface lo inet loopback


iface eth0 inet manual


iface eth1 inet manual


auto vmbr0
iface vmbr0 inet static
        address  172.16.7.110
        netmask  255.255.255.0
        gateway  172.16.7.254
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0

shows that also your host is probably behind a NAT router.

It´s now the question: does this NAT router accept your VM? Does it provide an address to it via DHCP?

If the answer for both questions is "yes" it should work without any problems. But probably at least one "no" is the answer - clarify which one. If just DHCP is missed the solution is easy: assign an address manually within the VM, e.g. 172.16.7.111 (verify if it´s available, of course). If the VM is not accepted by the NAT router the latter has to be configured.

Can I apply the update without Commercial Support Subscription?

Yes, adapt the content of /etc/apt/sources.list.d/pve-enterprise.list as follows:

Code:
#deb https://enterprise.proxmox.com/debian wheezy pve-enterprise
deb http://download.proxmox.com/debian wheezy pve-no-subscription


Kind regards

Mr.Holmes
 
HI Mr Holmes



Does connection between host and VM work?
Code:
Yes no problem between VM ( openvz and KVM)


[quote="Mr.Holmes, post: 111503"] [COLOR=#3E3E3E]If just DHCP is missed the solution is easy: assign an address manually within the VM, e.g. 172.16.7.111[/COLOR][CODE]

Yes I did it...but nothing...



[quote="Mr.Holmes, post: 111503"]
[COLOR=#3E3E3E]Yes, adapt the content of /etc/apt/sources.list.d/pve-enterprise.list as follows:
[/COLOR]
#deb https://enterprise.proxmox.com/debian wheezy pve-enterprise
deb http://download.proxmox.com/debian wheezy pve-no-subscription
Thanks ...that's a neat way of doing it

I will go check the router..

Thanks for the help...this is a really great product.

Regards

David
 
Hi Mr HolmesI tried and old machine and has network access.I generated WIN8 WIN7, updated proxmox, use VIRTIO drivers always with the same result:In NAT I have one way network and Internet access once I change to bridge it looses network connection...Im driving mad I dont know what i did on the old KVM machines to work....the drivers are the same i dont get it. I even tried to use the same IP on new machines. I can ping the host but from the host I cant ping the guest....ThanksDavid
 
Last edited:

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!